/* ── OscarSpin Casino — Greek Template ── */
:root {
  --bg-deep:    #0d0b08;
  --bg-mid:     #130f0a;
  --bg-card:    #1a1510;
  --bg-surface: #221c13;
  --gold:       #c8960e;
  --gold-light: #e0aa18;
  --gold-bar:   #b8840c;
  --green:      #22c55e;
  --green-dark: #16a34a;
  --text-white: #f5f0e8;
  --text-muted: rgba(245,240,232,0.55);
  --border:     rgba(255,255,255,0.07);
  --sidebar-w:  56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
}

/* ══════════════ HEADER ══════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-white);
}
.logo__icon {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.logo span { color: var(--text-white); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
}
.header__nav a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  transition: all .2s;
}
.header__nav a:hover { color: var(--text-white); background: rgba(255,255,255,0.1); }
.header__nav a.active { color: var(--text-white); }

.header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 8px;
  transition: color .2s;
}
.icon-btn:hover { color: var(--text-white); }

.btn-login {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .2s;
}
.btn-login:hover { border-color: rgba(255,255,255,0.4); }

.btn-signup {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--green);
  color: #fff;
  border: none;
  transition: all .2s;
}
.btn-signup:hover { background: var(--green-dark); }

/* ══════════════ PAGE WRAPPER (1400px centered) ══════════════ */
.page-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

/* ══════════════ LAYOUT WRAPPER ══════════════ */
.layout {
  display: flex;
  padding-top: 52px;
}

/* ══════════════ LEFT SIDEBAR ══════════════ */
.sidebar {
  position: fixed;
  top: 52px;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-mid);
  border-right: 1px solid var(--border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
  overflow-y: auto;
}
.sidebar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 20px;
  transition: all .2s;
}
.sidebar__item:hover, .sidebar__item.active {
  background: rgba(255,255,255,0.08);
  color: var(--gold-light);
}

/* ══════════════ MAIN CONTENT ══════════════ */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
}

/* ══════════════ HERO / BANNER ══════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero__img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,11,8,0.92) 35%, rgba(13,11,8,0.3) 70%, transparent 100%);
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
  max-width: 820px;
}
.hero__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  width: fit-content;
  transition: background .2s, transform .2s;
}
.hero__cta:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ══════════════ GAMES SECTION ══════════════ */
.games-section {
  padding: 40px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.section-header::before,
.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bar), transparent);
}
.section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.game-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  border-color: var(--gold-bar);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.game-card__provider {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.game-card__name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.game-card__fav {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

/* ══════════════ CASHBACK PROMO ══════════════ */
.promo-section {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 8px 0;
}
.promo-section__content {
  padding: 56px 80px;
  max-width: 680px;
}
.promo-section__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: var(--text-white);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
}
.promo-section__sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.cashback-box {
  background: linear-gradient(135deg, var(--gold-bar), var(--gold));
  border-radius: 12px;
  padding: 20px 28px;
  display: inline-block;
}
.cashback-box__label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,0.7);
  margin-bottom: 4px;
}
.cashback-box__value {
  font-size: 42px;
  font-weight: 900;
  color: #0d0b08;
  line-height: 1;
}

/* ══════════════ PAYMENT STRIP ══════════════ */
.payment-strip {
  background: linear-gradient(135deg, #8a6200, #c8960e, #8a6200);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.payment-strip__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #0d0b08;
}

/* ══════════════ SEO ARTICLE (collapsible) ══════════════ */
.desc-section {
  padding: 0 24px 48px;
}
.show-desc-btn {
  display: block;
  margin: 0 auto 24px;
  padding: 10px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.show-desc-btn:hover { border-color: var(--gold-bar); color: var(--gold-light); }
.article-content { display: none; }
.article-content.open { display: block; }

.article-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.article-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 18px 0 8px;
}
.article-content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.article-content li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.article-content li::marker { color: var(--gold); }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}
.article-content th {
  background: rgba(200,150,14,0.2);
  color: var(--text-white);
  font-weight: 700;
  padding: 9px 12px;
  text-align: left;
  border: 1px solid var(--border);
}
.article-content td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.article-content tr:nth-child(even) td { background: var(--bg-card); }

/* ══════════════ FOOTER ══════════════ */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 40px 24px 24px;
  margin-left: 0;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
}
.footer__brand { flex-shrink: 0; }
.footer__brand-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer__brand-logo .logo__icon {
  width: 20px; height: 20px; font-size: 10px;
}
.lang-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.footer__links-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
}
.footer__link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  transition: color .2s;
}
.footer__link:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .header__nav { display: none; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__content { padding: 32px 24px; }
  .promo-section__content { padding: 32px 24px; }
  .footer__top { flex-direction: column; gap: 24px; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__links-grid { grid-template-columns: 1fr; }
}
