/* =========================================
   Global redesign — premium dark / glass UI
   Applies to all site pages without changing structure
   ========================================= */

:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.2vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.02rem + 0.5vw, 1.4rem);
  --text-xl:   clamp(1.6rem,   1.2rem  + 1vw,   2.25rem);
  --text-2xl:  clamp(2.4rem,   1.3rem  + 2.8vw, 4.5rem);
  --text-3xl:  clamp(3rem,     1.6rem  + 4vw,   5.6rem);

  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  --color-bg:             #07111f;
  --color-surface:        rgba(12, 24, 40, 0.86);
  --color-surface-2:      rgba(16, 31, 52, 0.92);
  --color-surface-offset: rgba(23, 41, 66, 0.96);
  --color-elevated:       rgba(13, 27, 46, 0.92);
  --color-divider:        rgba(255, 255, 255, 0.08);
  --color-border:         rgba(255, 255, 255, 0.12);

  --color-text:           #f7fbff;
  --color-text-muted:     rgba(226, 236, 248, 0.76);
  --color-text-faint:     rgba(193, 210, 231, 0.54);
  --color-text-inverse:   #08111d;

  --color-primary:        #ff5f6d;
  --color-primary-hover:  #ff4b61;
  --color-primary-active: #f33856;
  --color-primary-glow:   rgba(255, 95, 109, 0.24);
  --color-cta:            #41d49a;
  --color-cta-hover:      #2fc388;
  --color-cta-active:     #1daa73;
  --color-gold:           #ffc95e;
  --color-gold-hover:     #f2b73d;
  --color-info:           #79b8ff;

  --gradient-page:
    radial-gradient(circle at top left, rgba(73, 163, 255, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 95, 109, 0.16), transparent 28%),
    radial-gradient(circle at bottom center, rgba(65, 212, 154, 0.11), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #091726 42%, #07111f 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  --gradient-hero: radial-gradient(circle at 15% 20%, rgba(121, 184, 255, 0.18), transparent 30%), radial-gradient(circle at 85% 18%, rgba(255, 95, 109, 0.22), transparent 28%), linear-gradient(135deg, rgba(9, 19, 34, 0.96), rgba(7, 17, 31, 0.92));
  --gradient-button: linear-gradient(135deg, var(--color-cta), #53e8af);
  --gradient-outline: linear-gradient(135deg, rgba(121, 184, 255, 0.12), rgba(255, 95, 109, 0.12));

  --radius-sm: 0.55rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.2rem;
  --radius-xl: 1.6rem;
  --radius-full: 9999px;

  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.3);
  --shadow-red: 0 18px 45px rgba(255, 95, 109, 0.24);
  --shadow-green: 0 18px 42px rgba(65, 212, 154, 0.24);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --content-narrow: 640px;
  --content-default: 1024px;
  --content-wide: 1240px;

  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background: var(--gradient-page);
  color: var(--color-text);
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(60px);
  opacity: 0.22;
}

body::before {
  top: -10rem;
  right: -6rem;
  background: rgba(255, 95, 109, 0.42);
}

body::after {
  left: -9rem;
  bottom: -10rem;
  background: rgba(121, 184, 255, 0.34);
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 2vw + 0.6rem, 2.4rem);
}

main,
section,
.site-footer {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.95rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  transform: translateZ(0);
}

.site-logo svg {
  filter: drop-shadow(0 12px 26px rgba(255, 95, 109, 0.15));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.75rem);
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.02);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.25rem;
}

.site-nav a:hover {
  color: var(--color-text);
}

.site-nav a.active {
  color: var(--color-text);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-info), var(--color-primary));
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 0.85rem 1.45rem;
  border-radius: 1rem;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #ff7b7e);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), #ff7276);
}

.btn-cta {
  background: var(--gradient-button);
  color: var(--color-text-inverse);
  padding: 1rem 1.7rem;
  border-radius: 1.1rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.08rem);
  box-shadow: var(--shadow-green);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--color-cta-hover), #61f5bc);
}

.btn-outline {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--gradient-outline);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.btn-outline:hover {
  border-color: rgba(121, 184, 255, 0.34);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  color: var(--color-text);
}

.hero {
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--gradient-hero);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.hero::before {
  width: 18rem;
  height: 18rem;
  top: 3rem;
  right: 8%;
  background: radial-gradient(circle, rgba(255, 95, 109, 0.22), transparent 70%);
}

.hero::after {
  width: 22rem;
  height: 22rem;
  left: -4rem;
  bottom: -7rem;
  background: radial-gradient(circle, rgba(121, 184, 255, 0.2), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  margin-bottom: 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(121, 184, 255, 0.2);
  background: rgba(121, 184, 255, 0.08);
  color: #bee0ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-badge .dot,
.status-badge.online::before,
.mirror-status .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-cta);
  box-shadow: 0 0 0 0 rgba(65, 212, 154, 0.45);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(65, 212, 154, 0.45);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(65, 212, 154, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(65, 212, 154, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 1.35rem;
  max-width: 11ch;
}

.hero-title span {
  background: linear-gradient(135deg, #9fd2ff 0%, #ffffff 35%, #ff9ca6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: 1.9rem;
  max-width: 58ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.stat {
  position: relative;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 70%);
  pointer-events: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.55rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: 0.45rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card,
.card,
.step,
.bonus-card,
.review-card,
.faq-item,
.mirror-row,
.seo-block,
#chat-box,
#tg-panel,
#share-popup > div {
  background: linear-gradient(180deg, rgba(17, 31, 49, 0.96), rgba(11, 22, 38, 0.96));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
}

.hero-card {
  width: 100%;
  max-width: 400px;
  border-radius: 1.75rem;
  padding: 1.45rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.card::before,
.bonus-card::after,
.step::after,
.review-card::after,
.faq-item::after,
.mirror-row::after,
.seo-block::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mirror-status,
.status-badge.online {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  padding: 0.45rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(65, 212, 154, 0.1);
  color: #aaf0ce;
  border: 1px solid rgba(65, 212, 154, 0.2);
}

.mirror-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  word-break: break-all;
}

.mirror-url .url-text,
.mirror-ping,
#update-time {
  color: var(--color-text-muted) !important;
}

.copy-btn,
#promo-copy-btn,
#share-copy-btn,
.chat-input-row button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.9rem !important;
  padding: 0.6rem 0.9rem !important;
  color: var(--color-text) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  flex-shrink: 0;
}

.copy-btn:hover,
#promo-copy-btn:hover,
#share-copy-btn:hover,
.chat-input-row button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-1px);
}

section {
  padding-block: clamp(4rem, 7vw, 5.6rem);
}

section:nth-of-type(even):not(.hero) {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.section-header {
  text-align: center;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 95, 109, 0.08);
  border: 1px solid rgba(255, 95, 109, 0.16);
  color: #ffb7be;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-inline: auto;
}

.card {
  position: relative;
  border-radius: 1.4rem;
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover,
.step:hover,
.bonus-card:hover,
.review-card:hover,
.mirror-row:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 184, 255, 0.22);
  box-shadow: var(--shadow-lg);
}

.mirrors-grid,
.faq-list {
  display: grid;
  gap: 0.95rem;
}

.mirror-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  border-radius: 1.3rem;
  padding: 1rem 1.15rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.mirror-domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.96rem;
  color: var(--color-text);
  font-weight: 700;
}

.bonus-grid,
.reviews-grid,
.steps-grid {
  display: grid;
  gap: 1.2rem;
}

.bonus-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bonus-card,
.step,
.review-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.45rem;
  padding: 1.45rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.bonus-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, var(--color-primary)), rgba(255,255,255,0));
}

.bonus-card.featured {
  border-color: rgba(255, 201, 94, 0.28);
  background: linear-gradient(180deg, rgba(255, 95, 109, 0.14), rgba(11, 22, 38, 0.98));
}

.bonus-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--card-accent, var(--color-primary)), rgba(255,255,255,0.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 14px 30px rgba(255, 95, 109, 0.18);
}

.bonus-amount {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 0.9vw, 2.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.bonus-name,
.step-title {
  font-size: 1.03rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.bonus-desc,
.step-desc,
.review-text,
.faq-answer-inner,
.footer-brand p,
.footer-col ul a,
.disclaimer,
#tg-panel p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.step {
  text-align: left;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  display: grid;
  place-items: center;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #ff8b7e);
  box-shadow: var(--shadow-red);
}

.faq-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  user-select: none;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.035);
}

.faq-icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: var(--color-info);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 340ms ease;
}

.faq-item.open .faq-answer {
  max-height: 420px;
}

.faq-answer-inner {
  padding: 0 1.3rem 1.2rem;
  font-size: var(--text-sm);
}

.seo-block {
  position: relative;
  border-radius: 1.45rem;
  padding: 1.5rem;
  margin-top: 2.2rem;
}

.seo-block h3 {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--color-text-faint);
  text-decoration: none;
}

.seo-tag:hover {
  border-color: rgba(121, 184, 255, 0.25);
  color: var(--color-text);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #ff9076);
  box-shadow: var(--shadow-red);
  flex-shrink: 0;
}

.review-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.review-meta {
  font-size: 0.76rem;
  color: var(--color-text-faint);
  margin-top: 0.12rem;
}

.review-stars {
  color: var(--color-gold);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

#chat-widget {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 999;
}

#chat-toggle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.22rem;
  background: linear-gradient(135deg, var(--color-primary), #ff7c77);
  box-shadow: var(--shadow-red);
  position: relative;
}

#chat-toggle .badge {
  position: absolute;
  top: -0.1rem;
  right: -0.1rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding-inline: 0.28rem;
  border-radius: var(--radius-full);
  background: var(--gradient-button);
  color: var(--color-text-inverse);
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-box {
  position: absolute;
  right: 0;
  bottom: 4.25rem;
  width: 320px;
  height: 430px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
}

#chat-box.open {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, rgba(255, 95, 109, 0.95), rgba(121, 184, 255, 0.72));
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-header h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.chat-online {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-msg {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.chat-msg.own {
  flex-direction: row-reverse;
}

.chat-msg .avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-text);
  flex-shrink: 0;
}

.chat-bubble {
  max-width: 220px;
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

.chat-msg.own .chat-bubble {
  background: linear-gradient(135deg, rgba(255, 95, 109, 0.86), rgba(121, 184, 255, 0.7));
}

.chat-bubble-name {
  font-size: 0.63rem;
  font-weight: 800;
  color: #a8d4ff;
  margin-bottom: 0.18rem;
}

.chat-msg.own .chat-bubble-name {
  color: rgba(255,255,255,0.82);
}

.chat-bubble-text {
  font-size: 0.79rem;
  color: var(--color-text);
  line-height: 1.45;
}

.chat-msg.own .chat-bubble-text {
  color: #fff;
}

.chat-input-row {
  display: flex;
  gap: 0.55rem;
  padding: 0.9rem;
  border-top: 1px solid var(--color-divider);
}

.chat-input-row input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.95rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  color: var(--color-text);
  outline: none;
}

.chat-input-row input:focus {
  border-color: rgba(121, 184, 255, 0.32);
  box-shadow: 0 0 0 4px rgba(121, 184, 255, 0.08);
}

.site-footer {
  background: linear-gradient(180deg, rgba(8, 17, 29, 0.88), rgba(6, 13, 23, 0.96));
  border-top: 1px solid var(--color-divider);
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  text-decoration: none;
}

.footer-col ul a:hover,
.footer-bottom a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--color-divider);
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  text-decoration: none;
}

.disclaimer {
  background: rgba(255, 201, 94, 0.08);
  border: 1px solid rgba(255, 201, 94, 0.16);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  font-size: 0.8rem;
  margin-top: 1.2rem;
}

#tg-notif {
  position: fixed;
  top: 5.6rem;
  right: 1.2rem;
  z-index: 998;
}

#tg-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, #55a8ff, #1f7fff);
  box-shadow: 0 14px 32px rgba(31, 127, 255, 0.24);
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-9deg); }
  30% { transform: rotate(7deg); }
  45% { transform: rotate(-4deg); }
  60% { transform: rotate(2deg); }
}

#tg-panel {
  position: absolute;
  top: 0;
  right: 3.4rem;
  min-width: 240px;
  padding: 1rem;
  border-radius: 1.2rem;
  display: none;
}

#tg-panel.open {
  display: block;
}

#tg-panel a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #31a6ff, #1880f0);
  color: #fff;
  border-radius: 0.95rem;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  width: 1.6rem;
  background: none;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: all var(--transition);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: screen;
}

#share-popup {
  max-width: 340px !important;
}

#share-popup > div {
  border-radius: 1.4rem !important;
  position: relative;
  overflow: hidden;
}

#share-popup p,
#share-popup span,
#share-popup a {
  color: var(--color-text) !important;
}

#promo-code-text {
  color: #fff !important;
  letter-spacing: 0.24em !important;
  text-shadow: 0 0 24px rgba(255,255,255,0.12);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-nav {
    gap: 0.85rem;
    padding-inline: 0.7rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mirror-row {
    grid-template-columns: 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .hero {
    padding-block: 3.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    max-width: none;
  }

  .hero-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mirror-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  #tg-notif {
    top: auto;
    bottom: 5.8rem;
    right: 1rem;
  }

  #tg-panel {
    right: 0;
    top: auto;
    bottom: 3.3rem;
  }

  #chat-widget {
    right: 1rem;
    bottom: 1rem;
  }

  #chat-box {
    width: min(320px, calc(100vw - 2rem));
    right: 0;
  }

  #share-popup {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
  }
}
