/*
Theme Name: Fair Go Casino Australia
Theme URI: https://fair-gocasinoaustralia.com
Author: Fair Go
Description: One-screen transit landing page for Fair Go Casino Australia.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: fair-go-casino-australia
*/

:root {
  --red-dark: #5d001c;
  --red: #b40034;
  --gold: #fff238;
  --gold-deep: #ffc400;
  --ink: #210006;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--red-dark);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: #8d002d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(90, 0, 28, 0.08) 0%, rgba(30, 0, 10, 0.32) 100%),
    radial-gradient(circle at 50% 45%, rgba(255, 245, 68, 0.22), transparent 28%),
    url("assets/aviator-hero.png") center / cover no-repeat;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, transparent 0%, rgba(72, 0, 22, 0.08) 48%, rgba(36, 0, 12, 0.56) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 18%, transparent 70%, rgba(0, 0, 0, 0.22) 100%);
  content: "";
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(100%, 1280px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 40px) 18px clamp(24px, 5vw, 56px);
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mini-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 18px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: linear-gradient(180deg, #141927 0%, #03040a 100%);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: clamp(18px, 3vw, 28px);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  transform: skew(-8deg);
}

.mini-logo span {
  display: inline-block;
  transform: skew(8deg);
}

.mini-logo-mark {
  color: var(--white);
}

.mini-logo-accent {
  color: #48b7ff;
}

.mini-logo-full {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vh, 48px) 0 clamp(96px, 14vh, 132px);
  text-align: center;
}

.hero-inner {
  display: grid;
  justify-items: center;
  width: min(100%, 820px);
}

.badge {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
  text-shadow: 0 4px 14px rgba(55, 0, 0, 0.45);
}

h1 {
  max-width: 860px;
  margin: 0;
  color: var(--white);
  font-size: clamp(42px, 7.7vw, 78px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow:
    0 4px 22px rgba(55, 0, 0, 0.62),
    0 0 18px rgba(255, 255, 255, 0.1);
  text-wrap: balance;
}

.subtitle {
  width: min(100%, 680px);
  margin: 14px auto 0;
  color: var(--soft-white);
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 650;
  line-height: 1.42;
  text-shadow: 0 3px 12px rgba(55, 0, 0, 0.55);
}

.cta-wrap {
  width: min(100%, 440px);
  margin-top: clamp(34px, 7vh, 58px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(72px, 8vw, 88px);
  padding: 20px 30px;
  border: 0;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 42%),
    linear-gradient(180deg, #fff84f 0%, var(--gold-deep) 100%);
  box-shadow:
    0 20px 38px rgba(55, 0, 0, 0.42),
    0 0 34px rgba(255, 239, 43, 0.34),
    inset 0 -3px 0 rgba(143, 80, 0, 0.28);
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  box-shadow:
    0 24px 48px rgba(55, 0, 0, 0.5),
    0 0 46px rgba(255, 239, 43, 0.48),
    inset 0 -3px 0 rgba(143, 80, 0, 0.28);
  filter: saturate(1.06);
  transform: translateY(-2px);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.86);
  outline-offset: 5px;
}

.trust-line {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vh, 28px);
  width: min(100% - 32px, 460px);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-shadow: 0 3px 12px rgba(55, 0, 0, 0.72);
  transform: translateX(-50%);
}

@media (max-width: 720px) {
  body::before {
    background-position: center bottom;
  }

  .site-shell {
    padding: 18px 14px 18px;
  }

  .mini-logo {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
  }

  .hero {
    padding: 22px 0 80px;
  }

  .badge {
    max-width: 13ch;
  }

  h1 {
    max-width: 11ch;
  }

  .subtitle {
    max-width: 330px;
    margin-top: 12px;
    font-size: clamp(14px, 4vw, 16px);
  }

  .cta-wrap {
    width: min(100%, 340px);
    margin-top: 34px;
  }

  .trust-line {
    bottom: 16px;
    font-size: 12px;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  .site-shell {
    min-height: 640px;
  }
}
