/* ACE-BET.WIN - Emerald Trust Gaming UI */
:root {
  --color-primary: #0f9d58;
  --color-primary-dark: #0b7a43;
  --color-primary-soft: rgba(15,157,88,0.12);
  --color-secondary: #1a73e8;
  --color-accent: #22c55e;
  --color-bg: #0b1120;
  --color-bg-soft: #111827;
  --color-surface: #1a2235;
  --color-surface-strong: #1e2d45;
  --color-card: #1a2235;
  --color-card-alt: #162032;
  --color-border: #1e2d45;
  --color-border-strong: #2a3a55;
  --color-text: #e2e8f0;
  --color-text-soft: #94a3b8;
  --color-text-muted: #64748b;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #070d1a;
  --color-footer-text: #94a3b8;
  --gradient-hero: linear-gradient(135deg, #0b1120 0%, #0f1e35 60%, #0b2a1a 100%);
  --gradient-button: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --gradient-cta: linear-gradient(135deg, #0f2a1a 0%, #0b1e30 100%);
  --shadow-header: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.25);
  --shadow-soft: 0 2px 8px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-card: 14px;
  --motion-fast: 0.15s;
  --motion-normal: 0.25s;
  --motion-slow: 0.4s;
  --header-h: 72px;
  --mobile-header-h: 64px;
  --container-max: 1200px;
  --fs-h1: clamp(1.6rem, 4vw, 2.4rem);
  --fs-h2: clamp(1.3rem, 3vw, 1.8rem);
  --fs-h3: clamp(1.05rem, 2vw, 1.3rem);
  --fs-body: 1rem;
  --lh-body: 1.75;
  --lh-heading: 1.3;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #67e8f9; text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--color-accent); }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* CONTAINER */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* ====== HEADER ====== */
.site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: rgba(11,17,32,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--motion-normal);
}
.site-header.scrolled { box-shadow: var(--shadow-header); }
.header-inner {
  width: 100%; max-width: none;
  padding-left: clamp(10px, 1.2vw, 20px);
  padding-right: clamp(10px, 1.2vw, 20px);
  min-height: var(--header-h);
  display: flex; align-items: center;
  gap: clamp(10px, 1vw, 18px);
}
.brand-wrap { flex: 0 0 auto; margin-right: clamp(4px, .8vw, 14px); }
.site-logo {
  display: block; width: auto;
  height: clamp(32px, 3vw, 42px);
  max-width: clamp(118px, 10vw, 168px);
  object-fit: contain;
}
.primary-nav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: nowrap; gap: clamp(6px, .72vw, 14px);
  white-space: nowrap; overflow: visible;
}
.primary-nav .nav-link {
  flex: 0 1 auto; min-width: 0;
  padding: 9px clamp(6px, .65vw, 12px);
  font-size: clamp(13px, .84vw, 15px);
  line-height: 1; white-space: nowrap;
  color: var(--color-text); font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--motion-fast), background var(--motion-fast);
}
.primary-nav .nav-link:hover { color: var(--color-accent); }
.primary-nav .nav-link.active { color: var(--color-accent); background: var(--color-primary-soft); }
.header-actions {
  flex: 0 0 auto; margin-left: auto;
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(6px, .6vw, 10px); white-space: nowrap;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--motion-fast);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-login {
  padding: 9px clamp(12px, 1vw, 18px); font-size: clamp(13px, .84vw, 14px);
  background: transparent; color: #67e8f9; border: 1px solid #67e8f9;
  min-height: 38px;
}
.btn-login:hover { background: rgba(103,232,249,0.1); color: #67e8f9; }
.btn-register {
  padding: 9px clamp(12px, 1vw, 18px); font-size: clamp(13px, .84vw, 14px);
  background: var(--gradient-button); color: #0b1120;
  min-height: 38px;
}
.btn-register:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-hero-primary {
  padding: 14px 32px; font-size: 1.05rem;
  background: var(--gradient-button); color: #0b1120;
  border-radius: var(--radius-md); min-height: 48px;
  box-shadow: 0 4px 16px rgba(34,197,94,0.3);
}
.btn-hero-primary:hover { filter: brightness(1.1); transform: translateY(-2px); color: #0b1120; }
.btn-hero-secondary {
  padding: 14px 32px; font-size: 1.05rem;
  background: transparent; color: #67e8f9;
  border: 2px solid #67e8f9; border-radius: var(--radius-md); min-height: 48px;
}
.btn-hero-secondary:hover { background: rgba(103,232,249,0.1); color: #67e8f9; }
.btn-register-lg {
  padding: 14px 32px; font-size: 1.05rem;
  background: var(--gradient-button); color: #0b1120;
  border-radius: var(--radius-md); min-height: 48px; width: 100%;
}
.btn-register-lg:hover { filter: brightness(1.1); color: #0b1120; }
.btn-login-outline {
  padding: 14px 32px; font-size: 1.05rem;
  background: transparent; color: #67e8f9;
  border: 2px solid #67e8f9; border-radius: var(--radius-md);
}
.btn-login-outline:hover { background: rgba(103,232,249,0.1); color: #67e8f9; }
.btn-step { padding: 10px 20px; font-size: .9rem; background: var(--gradient-button); color: #0b1120; border-radius: var(--radius-sm); }
.btn-step:hover { color: #0b1120; filter: brightness(1.1); }
.btn-step-outline { padding: 10px 20px; font-size: .9rem; background: transparent; color: #67e8f9; border: 1px solid #67e8f9; border-radius: var(--radius-sm); }
.btn-step-outline:hover { background: rgba(103,232,249,0.1); color: #67e8f9; }
.btn-plan-primary { padding: 12px 24px; background: var(--gradient-button); color: #0b1120; border-radius: var(--radius-sm); width: 100%; }
.btn-plan-primary:hover { color: #0b1120; filter: brightness(1.1); }
.btn-plan-outline { padding: 12px 24px; background: transparent; color: #67e8f9; border: 1px solid #67e8f9; border-radius: var(--radius-sm); width: 100%; }
.btn-plan-outline:hover { background: rgba(103,232,249,0.1); color: #67e8f9; }
.btn-responsible { padding: 12px 28px; background: transparent; color: #67e8f9; border: 2px solid #67e8f9; border-radius: var(--radius-md); }
.btn-responsible:hover { background: rgba(103,232,249,0.1); color: #67e8f9; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.text-accent { color: var(--color-accent); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }

/* MOBILE MENU TOGGLE */
.nav-toggle {
  display: none; flex: 0 0 40px; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); cursor: pointer; margin-left: 2px;
  flex-direction: column; gap: 5px; padding: 10px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--color-text); border-radius: 1px; transition: all var(--motion-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed; left: 12px; right: 12px;
  top: calc(var(--mobile-header-h) + 8px);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 16px;
  max-height: calc(100vh - var(--mobile-header-h) - 24px);
  overflow-y: auto; z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.mobile-menu.is-open { display: block; }
.mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav .nav-link {
  display: block; padding: 14px 16px; color: var(--color-text);
  font-size: 1rem; font-weight: 500; border-radius: var(--radius-md);
  transition: background var(--motion-fast);
}
.mobile-nav .nav-link:hover { background: var(--color-primary-soft); }
.mobile-nav .nav-link.active { color: var(--color-accent); background: var(--color-primary-soft); }
.mobile-nav .nav-link--login { color: #67e8f9; border: 1px solid #67e8f9; text-align: center; margin-top: 8px; }
.mobile-nav .nav-link--register { background: var(--gradient-button); color: #0b1120; text-align: center; margin-top: 4px; font-weight: 700; }

/* MOBILE HEADER */
@media (max-width: 1180px) {
  .site-header .header-inner {
    width: 100%; max-width: none;
    padding-left: clamp(8px, 2.4vw, 14px);
    padding-right: clamp(8px, 2.4vw, 14px);
    min-height: var(--mobile-header-h);
    justify-content: flex-start; gap: clamp(6px, 1.8vw, 10px);
  }
  .brand-wrap { flex: 0 1 auto; margin-right: 0; }
  .site-logo { height: clamp(30px, 8vw, 40px); max-width: clamp(104px, 27vw, 138px); }
  .primary-nav { display: none; }
  .header-actions {
    margin-left: auto; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: flex-end;
    gap: clamp(5px, 1.6vw, 8px); white-space: nowrap;
  }
  .header-actions .btn { min-height: 40px; padding-inline: clamp(10px, 2.6vw, 14px); font-size: clamp(12px, 3.2vw, 14px); }
  .nav-toggle { display: inline-flex; flex: 0 0 40px; width: 40px; height: 40px; }
}
@media (max-width: 375px) {
  .site-header .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .header-actions .btn { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
}

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: var(--fs-h2); color: #fff; font-weight: 700; line-height: var(--lh-heading); margin-bottom: 12px; }
.section-header p { color: var(--color-text-soft); max-width: 640px; margin: 0 auto; }

/* HOME HERO */
.home-hero {
  background: var(--gradient-hero); padding: clamp(48px, 8vw, 80px) 0;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(34,197,94,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.home-hero-content h1 { font-size: var(--fs-h1); color: #fff; font-weight: 700; line-height: var(--lh-heading); margin-bottom: 16px; }
.hero-lead { color: var(--color-text-soft); font-size: 1.05rem; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-trust-strip { display: flex; flex-wrap: wrap; gap: 18px; color: var(--color-text-soft); font-size: .88rem; }
.hero-trust-strip i { color: var(--color-accent); margin-right: 4px; }
.hero-img { border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
@media (max-width: 900px) {
  .home-hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust-strip { justify-content: center; }
  .home-hero-visual { order: -1; }
  .hero-img { max-height: 280px; object-fit: cover; margin: 0 auto; }
}

/* ADVANTAGES */
.home-advantages { padding: 72px 0; background: var(--color-bg-soft); }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 24px; text-align: center;
  transition: border-color var(--motion-normal), transform var(--motion-normal);
}
.advantage-card:hover { border-color: var(--color-accent); transform: translateY(-4px); }
.advantage-icon { font-size: 2rem; color: var(--color-accent); margin-bottom: 12px; }
.advantage-card h3 { font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 8px; }
.advantage-card p { color: var(--color-text-soft); font-size: .88rem; }
@media (max-width: 900px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .advantage-grid { grid-template-columns: 1fr; } }

/* CONTENT IMAGE */
.home-content-image { padding: 24px 0; }
.content-feature-img { width: 100%; max-width: 720px; margin: 0 auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }

/* STEPS */
.home-steps { padding: 72px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 28px 20px; text-align: center;
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); color: #0b1120;
  font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 8px; }
.step-card p { color: var(--color-text-soft); font-size: .9rem; margin-bottom: 12px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ARTICLE CONTENT */
.home-article-section, .home-final-content { padding: 72px 0; background: var(--color-bg-soft); }
.article-content-wrap { max-width: 820px; margin: 0 auto; }
.article-content-wrap h2 { font-size: var(--fs-h2); color: #fff; font-weight: 700; margin-bottom: 16px; }
.article-content-wrap h3 { font-size: var(--fs-h3); color: #fff; font-weight: 600; margin: 28px 0 12px; }
.article-content-wrap p { color: var(--color-text); margin-bottom: 16px; line-height: 1.85; }
.article-image-block { margin: 28px 0; }
.article-image-block img { border-radius: var(--radius-lg); border: 1px solid var(--color-border); }

/* PRIVACY NOTICE */
.home-privacy-notice { padding: 48px 0; }
.privacy-notice-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(90deg, #0f2a1a, #0b1e30);
  border-left: 4px solid #67e8f9; border-radius: var(--radius-lg);
  padding: 24px;
}
.privacy-icon { font-size: 2rem; color: #67e8f9; flex-shrink: 0; }
.privacy-content h3 { font-size: 1.1rem; color: #fff; font-weight: 700; margin-bottom: 8px; }
.privacy-content p { color: var(--color-text-soft); font-size: .95rem; margin: 0; }

/* PLANS */
.home-plans { padding: 72px 0; background: var(--color-bg-soft); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 32px 24px; text-align: center;
  position: relative;
}
.plan-card--featured { border-color: var(--color-accent); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: #0b1120; font-size: .75rem; font-weight: 700;
  padding: 3px 16px; border-radius: 20px;
}
.plan-tier { color: #67e8f9; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.plan-tier--pro { color: var(--color-accent); }
.plan-tier--vip { color: #facc15; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--color-accent); margin-bottom: 4px; }
.plan-price span { font-size: 1rem; color: var(--color-text-soft); font-weight: 400; }
.plan-desc { color: var(--color-text-soft); font-size: .88rem; margin-bottom: 16px; }
.plan-features { margin-bottom: 20px; text-align: left; }
.plan-features li { padding: 4px 0; color: var(--color-text); font-size: .95rem; }
.plan-features li::before { content: '\2713 '; color: var(--color-accent); font-weight: 700; }
@media (max-width: 768px) { .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* COMPARE TABLE */
.home-compare { padding: 72px 0; }
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; background: var(--color-card); border-radius: var(--radius-lg);
  border-collapse: collapse; overflow: hidden;
}
.compare-table th { background: var(--color-surface-strong); color: #67e8f9; font-weight: 600; padding: 14px 18px; text-align: left; }
.compare-table td { padding: 12px 18px; border-top: 1px solid var(--color-border); }
.compare-table tbody tr:hover { background: rgba(34,197,94,0.04); }
.compare-highlight { color: var(--color-accent); font-weight: 600; }
.compare-note { color: var(--color-text-soft); font-size: .92rem; margin-top: 20px; text-align: center; }

/* TESTIMONIALS */
.home-testimonials { padding: 72px 0; background: var(--color-bg-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 24px;
}
.testi-stars { color: #facc15; font-size: 1rem; margin-bottom: 12px; }
.testi-stars i { margin-right: 2px; }
.testimonial-card p { color: var(--color-text); font-size: .95rem; line-height: 1.7; margin-bottom: 16px; }
.testi-author strong { display: block; color: #67e8f9; font-size: .95rem; }
.testi-author span { color: var(--color-text-muted); font-size: .85rem; }
@media (max-width: 768px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* RESPONSIBLE GAMING */
.home-responsible { padding: 72px 0; }
.responsible-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.responsible-card {
  background: var(--color-card); border: 1px solid #1e3a2a;
  border-radius: var(--radius-card); padding: 24px;
}
.responsible-icon { font-size: 1.6rem; color: var(--color-accent); margin-bottom: 12px; }
.responsible-card h3 { font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 8px; }
.responsible-card p { color: var(--color-text-soft); font-size: .9rem; }
.responsible-cta { text-align: center; margin-top: 32px; }
@media (max-width: 768px) { .responsible-grid { grid-template-columns: 1fr; } }

/* GAME OVERVIEW */
.home-games-overview { padding: 72px 0; background: var(--color-bg-soft); }
.game-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-overview-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 28px 20px; text-align: center;
  transition: border-color var(--motion-normal), transform var(--motion-normal);
  color: var(--color-text);
}
.game-overview-card:hover { border-color: var(--color-accent); transform: translateY(-4px); color: var(--color-text); }
.game-overview-icon { font-size: 2.2rem; color: var(--color-accent); margin-bottom: 12px; }
.game-overview-card h3 { font-size: 1.1rem; color: #fff; font-weight: 600; margin-bottom: 8px; }
.game-overview-card p { color: var(--color-text-soft); font-size: .88rem; }
.game-overview-card--all { border-style: dashed; }
@media (max-width: 768px) { .game-overview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .game-overview-grid { grid-template-columns: 1fr; } }

/* FAQ */
.home-faq, .game-faq, .register-faq, .login-faq, .faq-content { padding: 48px 0; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; background: var(--color-card); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 20px; background: transparent; border: none;
  color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer;
  text-align: left; gap: 12px;
}
.faq-question i { transition: transform var(--motion-normal); color: var(--color-accent); flex-shrink: 0; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--color-text-soft); line-height: 1.7; }
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }

/* FOOTER CTA */
.footer-cta-section { padding: 60px 0; background: var(--gradient-cta); }
.footer-cta-card { text-align: center; max-width: 560px; margin: 0 auto; }
.footer-cta-card h2 { font-size: 1.5rem; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-cta-card p { color: var(--color-text-soft); margin-bottom: 24px; }
.footer-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* FOOTER */
.site-footer { background: var(--color-footer-bg); border-top: 1px solid var(--color-border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--color-footer-text); font-size: .88rem; margin-top: 16px; }
.footer-email { color: var(--color-footer-text); font-size: .85rem; }
.footer-email i { color: var(--color-accent); margin-right: 4px; }
.footer-links-group h4 { color: #fff; font-weight: 600; margin-bottom: 16px; font-size: 1rem; }
.footer-links-group ul li { margin-bottom: 8px; }
.footer-links-group a { color: var(--color-footer-text); font-size: .9rem; transition: color var(--motion-fast); }
.footer-links-group a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid var(--color-border); margin-top: 32px; padding-top: 20px; text-align: center; }
.footer-bottom p { color: var(--color-text-muted); font-size: .82rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* BREADCRUMB */
.breadcrumb-nav { margin-bottom: 16px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; }
.breadcrumb li::after { content: '/'; margin: 0 6px; color: var(--color-text-muted); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: #67e8f9; }
.breadcrumb .active { color: var(--color-text-soft); }

/* INNER HERO */
.inner-hero, .register-hero, .login-hero, .about-hero, .policy-hero, .faq-hero, .app-hero, .listing-hero {
  padding: clamp(40px, 6vw, 60px) 0 clamp(32px, 4vw, 48px);
  background: var(--gradient-hero); position: relative;
}
.inner-hero h1, .register-hero h1, .login-hero h1, .about-hero h1, .policy-hero h1, .faq-hero h1, .app-hero h1, .listing-hero h1 {
  font-size: var(--fs-h1); color: #fff; font-weight: 700; line-height: var(--lh-heading); margin-bottom: 12px;
}
.inner-hero-lead { color: var(--color-text-soft); font-size: 1.02rem; max-width: 700px; margin-bottom: 20px; }
.inner-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* PROSE */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: var(--fs-h2); color: #fff; font-weight: 700; line-height: var(--lh-heading); margin: 36px 0 16px; }
.prose h3 { font-size: var(--fs-h3); color: #fff; font-weight: 600; line-height: 1.35; margin: 28px 0 12px; }
.prose p { color: var(--color-text); line-height: 1.85; margin-bottom: 16px; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--color-border); margin: 24px 0; }
.prose a { color: #67e8f9; text-decoration: underline; }

/* GAME SECTIONS */
.game-intro, .game-features, .game-howto, .game-faq, .game-final-cta {
  padding: clamp(40px, 6vw, 72px) 0;
}
.game-features { background: var(--color-bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.feature-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 24px;
  transition: border-color var(--motion-normal);
}
.feature-card:hover { border-color: var(--color-accent); }
.feature-card h3 { font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-soft); font-size: .92rem; margin: 0; }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* HOWTO STEPS */
.howto-steps { margin: 24px 0; }
.howto-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); margin-bottom: 12px;
}
.howto-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-accent); color: #0b1120;
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.howto-step h3 { font-size: 1rem; color: #fff; font-weight: 600; margin-bottom: 4px; }
.howto-step p { color: var(--color-text-soft); font-size: .92rem; margin: 0; }

/* FINAL CTA */
.game-final-cta { background: var(--gradient-cta); }
.final-cta-card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.cta-visual { border-radius: var(--radius-lg); max-width: 360px; }
.cta-content h2 { font-size: 1.4rem; color: #fff; font-weight: 700; margin-bottom: 12px; }
.cta-content p { color: var(--color-text-soft); margin-bottom: 20px; }
@media (max-width: 768px) {
  .final-cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-visual { margin: 0 auto; max-width: 280px; }
}

/* AUTH PAGES */
.register-form-section, .login-form-section { padding: 48px 0; }
.register-layout, .login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.register-form-card, .auth-form-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 32px;
}
.register-form-card h2, .auth-form-card h2 { font-size: 1.4rem; color: #fff; font-weight: 700; margin-bottom: 8px; }
.register-form-card p, .auth-form-card p { color: var(--color-text-soft); margin-bottom: 24px; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form label { display: block; color: var(--color-text-soft); font-size: .9rem; margin-bottom: 6px; font-weight: 500; }
.auth-form input[type="tel"], .auth-form input[type="password"], .auth-form input[type="text"] {
  width: 100%; padding: 12px 16px; background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); color: var(--color-text); font-size: 1rem;
  transition: border-color var(--motion-fast);
}
.auth-form input:focus { border-color: var(--color-accent); outline: none; }
.form-check { display: flex; align-items: flex-start; gap: 8px; }
.form-check input { margin-top: 4px; }
.form-check label { font-size: .85rem; }
.auth-switch { text-align: center; margin-top: 16px; color: var(--color-text-soft); font-size: .9rem; }
.register-info, .login-info { display: flex; flex-direction: column; gap: 20px; }
.trust-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px; }
.trust-card i { font-size: 1.8rem; color: var(--color-accent); margin-bottom: 8px; display: block; }
.trust-card h3 { font-size: 1rem; color: #fff; font-weight: 600; margin-bottom: 6px; }
.trust-card p { color: var(--color-text-soft); font-size: .88rem; margin: 0; }
.register-visual, .login-visual { border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.register-steps, .login-guide { padding: 48px 0; background: var(--color-bg-soft); }
@media (max-width: 768px) { .register-layout, .login-layout { grid-template-columns: 1fr; } }

/* POLICY PAGES */
.policy-body { padding: 48px 0; }

/* LISTING */
.listing-content { padding: 48px 0; }
.game-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.game-listing-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); padding: 28px 20px; text-align: center;
  color: var(--color-text); transition: all var(--motion-normal);
}
.game-listing-card:hover { border-color: var(--color-accent); transform: translateY(-3px); color: var(--color-text); }
.game-listing-icon { font-size: 2rem; color: var(--color-accent); margin-bottom: 12px; }
.game-listing-card h3 { font-size: 1.05rem; color: #fff; font-weight: 600; margin-bottom: 6px; }
.game-listing-card p { color: var(--color-text-soft); font-size: .88rem; }
@media (max-width: 768px) { .game-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .game-listing-grid { grid-template-columns: 1fr; } }

/* 404 */
.error-section h2 { font-size: 1.6rem; color: #fff; margin: 12px 0; }
.error-section p { color: var(--color-text-soft); max-width: 400px; margin: 0 auto 20px; }

/* AOS FALLBACK */
[data-aos] { opacity: 1 !important; transform: none !important; }
.aos-animate { opacity: 1 !important; }
