/* ==========================================================================
   Winshark Casino Australia — one-page article layout
   Palette & type derived from the official Winshark design language:
   deep-sea navy surfaces, golden-orange CTA gradient, neon accents.
   ========================================================================== */

:root {
  --bg:        #101522;   /* page base — very dark navy */
  --surface:   #1b2234;   /* raised surfaces */
  --surface-2: #222b40;   /* hover surfaces */
  --ocean-1:   #0b1c48;   /* deep sapphire */
  --ocean-2:   #124386;   /* oceanic blue */
  --gold:      #ffa826;   /* primary accent */
  --gold-2:    #ff8c00;   /* accent gradient end */
  --cyan:      #00e5ff;   /* neon teal accent */
  --pink:      #ff5388;   /* neon pink accent */
  --text:      #f2f5fa;
  --muted:     #a5b4cb;
  --line:      rgba(165, 180, 203, .18);

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 760px;
  --radius: 14px;
}

/* ---------- reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(18, 67, 134, .55), transparent 70%),
    radial-gradient(900px 420px at -10% 30%, rgba(11, 28, 72, .5), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 1.75rem);
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1em .45em;
  color: var(--gold);
  white-space: nowrap;
}

a { color: var(--cyan); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 380px at 50% -120px, rgba(255, 168, 38, .16), transparent 70%),
    linear-gradient(180deg, var(--ocean-1), var(--bg) 90%);
  padding-bottom: 0;
  overflow: hidden;
}

.hero .wrap { padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(1.6rem, 4vw, 2.4rem); }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .9rem;
}

.eyebrow .depth {
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, .4);
  border-radius: 999px;
  padding: .1em .6em;
  margin-right: .35em;
}

h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: .01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}

.logo-word {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.standfirst {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--muted);
  margin-top: .9rem;
  max-width: 56ch;
}

.offer-stripe {
  margin-top: 1.6rem;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 168, 38, .12), rgba(255, 168, 38, .03));
  border-radius: 0 var(--radius) var(--radius) 0;
}

.offer-main strong { color: var(--gold); }

.promo-code { margin-top: .5rem; font-weight: 600; }
.promo-code code { font-size: 1.05em; padding: .15em .6em; }

.hero-cta { margin-top: 1.5rem; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1rem;
  color: #101522;
  text-decoration: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  padding: .95em 2.2em;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(255, 140, 0, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 140, 0, .5); }

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 1.6rem;
  font-size: .86rem;
  color: var(--muted);
}

.trust-strip li::before { content: "✔"; color: var(--cyan); margin-right: .45em; }

.hero-figure { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 1.75rem); }
.hero-figure img { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }

/* ---------- article flow ---------- */

section { padding-top: clamp(2.6rem, 6vw, 4rem); }

section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 4.4vw, 2rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
  text-wrap: balance;
}

section h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  letter-spacing: .02em;
  color: var(--gold);
  margin: 2rem 0 .7rem;
}

section p + p, section p + ul, section ul + p, section p + .table-scroll { margin-top: .9rem; }

section figure { margin: 1.4rem 0; }

/* ---------- lists ---------- */

section ul, section ol { padding-left: 1.3rem; display: grid; gap: .45rem; }

section ul li::marker { content: "◆"; color: var(--cyan); font-size: .8em; }

section ol li::marker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: var(--gold);
}

.steps { counter-reset: step; list-style: none; counter-increment: none; padding-left: 0; gap: 1rem; }

.steps li { counter-increment: step; position: relative; padding-left: 3.2rem; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  color: #101522;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  border-radius: 50%;
}

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--radius); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }

caption {
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding: .8rem 1rem .2rem;
}

th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }

thead th {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .09em;
  color: var(--gold);
  background: var(--surface);
  border-bottom: 2px solid rgba(255, 168, 38, .45);
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }

td.gold { color: var(--gold); font-weight: 600; }

.total-row td { background: rgba(255, 168, 38, .09); border-top: 2px solid rgba(255, 168, 38, .45); font-weight: 700; }

.note { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--cyan); padding-left: .9rem; margin-top: 1rem; }

/* ---------- FAQ ---------- */

details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

details:first-of-type { border-top: 1px solid var(--line); }

summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 2.2rem;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform .2s ease;
}

details[open] summary::after { content: "−"; }

details p { margin-top: .7rem; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(11, 28, 72, .5));
  padding: 2.4rem 0 3rem;
  font-size: .88rem;
  color: var(--muted);
}

.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: .8rem;
}

.footer-links { margin-top: 1rem; }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .table-scroll { margin-inline: -.4rem; }
  .btn { display: block; text-align: center; }
  .hero-cta .btn + .btn { margin-top: .7rem; }
}
