/* ============================================================
   Casino Rama Online — app.css
   Theme: Dark Navy #0E0E18 + Gold #C9A84C + Purple accent
   ============================================================ */

:root {
  --primary:    #C9A84C;
  --primary-dk: #A8832A;
  --primary-lt: #E0BF6A;
  --accent:     #7B4FCA;
  --bg-dark:    #0E0E18;
  --bg-mid:     #16162A;
  --bg-card:    #1E1E30;
  --bg-light:   #F5F5F0;
  --text-light: #FFFFFF;
  --text-muted: #AAAACC;
  --text-dark:  #111118;
  --border:     rgba(201,168,76,0.15);
  --border-lt:  rgba(0,0,0,0.1);
  --radius:     4px;
  --trans:      0.22s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Arial', 'Helvetica Neue', sans-serif; background: var(--bg-dark); color: var(--text-light); overflow-x: hidden; width: 100%; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border: none; transition: background var(--trans), color var(--trans), transform var(--trans);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary    { background: var(--primary); color: #111; }
.btn--primary:hover { background: var(--primary-lt); }
.btn--ghost      { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn--ghost:hover{ border-color: #fff; }
.btn--ghost-gold { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--ghost-gold:hover { background: var(--primary); color: #111; }
.btn--hero       { background: var(--primary); color: #111; padding: 14px 36px; font-size: 0.95rem; font-weight: 800; }
.btn--hero:hover { background: var(--primary-lt); }
.btn--demo       { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); padding: 14px 36px; font-size: 0.95rem; }
.btn--demo:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--full       { width: 100%; }

/* ---- HEADER ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  width: 100%; overflow: hidden;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--trans);
}
.header__inner {
  max-width: none; margin: 0; padding: 0 24px;
  display: flex; align-items: center; height: 68px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-right: 24px;
}
.header__logo-img  { height: 40px; width: auto; object-fit: contain; }
.header__logo-text { font-size: 1rem; font-weight: 800; color: var(--primary); letter-spacing: 0.06em; text-transform: uppercase; }
.header__nav { flex: 1; display: flex; justify-content: center; gap: 0; }
.nav-link {
  padding: 8px 12px; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color var(--trans), background var(--trans); white-space: nowrap;
}
.nav-link:hover { color: var(--primary); }
.header__actions { display: flex; gap: 10px; flex-shrink: 0; margin-left: 24px; }

/* ---- BURGER ---- */
.burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media(max-width:1100px) {
  .header__nav, .header__actions { display: none; }
  .burger { display: flex; }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,0.75);
}
.mobile-menu.open { display: block; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; width: 280px; height: 100%;
  background: var(--bg-mid); padding: 80px 24px 32px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav-link {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color var(--trans);
}
.mobile-nav-link:hover { color: var(--primary); }
.mobile-menu__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 580px;
  display: flex; align-items: center;
  background: url('../images/banners/gaming-floor.webp') center center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,14,24,0.85) 0%, rgba(14,14,24,0.55) 55%, rgba(14,14,24,0.25) 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
}
.hero__inner { position: relative; z-index: 1; padding: 100px 0 80px; }
.hero__content { max-width: 600px; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--primary);
}
.hero__h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
  line-height: 1.1; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 18px; color: #fff;
}
.hero__h1 em { font-style: normal; color: var(--primary); }
.hero__subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.6; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- MY CLUB SECTION (dark) ---- */
.club-section { background: var(--bg-mid); }
.club-inner {
  display: grid; grid-template-columns: 1fr 1fr;
}
.club-img-wrap { overflow: hidden; height: 480px; }
.club-img { width: 100%; height: 100%; object-fit: cover; }
.club-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 56px;
}
.club-eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--primary);
}
.club-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 18px; color: #fff; line-height: 1.15;
}
.club-title em { font-style: normal; color: var(--primary); }
.club-text { font-size: 0.97rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }
.club-stats { display: flex; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.club-stat__num {
  display: block; font-size: 1.9rem; font-weight: 900;
  color: var(--primary); line-height: 1;
}
.club-stat__lbl { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

@media(max-width:768px) {
  .club-inner { grid-template-columns: 1fr; }
  .club-img-wrap { height: 260px; }
  .club-content { padding: 40px 24px; }
}

/* ---- GAMES SECTION ---- */
.games-section { background: var(--bg-dark); padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--primary);
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; color: #fff; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); }

.games-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media(max-width:900px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:480px) { .games-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-card); border: 1px solid var(--border);
  transition: transform var(--trans), box-shadow var(--trans);
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(201,168,76,0.25); }
.game-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-card__img { transform: scale(1.06); }
.game-card__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 0.82rem; font-weight: 700; color: #fff; letter-spacing: 0.04em;
}

.games-cta { text-align: center; margin-top: 40px; }

/* ---- VENUES SECTION (dark) ---- */
.venues-section { background: var(--bg-mid); padding: 80px 0; }
.venues-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 48px;
}
.venue-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 320px; border: 1px solid var(--border);
  transition: transform var(--trans);
}
.venue-card:hover { transform: translateY(-4px); }
.venue-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.venue-card:hover .venue-card__img { transform: scale(1.05); }
.venue-card__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.venue-card__label { font-size: 1.15rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.venue-card__sub { font-size: 0.82rem; color: var(--primary); font-weight: 600; }

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

/* ---- BONUS SECTION ---- */
.bonus-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.bonus-section::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.bonus-inner { display: flex; align-items: center; justify-content: center; position: relative; }
.bonus-content { max-width: 680px; text-align: center; }
.bonus-badge {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 18px; border-radius: 2px;
  background: var(--primary); color: #111;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.bonus-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 18px; color: #fff; line-height: 1.15;
}
.bonus-title span { color: var(--primary); }
.bonus-text { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- SEO CONTENT ---- */
.content-section { background: var(--bg-dark); padding: 80px 0 60px; }
.seo-content { max-width: 860px; width: 100%; }
.seo-content h1 { font-size: 1.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; color: #fff; line-height: 1.2; }
.seo-content h2 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin: 40px 0 14px; color: #fff; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 { font-size: 1.05rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; margin: 28px 0 10px; }
.seo-content h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 20px 0 8px; }
.seo-content p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.seo-content strong { color: #fff; }
.seo-content img { width: 100%; max-width: 700px; border-radius: var(--radius); margin: 24px 0; }

.seo-content h3.faq-item {
  cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--trans); margin: 0;
}
.seo-content h3.faq-item::after { content: '+'; font-size: 1.2rem; color: var(--primary); flex-shrink: 0; }
.seo-content h3.faq-item.faq-open::after { content: '−'; }
.seo-content h3.faq-item + p { display: none; padding: 14px 0; margin-bottom: 0; }
.seo-content h3.faq-item.faq-open + p { display: block; }

.seo-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.seo-content th { background: var(--primary); color: #111; padding: 10px 14px; text-align: left; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.seo-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.seo-content tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
.seo-content table strong { color: #fff; }

.seo-content ul, .seo-content ol { margin: 0 0 16px 20px; }
.seo-content li { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; }
.seo-content li strong { color: #fff; }

/* ---- FOOTER ---- */
.footer { background: #060610; border-top: 1px solid var(--border); }
.footer__inner { padding: 48px 0 28px; }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap; margin-bottom: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-img { height: 40px; width: auto; object-fit: contain; }
.footer__logo-text { font-size: 1rem; font-weight: 800; color: var(--primary); letter-spacing: 0.06em; text-transform: uppercase; }
.footer__nav { display: flex; gap: 6px 24px; flex-wrap: wrap; align-items: center; }
.footer__nav a { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; transition: color var(--trans); }
.footer__nav a:hover { color: var(--primary); }
.footer__bottom { text-align: center; }
.footer__copy { font-size: 0.78rem; color: #555566; line-height: 1.6; }

@media(max-width:768px) {
  .footer__top { flex-direction: column; }
}
