/* =========================================
   APHRODITE CASINO — MAIN STYLESHEET
   ========================================= */

:root {
  --gold:        #d4a843;
  --gold-light:  #f5c842;
  --gold-pale:   #fceea0;
  --dark:        #0a0a0f;
  --dark-2:      #12121a;
  --dark-3:      #1a1a28;
  --dark-4:      #22223a;
  --dark-card:   #16162a;
  --accent:      #c0392b;
  --accent-2:    #9b2335;
  --text-main:   #e8e4d8;
  --text-muted:  #a09880;
  --text-white:  #ffffff;
  --border:      rgba(212,168,67,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-gold: 0 0 32px rgba(212,168,67,0.18);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.45);
  --font-main:   'Cinzel', 'Georgia', serif;
  --font-body:   'Inter', 'Segoe UI', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
/* Touch optimizations */
a, button, .btn-cta, .tab-btn, .badge {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-light); }
ul, ol { padding-left: 1.4em; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 {
  font-family: var(--font-main);
  letter-spacing: .04em;
  line-height: 1.25;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--gold-light); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); color: var(--gold); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--gold); }
h4 { font-size: 1.05rem; color: var(--text-white); }

/* ---- GOLD DIVIDER ---- */
.divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* =========================================
   LAYOUT — SIDEBAR + MAIN
   ========================================= */
:root {
  --sidebar-w: 260px;
}
#main-wrap {
  margin-left: var(--sidebar-w);
  min-width: 0;
  width: calc(100% - var(--sidebar-w));
}

/* =========================================
   SIDEBAR
   ========================================= */
#sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: #0d0d18;
  border-right: 1px solid var(--border);
  z-index: 900;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,168,67,.2) transparent;
}
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-thumb { background: rgba(212,168,67,.2); border-radius: 4px; }

/* LOGO */
.sidebar-logo {
  padding: 1.4rem 1.4rem .9rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo a { display: inline-block; text-decoration: none; }
.sidebar-logo-img {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(212,168,67,.3));
  transition: filter .3s;
}
.sidebar-logo a:hover .sidebar-logo-img {
  filter: drop-shadow(0 0 22px rgba(245,200,66,.7));
}

/* BONUS PILL */
.sidebar-bonus {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1rem .8rem;
  padding: .75rem 1rem;
  background: linear-gradient(90deg, #0e2a5a 0%, #1a4a9f 100%);
  border: 1px solid rgba(80,140,255,.3);
  border-radius: 50px;
  text-decoration: none;
  transition: filter .2s, transform .2s;
}
.sidebar-bonus:hover { filter: brightness(1.15); transform: translateY(-1px); }
.sidebar-bonus-icon { font-size: 1.5rem; flex-shrink: 0; }
.sidebar-bonus-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sidebar-bonus-text strong {
  font-size: .8rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.sidebar-bonus-text small {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
}

/* NAV LIST */
.sidebar-nav { padding: .5rem 0; }
.sidebar-nav ul {
  list-style: none;
  padding: 0; margin: 0;
}
.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .72rem 1.4rem;
  color: var(--text-main);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition: background .2s, color .2s;
  position: relative;
}
.sidebar-nav ul li a:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
}
.sidebar-nav ul li.active a {
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 600;
}
.sidebar-nav ul li.active a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  border-radius: 0 2px 2px 0;
}
.snav-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

/* POPULAR GAMES */
.sidebar-games {
  padding: 1rem 0 .5rem;
  border-top: 1px solid var(--border);
  flex: 1;
}
.sidebar-games-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-muted);
  padding: .4rem 1.4rem .8rem;
  text-transform: uppercase;
}
.sidebar-games ul {
  list-style: none;
  padding: 0; margin: 0;
}
.sgame-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem 1rem .55rem 1.2rem;
  text-decoration: none;
  transition: background .2s;
}
.sgame-item:hover { background: rgba(255,255,255,.04); }
.sgame-thumb {
  width: 42px; height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,.08);
}
.sgame-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sgame-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sgame-provider {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: .1rem;
}
.sgame-play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-size: .65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.sgame-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(212,168,67,.5);
}

/* SIDEBAR FOOTER */
.sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-shrink: 0;
}
.sidebar-lang {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: border-color .2s;
}
.sidebar-lang:hover { border-color: var(--gold); color: var(--text-white); }
.lang-flag { font-size: 1rem; }
.lang-arrow { font-size: .6rem; color: var(--text-muted); }
.sidebar-support {
  display: flex;
  gap: .4rem;
}
.sidebar-support a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--dark-4);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.sidebar-support a:hover {
  border-color: var(--gold);
  background: rgba(212,168,67,.1);
}

/* =========================================
   MOBILE TOPBAR
   ========================================= */
#mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: #0d0d18;
  border-bottom: 1px solid var(--border);
  z-index: 950;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}
#sidebar-toggle {
  background: none; border: none;
  display: flex; flex-direction: column;
  gap: 5px; cursor: pointer; padding: .3rem;
  flex-shrink: 0;
}
#sidebar-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: all .3s;
}
.mobile-logo {
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-logo-img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(212,168,67,.4));
}
.btn-cta--sm {
  padding: .4rem .9rem !important;
  font-size: .72rem !important;
  flex-shrink: 0;
}
#sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 890;
}
#sidebar-overlay.visible { display: block; }

/* =========================================
   BUTTONS
   ========================================= */

.btn-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark) !important;
  font-family: var(--font-main);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .06em;
  border-radius: 50px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(212,168,67,0.35);
  text-transform: uppercase;
  text-decoration: none;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,168,67,0.5); color: var(--dark) !important; }

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  background: var(--dark-2);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* VIDEO BACKGROUND */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.hero-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* OVERLAY поверх видео — затемняем левую часть для текста */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,10,15,.88) 0%,
    rgba(10,10,15,.45) 45%,
    rgba(10,10,15,.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 5rem 5rem 5rem 6%;
}

/* mobile — скрываем видео, показываем постер */
@media (max-width: 767px) {
  .hero-video {
    display: none;
  }
  #hero {
    background:
      linear-gradient(180deg, rgba(10,10,15,.78) 0%, rgba(10,10,15,.88) 60%, rgba(10,10,15,.95) 100%),
      url('https://aphrodite.casino/assets/themes/aphrodite/img/backgrounds/bg-home-desktop.png') 70% top / cover no-repeat;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-overlay { display: none; }
  .hero-content {
    padding: 2rem 1.2rem 2.5rem;
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    line-height: 1.2;
    margin-bottom: .6rem;
  }
  .hero-subtitle {
    font-size: .88rem;
    margin-bottom: 1.1rem;
    max-width: 100%;
  }
  .hero-badges {
    gap: .4rem;
    margin-bottom: 1.2rem;
  }
  .badge {
    font-size: .72rem;
    padding: .28rem .65rem;
  }
  .btn-cta {
    font-size: .78rem;
    padding: .55rem 1.2rem;
  }
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-white);
  text-shadow: 0 2px 20px rgba(0,0,0,.8);
  margin-bottom: .8rem;
}
.hero-content h1 span { color: var(--gold-light); }
.hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: var(--text-main);
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  max-width: 440px;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.8rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .85rem;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,.35);
  border-radius: 50px;
  font-size: .78rem; color: var(--gold-pale);
  letter-spacing: .04em;
}

/* =========================================
   SECTIONS — SHARED
   ========================================= */
.section {
  padding: 5rem 1.5rem;
}
.section:nth-child(even) { background: var(--dark-2); }
.section:nth-child(odd)  { background: var(--dark);   }

.container {
  max-width: 1200px; margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: 3rem;
}
.section-header p {
  margin-top: .8rem; max-width: 680px;
  margin-left: auto; margin-right: auto;
  color: var(--text-muted); font-size: .97rem;
}

/* =========================================
   STATS BAR
   ========================================= */
#stats-bar {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 1.5rem;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-light);
  line-height: 1.1;
}
.stat-item .stat-label {
  font-size: .78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em;
  margin-top: .25rem;
}

/* =========================================
   BONUS SECTION
   ========================================= */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.bonus-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.bonus-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.bonus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.bonus-icon {
  font-size: 2.4rem; margin-bottom: .8rem;
  display: block;
}
.bonus-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.bonus-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: 1rem; }
.bonus-amount {
  font-family: var(--font-main);
  font-size: 1.5rem; color: var(--gold-light);
  font-weight: 700;
}
.bonus-card ul {
  margin-top: .8rem; font-size: .82rem;
  color: var(--text-muted); list-style: none;
  padding: 0;
}
.bonus-card ul li::before { content: '✦ '; color: var(--gold); }
.bonus-card ul li { padding: .2rem 0; }

/* =========================================
   GAMES SECTION
   ========================================= */
.games-tabs {
  display: flex; flex-wrap: wrap;
  gap: .5rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: .5rem 1.2rem;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: .85rem; cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 600;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.game-card {
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
  position: relative;
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.game-thumb {
  width: 100%; aspect-ratio: 3/2;
  background: var(--dark-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  position: relative; overflow: hidden;
}
/* Image-based game thumb */
.game-thumb--img {
  font-size: 0;
}
.game-thumb--img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}
.game-card:hover .game-thumb--img img { transform: scale(1.07); }
.game-thumb::after {
  content: 'JOUER';
  position: absolute; inset: 0;
  background: rgba(10,10,15,0.7);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-main);
  font-size: .9rem; letter-spacing: .1em;
  color: var(--gold-light); font-weight: 700;
  opacity: 0; transition: opacity .25s;
  z-index: 2;
}
.game-card:hover .game-thumb::after { opacity: 1; }
.game-info { padding: .8rem 1rem; }
.game-info h4 { font-size: .9rem; margin-bottom: .2rem; }
.game-info span { font-size: .75rem; color: var(--text-muted); }
.game-rtp {
  position: absolute; top: .5rem; right: .5rem;
  background: rgba(10,10,15,.85);
  border: 1px solid var(--border);
  border-radius: 50px; padding: .15rem .5rem;
  font-size: .68rem; color: var(--gold);
  font-weight: 600;
  z-index: 3;
}

/* =========================================
   PROVIDERS
   ========================================= */
.providers-strip {
  display: flex; flex-wrap: wrap;
  gap: .8rem; justify-content: center;
  align-items: center;
}
.provider-pill {
  padding: .5rem 1.2rem;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .82rem; color: var(--text-muted);
  transition: all .2s;
}
.provider-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,168,67,0.06);
}

/* =========================================
   TABLE — SHARED
   ========================================= */
.info-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.info-table {
  width: 100%; border-collapse: collapse;
  font-size: .88rem;
}
.info-table thead th {
  background: var(--dark-3);
  color: var(--gold);
  font-family: var(--font-main);
  font-size: .82rem; letter-spacing: .06em;
  padding: .9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.info-table tbody td {
  padding: .85rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text-main);
  vertical-align: top;
}
.info-table tbody tr:last-child td { border-bottom: none; }
.info-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.info-table tbody tr:hover { background: rgba(212,168,67,.04); }
.info-table td strong { color: var(--gold-pale); }
.check { color: #4caf50; }
.cross { color: #e53935; }

/* =========================================
   PAYMENT METHODS
   ========================================= */


/* =========================================
   SAFETY / LICENCE SECTION
   ========================================= */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.4rem;
}
.safety-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.safety-icon {
  font-size: 2rem; flex-shrink: 0;
  margin-top: .1rem;
}
.safety-card h4 { color: var(--gold); margin-bottom: .3rem; }
.safety-card p { font-size: .84rem; color: var(--text-muted); }

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; background: none; border: none;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: .97rem; font-weight: 500;
  text-align: left;
  padding: 1.1rem 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  transition: color .2s;
}
.faq-question:hover { color: var(--gold-light); }
.faq-question .faq-arrow {
  flex-shrink: 0; font-size: 1rem;
  color: var(--gold);
  transition: transform .3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  font-size: .88rem; color: var(--text-muted);
  padding-right: 2rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1rem; }

/* =========================================
   REVIEW STARS
   ========================================= */
.stars-row {
  display: flex; gap: .2rem; margin-bottom: .4rem;
}
.star { color: var(--gold); font-size: 1rem; }
.star.empty { color: var(--dark-4); }

/* =========================================
   TRUST BADGES ROW
   ========================================= */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: center;
  margin: 2rem 0;
}
.trust-badge {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .8rem; color: var(--text-muted);
}
.trust-badge strong { color: var(--text-white); }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-section p { margin-bottom: 2rem; }
.btn-cta-lg {
  padding: .85rem 2.4rem;
  font-size: 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-family: var(--font-main);
  font-weight: 700; letter-spacing: .08em;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .6rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 25px rgba(212,168,67,.4);
  text-transform: uppercase;
}
.btn-cta-lg:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(212,168,67,.55); color: var(--dark); }

/* =========================================
   FEATURES STRIP BANNER
   ========================================= */
#features-strip {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}
.features-strip-img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity .5s ease;
}
.features-strip-img.visible { opacity: 1; }

/* =========================================
   PLATFORM SCREENSHOT (Présentation)
   ========================================= */
.platform-screenshot {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.platform-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.platform-screenshot:hover .platform-img { transform: scale(1.015); }
.platform-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .6rem 1.2rem;
  background: linear-gradient(0deg, rgba(10,10,15,.9) 0%, transparent 100%);
  font-size: .75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* =========================================
   GAMES SCREENSHOT
   ========================================= */
.games-screenshot-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}
.games-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   AUTH SECTION (Inscription / Connexion)
   ========================================= */
.auth-section { background: var(--dark); }

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.auth-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.auth-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.auth-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 300px;
  flex-shrink: 0;
}
.auth-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .45s ease;
}
.auth-card:hover .auth-card-img { transform: scale(1.04); }

.auth-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-family: var(--font-main);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 50px;
}
.auth-card-badge--alt {
  background: linear-gradient(135deg, var(--dark-4), var(--dark-3));
  color: var(--gold);
  border: 1px solid var(--border);
}

.auth-card-body {
  padding: 1.8rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.auth-card-body h3 {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: .7rem;
}
.auth-card-body p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.auth-card-body .list-clean { margin-bottom: 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: .82rem 2rem;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 50px;
  text-transform: uppercase;
  transition: background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

/* =========================================
   RESPONSIVE — новые блоки
   ========================================= */
@media (max-width: 768px) {
  /* Auth cards */
  .auth-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .auth-card-img-wrap { height: 220px; }
  .auth-card-body { padding: 1.4rem 1.4rem 1.8rem; }

  /* Features strip */
  .features-strip-img { max-height: 100px; object-position: center 30%; }

  /* Platform screenshot */
  .platform-screenshot { border-radius: var(--radius); }

  /* Tables — horizontal scroll on small screens */
  .info-table-wrap { -webkit-overflow-scrolling: touch; }
  .info-table { font-size: .82rem; }
  .info-table thead th,
  .info-table tbody td { padding: .65rem .8rem; }

  /* Tab buttons */
  .tab-btn { font-size: .78rem; padding: .4rem .9rem; }

  /* Games grid */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }

  /* Section inner max-width */
  .section { padding: 3.5rem 1.1rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  #stats-bar { padding: 1.2rem 1rem; }
  .stat-item .stat-num { font-size: 1.6rem; }

  /* Bonus grid */
  .bonus-grid { grid-template-columns: 1fr; }

  /* Section header */
  .section-header { margin-bottom: 2rem; }
}

@media (max-width: 480px) {
  /* Auth */
  .auth-card-img-wrap { height: 185px; }
  .auth-card-body { padding: 1rem .9rem 1.4rem; }
  .auth-card-body h3 { font-size: 1.1rem; }
  .btn-outline { padding: .6rem 1.3rem; font-size: .78rem; }

  /* Tables */
  .info-table { font-size: .75rem; }
  .info-table thead th,
  .info-table tbody td { padding: .5rem .6rem; }

  /* Payments */


  /* Features */
  .features-strip-img { max-height: 80px; }

  /* Bonus amount */
  

  /* Bonus cards */
  .bonus-card { padding: 1.4rem 1.1rem; }
  .bonus-card h3 { font-size: 1rem; }

  /* Games */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .game-card-title { font-size: .75rem; }

  /* CTA section */
  .cta-section { padding: 3rem 1rem; }
  .btn-cta-lg { padding: .7rem 1.6rem; font-size: .8rem; }
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo-wrap { margin-bottom: 1rem; }
.footer-brand p { font-size: .83rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }

/* Footer logo — same style as sidebar logo */
.footer-logo-link { display: inline-block; text-decoration: none; margin-bottom: 1rem; }
.footer-logo-img {
  width: 160px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(212,168,67,.3));
  transition: filter .3s;
}
.footer-logo-link:hover .footer-logo-img {
  filter: drop-shadow(0 0 22px rgba(245,200,66,.7));
}
.footer-col h4 {
  font-family: var(--font-main);
  font-size: .82rem; letter-spacing: .08em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { padding: .3rem 0; }
.footer-col ul li a { font-size: .82rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--gold-light); }
/* Footer logos strip — payments & providers */
.footer-logos-strip {
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.6rem 0 1.4rem;
  margin-bottom: 1.8rem;
}
.footer-logos-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 1.4rem;
  width: 100%;
}
.footer-logos-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: .55rem 1.4rem;
  flex: 1;
}
.footer-logos-row + .footer-logos-divider {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: 1rem 0;
}
.footer-logos-label {
  font-size: .6rem;
  font-family: var(--font-main);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(212,168,67,.5);
  white-space: nowrap;
  width: 120px;
  flex-shrink: 0;
  padding-right: 1rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.fl-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .45;
  transition: opacity .25s, filter .25s;
  filter: grayscale(1) brightness(1.8);
}
.fl-item:hover {
  opacity: .9;
  filter: grayscale(0) brightness(1);
}
.fl-item svg { display: block; }
.fl-item.fl-provider {
  padding: .22rem .75rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
}
.fl-item.fl-provider span {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  white-space: nowrap;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
  font-size: .75rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }
.responsible-text {
  font-size: .72rem; color: var(--text-muted);
  text-align: center; margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  line-height: 1.6;
  max-width: 900px; margin-left: auto; margin-right: auto;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }
.fade-up-4 { animation-delay: .4s; }

/* =========================================
   SCROLL REVEAL (JS-driven)
   ========================================= */
.reveal { opacity:0; transform:translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 220px; }
}

@media (max-width: 768px) {
  /* Sidebar скрыт — выезжает по бургеру */
  #sidebar {
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 920;
  }
  #sidebar.open { transform: translateX(0); }

  /* Показываем мобильный topbar */
  #mobile-topbar { display: flex; }

  /* Убираем отступ под sidebar */
  #main-wrap {
    margin-left: 0;
    width: 100%;
    padding-top: 56px;
  }

  #hero { min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand p { max-width: none; }
  .footer-logos-row { flex-wrap: wrap; gap: .5rem 0; }
  .footer-logos-label { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding-right: 0; padding-bottom: .4rem; margin-bottom: .3rem; }
  .footer-logos-list { gap: .45rem .9rem; }
  .fl-item.fl-provider { padding: .18rem .55rem; }
  .fl-item.fl-provider span { font-size: .65rem; }
  .cta-section h2 { font-size: 1.5rem; }

}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.3rem; line-height: 1.2; }
  .hero-subtitle { font-size: .82rem; margin-bottom: .9rem; }
  .hero-badges { gap: .35rem; margin-bottom: 1rem; }
  .badge { font-size: .68rem; padding: .25rem .55rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 3rem .9rem; }
  .btn-cta { padding: .5rem 1.1rem; font-size: .76rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   UTILS
   ========================================= */
.text-gold { color: var(--gold-light); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.list-clean { list-style: none; padding: 0; }
.list-clean li { padding: .3rem 0; color: var(--text-muted); font-size: .9rem; }
.list-clean li::before { content: '▸ '; color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media(max-width:640px){ .grid-2 { grid-template-columns: 1fr; } }
