/* ==========================================================================
   BABA SAAD — styles.css
   Palette from the logo: smoky black, neon red, gold, silver.
   ========================================================================== */
:root {
  --bg: #080606;
  --card: #150d0d;
  --line: rgba(212, 162, 74, .18);
  --text: #f3ece4;
  --muted: #b3a59a;
  --red: #e0141f;
  --red-2: #ff3b3b;
  --gold: #e3b45a;
  --gold-2: #ffd98a;
  --gold-3: #a8742a;
  --radius: 18px;
  --display: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 16px/1.6 var(--body); overflow-x: hidden;
  background:
    radial-gradient(60% 40% at 90% 60%, rgba(224, 20, 31, .12), transparent 70%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metal {
  background: linear-gradient(180deg, #fff 0%, #c9c9c9 40%, #7d7d7d 55%, #e9e9e9 80%, #9a9a9a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --------------------------------------------------------------- BUTTONS */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px; overflow: hidden;
  font: 800 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #1a0d00;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  box-shadow: 0 0 0 1px rgba(255, 217, 138, .5) inset, 0 10px 30px -10px rgba(227, 180, 90, .6);
  transition: transform .2s, box-shadow .2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transition: transform .6s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 217, 138, .7) inset, 0 14px 40px -8px rgba(227, 180, 90, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn span { position: relative; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }

/* ---------------------------------------------------------------- HEADER */
.head { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.head.is-solid { background: rgba(8, 6, 6, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.head__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold), 0 0 18px rgba(224, 20, 31, .5); }
.brand b { font: 900 18px/1 var(--display); letter-spacing: .08em; }
.brand b span { color: var(--gold); }

/* ------------------------------------------------------------------ HERO */
.hero { position: relative; min-height: 88svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 15%, rgba(8, 6, 6, .7) 60%, rgba(8, 6, 6, .85)),
    linear-gradient(0deg, var(--bg), transparent 45%),
    url("../img/street-sm.jpg") center/cover no-repeat;
  filter: saturate(.6);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 55% at 74% 50%, rgba(224, 20, 31, .35), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; }
.kicker { margin: 0 0 12px; color: var(--gold); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; font-size: 13px; }
.hero__title { margin: 0; font: 900 clamp(52px, 9vw, 112px)/.95 var(--display); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .8)); }
.hero__sub { max-width: 480px; margin: 20px 0 28px; color: #d8cfc6; font-size: 17px; }
.hero__logo { justify-self: center; width: min(440px, 100%); }
.hero__logo img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(227, 180, 90, .6), 0 0 80px rgba(224, 20, 31, .55), 0 30px 60px rgba(0, 0, 0, .8);
}

/* --------------------------------------------------------------- SOCIALS */
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.social {
  --c: var(--gold);
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px;
  border-radius: 14px; background: rgba(21, 13, 13, .85); border: 1px solid var(--line);
  font-weight: 700; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.social svg { width: 24px; height: 24px; flex: none; fill: var(--c); }
.social:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 12px 30px -14px var(--c); }
.social--youtube { --c: #ff2a2a; } .social--instagram { --c: #e1306c; }
.social--kick { --c: #53fc18; } .social--twitch { --c: #9146ff; }

.mini-socials { display: flex; gap: 8px; }
.mini-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: .2s; }
.mini-socials a:hover { color: #000; background: var(--gold); border-color: var(--gold); }
.mini-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* --------------------------------------------------------------- CASINOS */
.casinos { padding: 80px 0 100px; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head p { margin: 0; color: var(--muted); }
.h2 { font: 900 clamp(30px, 4.6vw, 46px)/1.1 var(--display); margin: 0 0 10px; }

.casino-list { display: grid; gap: 16px; }
.casino {
  display: grid; grid-template-columns: 34px 84px 1.3fr 1.6fr auto; align-items: center; gap: 22px;
  padding: 20px 24px; border-radius: var(--radius);
  background: linear-gradient(90deg, #1b1010, var(--card)); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.casino:hover { transform: translateY(-3px); border-color: rgba(227, 180, 90, .5); box-shadow: 0 20px 40px -22px rgba(224, 20, 31, .6); }
.casino--top { border-color: rgba(227, 180, 90, .6); box-shadow: 0 0 0 1px rgba(227, 180, 90, .2), 0 20px 50px -26px rgba(227, 180, 90, .6); }
.casino__rank { font: 900 28px/1 var(--display); color: rgba(227, 180, 90, .55); text-align: center; }
.casino__logo { width: 84px; height: 84px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: #0c0707; border: 1px solid var(--line); }
.casino__logo img { width: 100%; height: 100%; object-fit: contain; }
.mono { font: 900 28px/1 var(--display); color: var(--gold); }
.casino__id h3 { margin: 0 0 4px; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.casino__id p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.score { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.score b { color: var(--text); font-size: 14px; }
.badge { font-size: 10px; font-weight: 800; letter-spacing: .14em; padding: 4px 9px; border-radius: 999px; background: var(--red); color: #fff; }
.badge--exclusive { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #1a0d00; }
.badge--new { background: #1f8f4e; }
.casino__stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.casino__stats div { padding: 10px 6px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); text-align: center; }
.casino__stats dt { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.casino__stats dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; line-height: 1.3; }
.casino__cta { display: grid; gap: 6px; justify-items: center; }
.casino__cta small { font-size: 11px; color: #85786d; }

/* ---------------------------------------------------------------- FOOTER */
.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; background: #050404; }
.foot__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
.foot__18 { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(224, 20, 31, .35); background: rgba(224, 20, 31, .06); }
.foot__18 p { margin: 0; font-size: 14px; color: #d8cfc6; }
.badge18 { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--red); color: var(--red-2); font-weight: 900; }
.foot__disc { color: var(--muted); font-size: 13px; margin: 20px 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot__links a { font-size: 14px; font-weight: 600; padding: 6px 0; }
.foot__links a:hover, .foot__copy a:hover { color: var(--gold); }
.foot__copy { margin: 22px 0 0; font-size: 12px; color: #7d7067; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------ RESPONSIVE */
@media (max-width: 960px) {
  .casino { grid-template-columns: 34px 72px 1fr; gap: 14px 16px; }
  .casino__logo { width: 72px; height: 72px; }
  .casino__stats, .casino__cta { grid-column: 1 / -1; }
  .casino__cta .btn { width: 100%; }
}
@media (max-width: 820px) {
  .hero { min-height: 0; padding-top: 96px; text-align: center; }
  .hero__in { grid-template-columns: 1fr; gap: 30px; }
  .hero__logo { order: -1; width: min(280px, 72vw); }
  .hero__sub { margin-inline: auto; }
  .socials { grid-template-columns: repeat(2, 1fr); max-width: 460px; margin: 0 auto; }
  .casinos { padding: 60px 0 80px; }
}
@media (max-width: 520px) {
  .casino { padding: 18px 16px; }
  .casino__stats { grid-template-columns: repeat(2, 1fr); }
  .social { padding: 0 14px; font-size: 15px; }
}
