/* ============================================================
   FASTPAY CASINO TEMPLATE — app.css
   Palette: #0d0e14 bg | #191924 card | #3ddc60 green accent
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:         #0d0e14;
  --bg-card:    #191924;
  --bg-card2:   #21222e;
  --bg-header:  #0a0b10;
  --bg-input:   #242535;
  --border:     #2a2b3d;
  --green:      #3ddc60;
  --green-dark: #28b548;
  --green-dim:  rgba(61,220,96,0.12);
  --red:        #e04040;
  --purple:     #7c3aed;
  --white:      #ffffff;
  --text:       #b0b8d0;
  --text-muted: #5a6080;
  --radius:     10px;
  --radius-sm:  6px;
  --tr:         0.2s ease;
  --header-h:   58px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; background: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Container ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 700; letter-spacing: 0.3px;
  border-radius: var(--radius-sm); transition: opacity var(--tr), transform var(--tr);
  cursor: pointer; white-space: nowrap;
  font-size: 13px; padding: 8px 20px;
}
.btn:hover { opacity: 0.88; }
.btn--gold {                                       /* "gold" name kept for build compat, but green */
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000; font-weight: 800;
}
.btn--gold:hover { opacity: 0.9; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--lg  { padding: 13px 32px; font-size: 14px; }
.btn--block { display: block; width: 100%; text-align: center; }

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--tr);
}
.header.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px; height: 100%;
  display: flex; align-items: center; gap: 14px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0; text-decoration: none;
}
.logo__icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #000;
}
.logo__text {
  font-size: 18px; font-weight: 900;
  color: var(--white); letter-spacing: 0.5px;
}
.logo__text strong { color: var(--green); font-weight: 900; }

/* Nav */
.header__nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1; overflow: hidden;
}
.header__nav-link {
  padding: 7px 13px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--text-muted); border-radius: var(--radius-sm);
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
}
.header__nav-link:hover { color: var(--white); }
.header__nav-link.active { color: var(--white); background: var(--bg-input); }

/* Actions */
.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 36px; height: 36px;
  background: var(--bg-input); border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}
.burger span { width: 18px; height: 2px; background: var(--white); border-radius: 1px; display: block; }

/* ── Mobile nav overlay ────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100%;
  background: var(--bg-card); z-index: 1000;
  transition: right 0.3s ease;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
  padding-bottom: 20px;
}
.mobile-nav.is-open { right: 0; }
.mobile-nav__inner {
  display: flex; flex-direction: column;
  overflow-y: auto; flex: 1;
  padding: 20px;
}
.mobile-nav__close {
  align-self: flex-end; font-size: 18px;
  color: var(--text-muted); padding: 4px 8px;
  margin-bottom: 16px;
  transition: color var(--tr);
}
.mobile-nav__close:hover { color: var(--white); }
.mobile-nav__link {
  display: block; padding: 12px 0;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--tr);
}
.mobile-nav__link:hover { color: var(--white); }
.mobile-nav__actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px;
}
.mobile-nav__actions .btn { width: 100%; justify-content: center; }

.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 998;
}
.overlay.is-visible { display: block; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  margin-top: var(--header-h);
  min-height: 460px;
  background:
    linear-gradient(to right, rgba(13,14,20,0.96) 35%, rgba(13,14,20,0.60) 100%),
    url('../images/banner.jpg') center center / cover no-repeat;
  background-color: #12161f;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--green);
}
/* subtle dot pattern */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(61,220,96,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 60px 20px;
  display: grid; grid-template-columns: 1fr 420px;
  align-items: center; gap: 40px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-dim);
  border: 1px solid rgba(61,220,96,0.3);
  color: var(--green);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 18px;
}
.hero__h1 {
  font-size: 42px; font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 16px;
}
.hero__subtitle {
  font-size: 15px; color: var(--text); line-height: 1.7;
  margin-bottom: 30px; max-width: 520px;
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust {
  display: flex; gap: 22px; flex-wrap: wrap;
}
.hero__trust li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
}
.trust-icon { font-size: 14px; }

/* Bonus card */
.hero__visual { display: flex; justify-content: flex-end; }
.hero__bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 32px;
  text-align: center; width: 100%; max-width: 360px;
  position: relative; overflow: hidden;
}
.hero__bonus-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
}
.bonus-card__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--green); margin-bottom: 10px;
}
.bonus-card__amount {
  font-size: 52px; font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 6px;
}
.bonus-card__desc { font-size: 14px; color: var(--text); margin-bottom: 20px; }
.bonus-card__desc strong { color: var(--white); }
.bonus-card__terms { font-size: 10px; color: var(--text-muted); margin-top: 10px; }

/* ── Features strip ────────────────────────────────────────── */
.features {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
}
.feature-card {
  background: var(--bg-card);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  transition: background var(--tr);
}
.feature-card:hover { background: var(--bg-card2); }
.feature-card__icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--green-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-card__title {
  font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 3px;
}
.feature-card__text { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* ── Section common ────────────────────────────────────────── */
.section-title {
  font-size: 20px; font-weight: 800; color: var(--white);
}
.games-section { padding: 32px 0; }
.games-section--alt { background: var(--bg-card); }
.games-section--alt .container { padding-top: 32px; padding-bottom: 32px; }
.games-section__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px;
}
.games-section__more { text-align: center; margin-top: 24px; }

/* Tabs */
.games-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.games-tab {
  padding: 6px 16px; font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
}
.games-tab:hover { color: var(--white); border-color: var(--text-muted); }
.games-tab.active {
  color: #000; background: var(--green);
  border-color: var(--green);
}

/* ── Games grid ────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--tr), border-color var(--tr);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--green); }
.game-card__link {
  display: block; position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.game-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-card__img { transform: scale(1.06); }
.game-card__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--tr);
}
.game-card:hover .game-card__overlay { opacity: 1; }
.play-btn {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000; font-size: 12px; font-weight: 800;
  padding: 9px 22px; border-radius: var(--radius-sm);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.game-card__badge {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px; letter-spacing: 0.5px;
}
.badge--hot  { background: var(--red); color: #fff; }
.badge--new  { background: var(--green); color: #000; }
.badge--excl { background: var(--purple); color: #fff; }

/* ── Promo banners ─────────────────────────────────────────── */
.promos { padding: 32px 0; background: var(--bg-card); }
.promos .container { padding-top: 0; padding-bottom: 0; }
.promos .section-title { margin-bottom: 20px; }
.promos__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.promo-card {
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  min-height: 190px;
  border: 1px solid var(--border);
  transition: border-color var(--tr), transform var(--tr);
}
.promo-card:hover { border-color: var(--green); transform: translateY(-2px); }
.promo-card--1 {
  background: linear-gradient(135deg, #080f10 0%, #0a2e20 55%, #0f4428 100%);
}
.promo-card--2 {
  background: linear-gradient(135deg, #0f0f0a 0%, #2e2500 55%, #3d3200 100%);
}
.promo-card--3 {
  background: linear-gradient(135deg, #0d080f 0%, #2a0a3a 55%, #3d1050 100%);
}
.promo-card__inner {
  position: absolute; inset: 0; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.promo-card__tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.3);
  padding: 3px 10px; border-radius: 3px; width: fit-content;
}
.promo-card__title {
  font-size: 22px; font-weight: 900; color: var(--white); line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.promo-card__text { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 5px; }

/* ── Payments ──────────────────────────────────────────────── */
.payments { padding: 30px 0; border-top: 1px solid var(--border); background: var(--bg-card); border-bottom: 1px solid var(--border); }
.payments .section-title { margin-bottom: 20px; font-size: 15px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.payments__grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.payment-badge {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 12px; font-weight: 700; color: var(--text);
  transition: border-color var(--tr), color var(--tr);
}
.payment-badge:hover { border-color: var(--green); color: var(--white); }

/* ── Article ───────────────────────────────────────────────── */
.article-section { padding: 36px 0; border-top: 1px solid var(--border); background: var(--bg); }
.article-inner {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.article-inner h2 {
  color: var(--white); font-size: 18px; font-weight: 700;
  margin: 24px 0 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-inner h2:first-child { margin-top: 0; }
.article-inner h3 { color: #c0cfe0; font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.article-inner h4 { color: var(--text); font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.article-inner p  { color: var(--text); font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.article-inner strong { color: var(--white); font-weight: 700; }
.article-inner a  { color: var(--green); text-decoration: underline; }
.article-inner a:hover { opacity: 0.8; }
.article-inner ul, .article-inner ol { margin: 8px 0 14px 20px; }
.article-inner ul { list-style: disc; }
.article-inner ol { list-style: decimal; }
.article-inner li { color: var(--text); margin-bottom: 6px; line-height: 1.7; }
.article-inner table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 13px; }
.article-inner thead tr { background: var(--bg-input); }
.article-inner th { padding: 10px 14px; text-align: left; color: var(--white); font-weight: 700; border: 1px solid var(--border); }
.article-inner td { padding: 9px 14px; color: var(--text); border: 1px solid var(--border); }
.article-inner tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.article-inner tr:hover td { background: var(--bg-input); color: var(--white); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #08090e;
  border-top: 1px solid var(--border);
  padding: 44px 0 22px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer__col--brand .logo { margin-bottom: 12px; }
.footer__about { font-size: 12px; color: var(--text-muted); line-height: 1.7; max-width: 260px; margin-bottom: 16px; }
.footer__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__badge {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px; font-size: 10px; font-weight: 700; color: var(--text-muted);
}
.footer__heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--white); margin-bottom: 14px;
}
.footer__links li { margin-bottom: 9px; }
.footer__links a { font-size: 13px; color: var(--text-muted); transition: color var(--tr); }
.footer__links a:hover { color: var(--green); }
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.footer__copy       { font-size: 11px; color: var(--text-muted); }
.footer__disclaimer { font-size: 11px; color: var(--text-muted); opacity: 0.7; max-width: 800px; line-height: 1.6; }

/* ── Mobile bottom nav ─────────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding: 6px 0 10px;
  flex-direction: row; justify-content: space-around; align-items: flex-end;
}
.bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
  color: var(--text-muted);
  padding: 4px 10px;
  transition: color var(--tr);
  text-decoration: none;
}
.bottom-nav__item.active { color: var(--green); }
.bottom-nav__item--cta {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000 !important; border-radius: 10px;
  padding: 4px 14px; margin-top: -6px;
}
.bottom-nav__icon  { font-size: 20px; }
.bottom-nav__label { font-size: 9px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .games-grid    { grid-template-columns: repeat(5, 1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .header__nav   { display: none; }
  .burger        { display: flex; }
  .bottom-nav    { display: flex; }
  .footer        { padding-bottom: 70px; }
  .hero__inner   { grid-template-columns: 1fr; }
  .hero__visual  { display: none; }
  .hero__h1      { font-size: 30px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid    { grid-template-columns: repeat(4, 1fr); }
  .promos__grid  { grid-template-columns: 1fr; gap: 12px; }
  .article-inner { padding: 20px; }
}
@media (max-width: 600px) {
  .hero__inner   { padding: 36px 16px; }
  .hero__h1      { font-size: 24px; }
  .hero__btns    { flex-direction: column; }
  .hero__btns .btn--lg { width: 100%; justify-content: center; }
  .games-grid    { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .header__actions .btn--outline { display: none; }
}
@media (max-width: 420px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
