/* === FUGU Casino — Global Styles v2 === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Unbounded:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0d1f3c;
  --bg-card: #112240;
  --bg-card-hover: #1a3158;
  --accent-gold: #f5a623;
  --accent-gold-light: #ffd56b;
  --accent-teal: #00d4aa;
  --accent-blue: #0ea5e9;
  --accent-purple: #8b5cf6;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255,255,255,0.08);
  --gradient-cta: linear-gradient(135deg, #f5a623 0%, #ff8c00 100%);
  --gradient-blue: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(245,166,35,0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--accent-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-gold-light); }

/* === CANVAS BG === */
#bg-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.page-content { position: relative; z-index: 1; }

/* === WINS TICKER === */
.wins-ticker {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
  background: rgba(10,22,40,0.95);
  border-bottom: 1px solid var(--border-color);
  height: 36px;
  overflow: hidden;
}
.wins-ticker-track {
  display: flex;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
  height: 36px;
  align-items: center;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.win-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 12px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-color);
  height: 36px;
  flex-shrink: 0;
}
.win-item .amount {
  color: var(--accent-teal);
  font-weight: 700;
}
.win-item .game { color: var(--accent-gold); }

/* === HEADER === */
.header {
  position: fixed; top: 36px; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 28px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: 22px;
  color: var(--text-primary); text-transform: lowercase;
}
.logo svg { width: 36px; height: 36px; }
.nav { display: flex; gap: 2px; }
.nav a {
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: var(--transition);
}
.nav a:hover, .nav a.active { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.header-right { display: flex; align-items: center; gap: 10px; }
.online-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-secondary);
  background: rgba(0,212,170,0.08);
  padding: 6px 12px; border-radius: 20px;
  border: 1px solid rgba(0,212,170,0.15);
}
.online-dot {
  width: 6px; height: 6px; background: var(--accent-teal);
  border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.4); }
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-cta); color: #000;
  font-weight: 700; font-size: 14px;
  padding: 10px 24px; border-radius: 8px;
  border: none; cursor: pointer; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,166,35,0.4); color: #000; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); color: var(--text-primary);
  font-weight: 600; font-size: 14px;
  padding: 10px 24px; border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: var(--text-primary); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-blue); color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 10px 24px; border-radius: 8px;
  border: none; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(14,165,233,0.4); color: #fff; }

/* === HERO (2 columns) === */
.hero {
  padding: 130px 24px 50px;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center;
}
.hero-left {}
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
}
.hero-pill.green { background: rgba(0,212,170,0.1); color: var(--accent-teal); border: 1px solid rgba(0,212,170,0.2); }
.hero-pill.blue { background: rgba(14,165,233,0.1); color: var(--accent-blue); border: 1px solid rgba(14,165,233,0.2); }
.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.hero h1 .gold { color: var(--accent-gold); }
.hero h1 .teal { color: var(--accent-teal); }
.hero-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.hero-desc strong { color: var(--accent-gold); font-weight: 700; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, #f5a623, #ffd56b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Hero bonus card */
.hero-card {
  background: var(--bg-card); border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-xl); padding: 28px;
  box-shadow: 0 0 40px rgba(245,166,35,0.08);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: -60%; right: -40%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-title { font-family:'Unbounded',sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.hero-card-bonus {
  font-family:'Unbounded',sans-serif; font-size: 32px; font-weight: 900;
  color: var(--accent-gold); margin-bottom: 6px;
}
.hero-card-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.promo-box {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.3); border: 2px dashed rgba(245,166,35,0.4);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 16px;
}
.promo-box .code {
  font-family: 'Unbounded', monospace; font-size: 18px; font-weight: 800;
  color: var(--accent-gold); letter-spacing: 2px; flex: 1;
}
.promo-box .copy-btn {
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent-gold); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
}
.hero-card-games { display: flex; gap: 6px; flex-wrap: wrap; }
.hero-card-games span {
  font-size: 20px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border-radius: 8px;
}

/* === PROMO BANNER === */
.promo-banner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
}
.promo-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-lg); padding: 20px 28px;
  gap: 20px; flex-wrap: wrap;
}
.promo-banner-text h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.promo-banner-text p { font-size: 13px; color: var(--text-secondary); }
.promo-banner-code {
  font-family: 'Unbounded', monospace; font-size: 22px; font-weight: 900;
  color: var(--accent-gold);
  background: rgba(0,0,0,0.3); border: 2px dashed rgba(245,166,35,0.4);
  padding: 8px 20px; border-radius: 8px;
}

/* === SECTIONS === */
.section { padding: 50px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family:'Unbounded',sans-serif;
  font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 8px;
}
.section-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; max-width: 600px; }

/* === FEATURES GRID === */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(14,165,233,0.2); background: var(--bg-card-hover); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* === BONUS CARDS === */
.bonus-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.bonus-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.bonus-card:hover { background: var(--bg-card-hover); border-color: rgba(245,166,35,0.2); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.bonus-card.featured { border-color: rgba(245,166,35,0.3); background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,166,35,0.05) 100%); }
.bonus-card.featured::before {
  content: '⭐ ХИТ'; position: absolute; top: 14px; right: 14px;
  background: var(--gradient-cta); color: #000;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
}
.bonus-icon { font-size: 28px; margin-bottom: 12px; }
.bonus-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.bonus-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.bonus-value {
  font-family:'Unbounded',sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--accent-gold); margin: 8px 0;
}
.bonus-card .btn-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-blue); font-size: 13px; font-weight: 600;
  margin-top: 8px;
}

/* === GAME CARDS === */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px;
}
.game-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); cursor: pointer; text-decoration: none; display: block;
}
.game-card:hover { transform: translateY(-3px); border-color: rgba(245,166,35,0.3); box-shadow: var(--shadow-glow); }
.game-thumb {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bg-secondary); display: flex;
  align-items: center; justify-content: center;
  font-size: 36px; position: relative; overflow: hidden;
}
.game-thumb::after {
  content: '▶'; position: absolute; inset: 0;
  background: rgba(0,0,0,0.5); display: flex;
  align-items: center; justify-content: center;
  font-size: 24px; color: #fff; opacity: 0;
  transition: var(--transition);
}
.game-card:hover .game-thumb::after { opacity: 1; }
.game-info { padding: 10px 12px; }
.game-info h4 { font-size: 12px; font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-info span { font-size: 11px; color: var(--text-muted); }

/* === STEPS === */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px;
}
.step-card {
  text-align: center; padding: 24px 16px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}
.step-num {
  width: 36px; height: 36px; background: var(--gradient-cta);
  color: #000; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.step-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 12px; color: var(--text-secondary); }

/* === PAYMENT ICONS === */
.payment-icons {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 20px;
}
.payment-icon {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 10px 16px;
  font-size: 13px; color: var(--text-secondary);
}
.payment-icon .emoji { font-size: 18px; }

/* === FAQ === */
.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid var(--border-color); border-radius: var(--radius);
  margin-bottom: 8px; overflow: hidden; background: var(--bg-card);
}
.faq-q {
  padding: 16px 20px; font-weight: 600; font-size: 14px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}
.faq-q:hover { background: var(--bg-card-hover); }
.faq-q::after { content: '+'; font-size: 18px; color: var(--text-muted); transition: var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent-gold); }
.faq-a {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13px; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 20px 16px; max-height: 500px; }

/* === SEO BLOCK === */
.seo-block {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 36px; margin-top: 32px;
}
.seo-block h2 { font-family:'Unbounded',sans-serif; font-size: 18px; margin-bottom: 10px; }
.seo-block h3 { font-size: 15px; margin-top: 20px; margin-bottom: 8px; font-weight: 700; }
.seo-block p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.seo-tags a {
  background: rgba(255,255,255,0.04); color: var(--text-muted);
  font-size: 11px; padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.seo-tags a:hover { color: var(--accent-gold); border-color: rgba(245,166,35,0.3); background: rgba(245,166,35,0.05); }

/* === REVIEWS === */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px;
}
.review-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 20px;
  transition: var(--transition);
}
.review-card:hover { border-color: rgba(245,166,35,0.15); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-secondary); display: flex;
  align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--accent-gold);
  border: 2px solid rgba(245,166,35,0.2);
}
.review-name { font-weight: 600; font-size: 13px; }
.review-country { font-size: 11px; color: var(--text-muted); }
.review-stars { color: var(--accent-gold); font-size: 13px; margin-bottom: 6px; letter-spacing: 2px; }
.review-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.review-date { font-size: 11px; color: var(--text-muted); margin-top: 10px; }

/* === RATING SUMMARY === */
.rating-summary {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 28px;
  margin-bottom: 28px; display: flex; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.rating-big { text-align: center; }
.rating-big .num { font-family:'Unbounded',sans-serif; font-size: 42px; font-weight: 800; color: var(--accent-gold); }
.rating-big .stars { color: var(--accent-gold); font-size: 16px; letter-spacing: 2px; }
.rating-big .count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.rating-bars { flex: 1; min-width: 200px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rating-bar-row .label { font-size: 12px; color: var(--text-secondary); width: 28px; }
.rating-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--accent-gold); border-radius: 3px; }
.rating-bar-row .percent { font-size: 11px; color: var(--text-muted); width: 32px; text-align: right; }

/* === PAYMENT TABLE === */
.payment-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; margin-top: 20px;
}
.payment-table th, .payment-table td {
  padding: 12px 16px; text-align: left; font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}
.payment-table th { background: rgba(255,255,255,0.03); font-weight: 600; color: var(--text-secondary); font-size: 12px; }
.payment-table td { color: var(--text-secondary); }
.payment-table tr:last-child td { border-bottom: none; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 24px 24px;
  max-width: 1200px; margin: 50px auto 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 24px;
}
.footer-brand .logo { margin-bottom: 10px; font-size: 18px; }
.footer-brand p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.footer-col h5 { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--text-secondary); }
.footer-col a { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 16px; text-align: center;
  font-size: 11px; color: var(--text-muted); line-height: 1.6;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-gold); }

/* === CHAT === */
.chat-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 52px; height: 52px;
  background: var(--gradient-cta); border-radius: 50%;
  border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 20px rgba(245,166,35,0.3);
  transition: var(--transition);
}
.chat-toggle:hover { transform: scale(1.05); }
.chat-toggle .badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.chat-panel {
  position: fixed; bottom: 84px; right: 24px;
  width: 340px; height: 440px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); z-index: 999;
  display: none; flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  padding: 14px; border-bottom: 1px solid var(--border-color);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-card);
}
.chat-header h4 { font-size: 13px; }
.chat-header span { font-size: 11px; color: var(--accent-teal); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.chat-msg { font-size: 12px; line-height: 1.4; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.chat-msg .name { font-weight: 600; margin-right: 4px; }
.chat-msg .text { color: var(--text-secondary); }
.chat-msg.self .name { color: var(--accent-teal); }
.chat-input-area {
  display: flex; padding: 8px; border-top: 1px solid var(--border-color); gap: 6px;
}
.chat-input-area input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 8px; padding: 8px 12px; color: var(--text-primary);
  font-size: 12px; outline: none;
}
.chat-input-area input::placeholder { color: var(--text-muted); }
.chat-input-area button {
  background: var(--gradient-cta); border: none;
  border-radius: 8px; padding: 0 14px; cursor: pointer; font-size: 14px;
}

/* === POPUP === */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 2000; display: none;
  align-items: center; justify-content: center;
}
.popup-overlay.show { display: flex; }
.popup-box {
  background: var(--bg-secondary); border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--radius-xl); padding: 32px;
  text-align: center; max-width: 420px; width: 92%;
  position: relative; box-shadow: 0 0 60px rgba(245,166,35,0.15);
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn { from { opacity:0; transform:scale(0.8); } to { opacity:1; transform:scale(1); } }
.popup-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; }
.popup-box .popup-icon { font-size: 40px; margin-bottom: 12px; }
.popup-box h3 { font-family:'Unbounded',sans-serif; font-size: 18px; margin-bottom: 6px; }
.popup-box p { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }
.popup-referral {
  background: rgba(0,0,0,0.2); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 14px; margin: 14px 0; text-align: left;
}
.popup-referral h4 { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.ref-tiers { display: flex; gap: 8px; margin-bottom: 10px; }
.ref-tier {
  flex: 1; text-align: center; padding: 8px 4px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-color);
  border-radius: 8px; font-size: 11px; color: var(--text-secondary);
}
.ref-tier.hot { border-color: rgba(245,166,35,0.4); background: rgba(245,166,35,0.06); color: var(--accent-gold); }
.ref-tier .num { font-weight: 800; font-size: 14px; display: block; }
.share-btns { display: flex; gap: 6px; }
.share-btns a {
  flex: 1; text-align: center; font-size: 12px; font-weight: 600;
  padding: 8px; border-radius: 8px; color: #fff;
}
.share-btns .tg-share { background: #2AABEE; }
.share-btns .vk-share { background: #4C75A3; }
.share-btns .wa-share { background: #25D366; }

/* === TG NOTIFY === */
.tg-notify { position: fixed; top: 110px; right: 24px; z-index: 998; }
.tg-card {
  background: var(--bg-card); border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-card);
  animation: slideIn 0.5s ease 1.5s both;
  width: 240px;
}
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
.tg-card-icon { font-size: 28px; }
.tg-card-text h5 { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.tg-card-text p { font-size: 11px; color: var(--text-muted); }
.tg-card-text a { color: var(--accent-blue); font-size: 11px; font-weight: 600; }
.tg-card .close-tg {
  position: absolute; top: 6px; right: 8px;
  background: none; border: none; color: var(--text-muted);
  font-size: 14px; cursor: pointer;
}

/* === LIVE WIN NOTIFICATION === */
.live-win {
  position: fixed; bottom: 84px; left: 24px; z-index: 997;
  background: var(--bg-card); border: 1px solid rgba(0,212,170,0.2);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-card); opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
  max-width: 300px;
}
.live-win.show { opacity: 1; transform: translateY(0); }
.live-win .trophy { font-size: 24px; }
.live-win .win-info .name { font-size: 12px; font-weight: 600; }
.live-win .win-info .details { font-size: 11px; color: var(--text-muted); }
.live-win .win-info .win-amount { font-size: 13px; font-weight: 700; color: var(--accent-teal); }

/* === MOBILE MENU === */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 22px; cursor: pointer; }
.mobile-nav {
  display: none; position: fixed; top: 96px; left: 0; right: 0;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
  padding: 14px; z-index: 999; flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text-secondary); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header { padding: 0 14px; }
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 120px 16px 30px; gap: 24px; }
  .hero-card { order: -1; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 20px; }
  .section { padding: 30px 16px; }
  .promo-banner-inner { flex-direction: column; text-align: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .chat-panel { width: calc(100% - 32px); right: 16px; bottom: 80px; }
  .rating-summary { flex-direction: column; gap: 20px; }
  .seo-block { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .live-win { left: 16px; right: 16px; max-width: none; bottom: 80px; }
  .tg-notify { top: 100px; right: 12px; }
  .tg-card { width: 200px; }
  .wins-ticker { height: 30px; }
  .win-item { font-size: 11px; padding: 0 16px; height: 30px; }
  .header { top: 30px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) { .mobile-menu-btn { display: none; } }
