/* ============================================================
   RIPPER CASINO — review & manual landing
   Aussie outback-luxe theme. All colors via CSS variables.
   ============================================================ */

:root {
  --bg-deep:   #120f0c;
  --bg:        #1a1611;
  --surface:   #221c15;
  --surface-2: #2c241a;
  --line:      #3a3024;
  --gold:      #ffc83d;
  --gold-soft: #ffd96b;
  --gold-deep: #e0a200;
  --ember:     #ef4423;
  --ember-dk:  #c5310f;
  --cream:     #f7efe2;
  --muted:     #b3a895;
  --muted-2:   #8a7f6c;
  --green:     #2fae6b;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow-gold: 0 14px 40px rgba(255,200,61,.22);

  --font-display: "Anton", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 600px at 85% -5%, rgba(255,200,61,.10), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(239,68,35,.10), transparent 55%);
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04;
  letter-spacing: .5px; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: .4em; color: var(--gold-soft); }
p  { margin-bottom: 1.05em; color: #e8ddca; }
strong { color: var(--cream); }
.eyebrow { font-family: var(--font-body); font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; font-size: .78rem; color: var(--gold); display: inline-block;
  margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; letter-spacing: .4px;
  border: 0; border-radius: 999px; padding: 15px 30px; font-size: 1rem;
  color: #20160a; background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep));
  box-shadow: var(--shadow-gold); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.05);
  box-shadow: 0 18px 46px rgba(255,200,61,.34); }
.btn:active { transform: translateY(0); }
.btn--ember { color: #fff; background: linear-gradient(180deg, #ff6a45, var(--ember-dk));
  box-shadow: 0 14px 40px rgba(239,68,35,.34); }
.btn--ghost { background: transparent; color: var(--cream); border: 1.5px solid var(--line);
  box-shadow: none; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 18px 40px; font-size: 1.08rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,15,12,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between;
  height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-weight: 700; font-size: .92rem; letter-spacing: .3px;
  text-transform: uppercase; }
.nav a:hover { color: var(--cream); }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-rating { display: flex; align-items: center; gap: 14px; margin: 18px 0 26px;
  flex-wrap: wrap; }
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; }
.rating-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); }
.rating-txt { color: var(--muted); font-size: .92rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); }
.hero-badge { position: absolute; bottom: -22px; left: -18px; background: var(--ember);
  color: #fff; font-family: var(--font-display); font-size: 1.05rem; padding: 14px 20px;
  border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-4deg);
  text-transform: uppercase; line-height: 1.1; }
.hero-badge span { display: block; font-family: var(--font-body); font-weight: 800;
  font-size: .72rem; letter-spacing: 1px; opacity: .9; }

/* ---------- Bonus highlight bar ---------- */
.offer-bar { background: linear-gradient(90deg, rgba(239,68,35,.16), rgba(255,200,61,.16));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-bar .wrap { display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.offer-bar .deal { font-family: var(--font-display); font-size: clamp(1.2rem,2.5vw,1.8rem);
  color: var(--cream); text-transform: uppercase; }
.offer-bar .deal b { color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Feature cards ---------- */
.cards { display: grid; gap: 22px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--gold-deep); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--surface-2), #181410); margin-bottom: 16px;
  font-size: 1.6rem; }
.card h3 { color: var(--cream); }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split.flip .split-media { order: 2; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); }

/* ---------- Game gallery ---------- */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game { position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); }
.game img { transition: transform .35s ease; }
.game:hover img { transform: scale(1.06); }
.game .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(0deg, rgba(18,15,12,.92), transparent);
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; }
.step::before { counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-size: 1.5rem; color: #20160a; width: 56px; height: 56px;
  border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep)); }
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; color: var(--muted); }

/* ---------- Payments ---------- */
.pays { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center; }
.pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; display: grid; place-items: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  margin-top: 26px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-family: var(--font-body); font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; font-size: .82rem; color: var(--gold); }
td { color: #e8ddca; font-size: .96rem; }
tr:last-child td { border-bottom: 0; }

/* ---------- Pros / cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc-box { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
  background: var(--surface); }
.pc-box.pros { border-top: 4px solid var(--green); }
.pc-box.cons { border-top: 4px solid var(--ember); }
.pc-box ul { list-style: none; }
.pc-box li { padding: 9px 0 9px 30px; position: relative; color: #e8ddca; }
.pc-box.pros li::before { content: "✓"; color: var(--green); position: absolute; left: 0;
  font-weight: 800; }
.pc-box.cons li::before { content: "✕"; color: var(--ember); position: absolute; left: 0;
  font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-display);
  text-transform: uppercase; font-size: 1.08rem; color: var(--cream); display: flex;
  justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq h3 { margin: 0; } /* keep heading semantics inside summary */

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ember-dk), #7a1d08);
  border-radius: var(--radius); padding: 54px 40px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 80% 0%, rgba(255,200,61,.3), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe6dd; max-width: 620px; margin: 0 auto 24px; }

/* ---------- Verdict ---------- */
.verdict { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; }
.score { text-align: center; }
.score .big { font-family: var(--font-display); font-size: 4.4rem; color: var(--gold);
  line-height: 1; }
.score .out { color: var(--muted); font-weight: 800; }
.score .stars { display: block; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 54px 0 30px;
  margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 38px; margin-bottom: 34px; }
.foot-grid h3 { font-size: 1rem; color: var(--cream); }
.foot-grid ul { list-style: none; }
.foot-grid li { margin: 8px 0; }
.foot-grid a { color: var(--muted); font-weight: 600; }
.foot-grid a:hover { color: var(--gold); }
.foot-note { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted-2);
  font-size: .85rem; }
.foot-note .age { display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; border: 2px solid var(--ember); color: var(--ember); font-weight: 800;
  margin-right: 10px; vertical-align: middle; }

/* ---------- Responsible row ---------- */
.responsible { display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; }
.responsible .age { width: 46px; height: 46px; font-size: 1rem; flex: none; }

/* ---------- Reveal on load ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .cards.cols-4, .games { grid-template-columns: repeat(2, 1fr); }
  .pays { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards.cols-4, .cards.cols-3, .cards.cols-2, .games { grid-template-columns: 1fr; }
  .pc { grid-template-columns: 1fr; }
  .verdict { grid-template-columns: 1fr; text-align: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .pays { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn--ghost { display: none; }
}
