/* ==========================================================================
   Casitoros — Tema-4: BOLD CRIMSON
   Dark charcoal base + bold crimson accent + warm amber highlight.
   ========================================================================== */

:root {
  --bg:        #141414;
  --bg-2:      #1a1010;
  --bg-3:      #201414;
  --panel:     #241616;
  --panel-2:   #2c1a1a;
  --ink:       #f4ecec;
  --ink-soft:  #cbb9b9;
  --ink-mute:  #9a8686;
  --line:      #3a2020;
  --crimson:   #e11d2a;
  --crimson-d: #c81e2c;
  --crimson-x: #9c1420;
  --amber:     #ff9e2c;
  --amber-d:   #f97316;
  --gold:      #ffc857;
  --ok:        #38d39f;
  --radius:    14px;
  --radius-s:  9px;
  --shadow:    0 18px 46px rgba(0,0,0,.55);
  --shadow-red:0 14px 40px rgba(225,29,42,.38);
  --grad-red:  linear-gradient(135deg, #e11d2a 0%, #c81e2c 52%, #9c1420 100%);
  --grad-warm: linear-gradient(120deg, #ff9e2c 0%, #e11d2a 60%, #c81e2c 100%);
  --maxw:      1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 460px at 82% -8%, rgba(225,29,42,.16), transparent 60%),
    radial-gradient(760px 380px at -6% 4%, rgba(255,158,44,.10), transparent 55%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 800;
  text-transform: none;
}

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 6px 14px;
  border: 1px solid rgba(255,158,44,.35);
  border-radius: 999px;
  background: rgba(255,158,44,.07);
  margin-bottom: 16px;
}

.section { padding: 78px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head h2 .hl {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

.alt { background:
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: .98rem; letter-spacing: .01em;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-red); color: #fff;
  box-shadow: var(--shadow-red);
  text-transform: uppercase; letter-spacing: .04em;
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.07); box-shadow: 0 20px 52px rgba(225,29,42,.5); }
.btn-amber { background: var(--grad-warm); color: #1a0b02; box-shadow: 0 14px 34px rgba(255,158,44,.36); text-transform: uppercase; letter-spacing: .04em; }
.btn-amber:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--crimson); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 40px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(17,12,12,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand-tag { display: none; font-size: .68rem; letter-spacing: .18em; color: var(--amber); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .93rem;
  color: var(--ink-soft); transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(225,29,42,.14); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 74px 0 66px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,.97) 0%, rgba(26,16,16,.86) 46%, rgba(20,20,20,.55) 100%),
    url("/assets/images/hero-casino.webp") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
.hero h1 .stroke {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead { color: var(--ink-soft); font-size: 1.14rem; margin: 20px 0 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.7rem; font-weight: 800; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-stats .stat span { font-size: .82rem; color: var(--ink-mute); letter-spacing: .04em; }

.hero-card {
  background: linear-gradient(160deg, var(--panel-2), var(--bg-3));
  border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow); position: relative;
}
.hero-card .badge {
  position: absolute; top: -14px; left: 26px;
  background: var(--grad-red); color: #fff; font-weight: 800; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px;
  box-shadow: var(--shadow-red);
}
.hero-card h3 { font-size: 1.35rem; margin: 12px 0 6px; }
.hero-card .big {
  font-size: 2.7rem; font-weight: 800; margin: 6px 0;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero-card ul { margin: 14px 0 20px; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.hero-card li::before { content: "▸"; color: var(--crimson); font-weight: 900; }

/* ---------- Marquee strip ---------- */
.strip { background: var(--grad-red); color: #fff; }
.strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding-top: 16px; padding-bottom: 16px; text-align: center; }
.strip span { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.strip span::before { content: "◆"; color: var(--gold); font-size: .7rem; }

/* ---------- Games grid ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--crimson); box-shadow: var(--shadow-red); }
.game-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .thumb img { transform: scale(1.07); }
.game-card .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(20,10,10,.82); border: 1px solid var(--line);
  color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.game-card .body { padding: 16px 18px 20px; }
.game-card h3 { font-size: 1.12rem; }
.game-card p { color: var(--ink-mute); font-size: .9rem; margin-top: 6px; }

/* ---------- Promotions ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.promo {
  display: grid; grid-template-columns: 150px 1fr; gap: 0;
  background: linear-gradient(150deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.promo:hover { transform: translateY(-5px); border-color: var(--amber-d); box-shadow: var(--shadow); }
.promo .pic { overflow: hidden; }
.promo .pic img { width: 100%; height: 100%; object-fit: cover; }
.promo .info { padding: 22px 22px 24px; }
.promo .kicker { color: var(--amber); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.promo h3 { font-size: 1.25rem; margin: 8px 0 8px; }
.promo p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 16px; }

/* ---------- Features / why-us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--crimson); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-red); color: #fff; font-size: 1.4rem; font-weight: 800;
  box-shadow: var(--shadow-red); margin-bottom: 18px;
}
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--crimson); margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--ink-mute); font-size: .9rem; }

/* ---------- Split / banner CTA ---------- */
.cta-banner {
  background: var(--grad-red);
  border-radius: 22px; padding: 52px 44px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-red);
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 240px at 80% 0%, rgba(255,200,87,.28), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 1.08rem; margin: 14px auto 26px; max-width: 620px; }

/* ---------- Content pages ---------- */
.page-hero { padding: 66px 0 42px; position: relative; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero p { color: var(--ink-soft); margin-top: 14px; max-width: 680px; font-size: 1.08rem; }
.crumbs { font-size: .84rem; color: var(--ink-mute); margin-bottom: 18px; }
.crumbs a:hover { color: var(--amber); }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin: 28px 0 10px; color: var(--gold); }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul.ticks { margin: 8px 0 20px; display: grid; gap: 10px; }
.prose ul.ticks li { display: flex; gap: 11px; color: var(--ink-soft); }
.prose ul.ticks li::before { content: "✔"; color: var(--crimson); font-weight: 800; }
.prose .callout {
  background: linear-gradient(150deg, var(--panel-2), var(--bg-3));
  border: 1px solid var(--line); border-left: 4px solid var(--crimson);
  border-radius: var(--radius-s); padding: 20px 22px; margin: 24px 0;
}
.prose .callout strong { color: #fff; }
.prose a.inline { color: var(--amber); font-weight: 600; text-decoration: underline; }

.faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.03rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--crimson); font-weight: 800; font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.info-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 18px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--gold); }
.info-card p { color: var(--ink-soft); font-size: .96rem; }
.cform { background: linear-gradient(160deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cform label { display: block; font-size: .86rem; font-weight: 700; margin: 14px 0 6px; color: var(--ink-soft); }
.cform label:first-child { margin-top: 0; }
.cform input, .cform textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 14px; color: var(--ink); font-size: .96rem; font-family: inherit;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--crimson); }
.cform textarea { min-height: 130px; resize: vertical; }
.cform .btn { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand img { height: 30px; margin-bottom: 14px; }
.foot-brand p { color: var(--ink-mute); font-size: .92rem; max-width: 320px; }
.foot-col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: .93rem; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.age-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  border: 1px solid var(--crimson); color: var(--crimson); font-weight: 800;
  border-radius: 999px; padding: 5px 12px; font-size: .8rem;
}
.foot-bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--ink-mute); font-size: .85rem;
}
.foot-note { color: var(--ink-mute); font-size: .8rem; line-height: 1.6; margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 14px 18px 22px; transform: translateY(-140%); opacity: 0;
    transition: transform .28s ease, opacity .2s ease; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-toggle { display: flex; }
  .games-grid, .feature-grid, .promo-grid { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 110px 1fr; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .promo { grid-template-columns: 1fr; }
  .promo .pic { height: 150px; }
}
