/* =========================================
   1WIN ЗЕРКАЛО — Design Tokens
   Цветовая схема: Красно-чёрная как у 1win
   ========================================= */

:root {
  /* Типографика */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Шрифты */
  --font-display: 'Cabinet Grotesk', 'General Sans', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* 1win палитра — тёмная */
  --color-bg:              #0e0e0e;
  --color-surface:         #161616;
  --color-surface-2:       #1e1e1e;
  --color-surface-offset:  #222222;
  --color-divider:         #2a2a2a;
  --color-border:          #333333;

  /* Текст */
  --color-text:            #ffffff;
  --color-text-muted:      #aaaaaa;
  --color-text-faint:      #666666;
  --color-text-inverse:    #0e0e0e;

  /* Главный акцент — красный 1win */
  --color-primary:         #e60012;
  --color-primary-hover:   #c7001a;
  --color-primary-active:  #a50016;
  --color-primary-glow:    rgba(230, 0, 18, 0.25);

  /* Зелёный — для CTA кнопок (как на 1win) */
  --color-cta:             #25c66a;
  --color-cta-hover:       #1aab58;
  --color-cta-active:      #148c47;

  /* Золото — для бонусов */
  --color-gold:            #f5a623;
  --color-gold-hover:      #e09410;

  /* Радиусы */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Тени */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-red: 0 0 24px rgba(230, 0, 18, 0.3);

  /* Отступы */
  --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: 960px;
  --content-wide:    1200px;

  /* Анимации */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============= LAYOUT ============= */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-8));
}

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

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

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

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

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

.btn-cta {
  background: var(--color-cta);
  color: #fff;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
}
.btn-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 198, 106, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* ============= HERO ============= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: linear-gradient(135deg, #0e0e0e 0%, #1a0408 50%, #0e0e0e 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(230, 0, 18, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(230, 0, 18, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(230, 0, 18, 0.15);
  border: 1px solid rgba(230, 0, 18, 0.3);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.mirror-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(37, 198, 106, 0.1);
  border: 1px solid rgba(37, 198, 106, 0.3);
  color: var(--color-cta);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
}

.mirror-status .dot {
  width: 6px;
  height: 6px;
  background: var(--color-cta);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.mirror-url {
  font-family: monospace;
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  word-break: break-all;
}

.mirror-url .url-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  word-break: break-all;
}

.copy-btn {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.copy-btn:hover {
  color: var(--color-text);
  background: var(--color-border);
}

/* ============= SECTIONS ============= */
section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
}

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

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

/* ============= CARDS ============= */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(230, 0, 18, 0.4);
  box-shadow: var(--shadow-md);
}

/* ============= MIRROR TABLE ============= */
.mirrors-grid {
  display: grid;
  gap: var(--space-3);
}

.mirror-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-4);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  transition: border-color var(--transition);
}

.mirror-row:hover {
  border-color: rgba(37, 198, 106, 0.4);
}

.mirror-domain {
  font-family: monospace;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
}

.mirror-ping {
  font-size: var(--text-xs);
  color: var(--color-cta);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
}

.status-badge.online {
  background: rgba(37, 198, 106, 0.1);
  color: var(--color-cta);
  border: 1px solid rgba(37, 198, 106, 0.25);
}

.status-badge.online::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-cta);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ============= BONUS CARDS ============= */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.bonus-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--color-primary));
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 0, 18, 0.3);
}

.bonus-card.featured {
  border-color: rgba(230, 0, 18, 0.5);
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.08), var(--color-surface));
}

.bonus-icon {
  width: 48px;
  height: 48px;
  background: var(--card-accent, var(--color-primary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.bonus-amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.bonus-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.bonus-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-5);
}

/* ============= STEPS ============= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.step {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  color: #fff;
  margin: 0 auto var(--space-4);
}

.step-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============= FAQ ============= */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  user-select: none;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-surface-2);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition);
}

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

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

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

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============= SEO KEYWORDS BLOCK ============= */
.seo-block {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-12);
}

.seo-block h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.seo-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.seo-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============= REVIEWS ============= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.review-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.review-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: 2px;
}

.review-stars {
  color: var(--color-gold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.review-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============= LIVE CHAT ============= */
#chat-widget {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
}

#chat-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 1.3rem;
  position: relative;
}

#chat-toggle .badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--color-cta);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

#chat-box {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  height: 420px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  display: none;
}

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

.chat-header {
  background: var(--color-primary);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.chat-header h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}

.chat-online {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.8);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chat-msg {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

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

.chat-msg .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--color-text);
}

.chat-bubble {
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-3);
  max-width: 220px;
}

.chat-msg.own .chat-bubble {
  background: var(--color-primary);
  color: #fff;
}

.chat-bubble-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

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

.chat-bubble-text {
  font-size: var(--text-xs);
  color: var(--color-text);
  line-height: 1.4;
}

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

.chat-input-row {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  border-top: 1px solid var(--color-divider);
}

.chat-input-row input {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text);
  outline: none;
}

.chat-input-row input:focus {
  border-color: var(--color-primary);
}

.chat-input-row button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  font-size: var(--text-xs);
}

/* ============= FOOTER ============= */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 32ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-primary);
}

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

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: none;
}

.footer-bottom a {
  color: var(--color-text-faint);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ============= DISCLAIMER ============= */
.disclaimer {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-6);
}

/* ============= NOTIFICATION (TG BOT) ============= */
#tg-notif {
  position: fixed;
  top: 80px;
  right: var(--space-6);
  z-index: 998;
}

#tg-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  animation: wobble 3s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}

@keyframes wobble {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-10deg); }
  30% { transform: rotate(8deg); }
  45% { transform: rotate(-5deg); }
  60% { transform: rotate(3deg); }
  75% { transform: rotate(-2deg); }
}

#tg-panel {
  position: absolute;
  top: 0;
  right: 48px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  display: none;
}

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

#tg-panel p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  max-width: none;
}

#tg-panel a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #0088cc;
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
}

/* ============= MOBILE MENU ============= */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

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

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .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-stats { flex-wrap: wrap; gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr; }
  #chat-box { width: 290px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-cta { text-align: center; }
}

/* ============= SHARE POPUP ANIMATION ============= */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============= CANVAS BACKGROUND ============= */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
}
