/* R7 Pokies Casino — site styles. Palette taken from the app icon. */
:root {
  --midnight: #0b1533;
  --navy: #14245a;
  --navy-line: #24387a;
  --gold: #f2c14e;
  --gold-light: #ffe6a3;
  --gold-deep: #b9862a;
  --ivory: #fff7e6;
  --ivory-2: #d9d3c4;
  --wine: #6e1424;
  --foil: linear-gradient(180deg, #fff3c4 0%, #f2c14e 46%, #c08a2a 74%, #f7d477 100%);
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(242, 193, 78, .16), transparent 60%),
    var(--midnight);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, li { overflow-wrap: break-word; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(242, 193, 78, .35); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .04em; }
.top nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--ivory-2); text-decoration: none; }
.top nav a:hover { color: var(--gold-light); }

/* Hero */
.hero { padding: 36px 20px 64px; text-align: center; }
.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 8.2vw, 104px);
  line-height: 1;
  letter-spacing: .02em;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55));
}
.hero .lead { max-width: 34em; margin: 22px auto 30px; font-size: clamp(17px, 2vw, 20px); color: var(--ivory-2); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  background: var(--foil); color: #24150a; text-decoration: none;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 30px rgba(242, 193, 78, .25), inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.btn:hover { color: #24150a; filter: brightness(1.05); }
.btn svg { width: 20px; height: 20px; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--ivory-2); opacity: .8; }

/* Landscape iPhone frame */
.device {
  position: relative;
  margin: 56px auto 0;
  width: min(100%, 980px);
  aspect-ratio: 2622 / 1206;
  padding: 1.6%;
  border-radius: 7.4% / 16%;
  background: linear-gradient(160deg, #70747c 0%, #2b2d31 20%, #8e9199 48%, #2a2c30 72%, #60636a 100%);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .6), 0 0 0 2px rgba(0, 0, 0, .55);
  transform: rotate(-2deg);
}
.device::before { /* glow behind the phone */
  content: ""; position: absolute; inset: -12% -6%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(242, 193, 78, .28), transparent 65%);
}
.device .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 6.4% / 14%; overflow: hidden; background: #000;
  border: 6px solid #050505;
}
.device .screen img { width: 100%; height: 100%; object-fit: cover; }
.device .island {
  position: absolute; left: 1.2%; top: 50%; width: 1.9%; height: 23%;
  transform: translateY(-50%); border-radius: 999px; background: #000;
}
@media (prefers-reduced-motion: no-preference) {
  .device { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: rotate(-2deg); } }
}

/* Sections */
section { padding: 60px 0; }
h2 {
  margin: 0 0 14px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: .02em;
  color: var(--gold-light);
}
.intro { max-width: 40em; color: var(--ivory-2); margin: 0 0 36px; }

/* Games */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game figure { margin: 0; }
.game img { border-radius: 14px; border: 1px solid rgba(242, 193, 78, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.game h3 { margin: 18px 0 4px; font-family: var(--display); font-size: 22px; color: var(--ivory); }
.game p { margin: 0; color: var(--ivory-2); font-size: 15.5px; }
.also { margin-top: 30px; color: var(--ivory-2); font-size: 15.5px; }

/* Rewards */
.rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.rewards ul { list-style: none; margin: 0; padding: 0; }
.rewards li { padding: 16px 0; border-top: 1px solid var(--navy-line); }
.rewards li:last-child { border-bottom: 1px solid var(--navy-line); }
.rewards strong { display: block; font-size: 17px; color: var(--gold-light); }
.rewards li span { color: var(--ivory-2); font-size: 15.5px; }

/* Fair play band */
.fair {
  background: linear-gradient(180deg, #5a0f1d, var(--wine));
  border-top: 1px solid rgba(242, 193, 78, .35);
  border-bottom: 1px solid rgba(242, 193, 78, .35);
}
.fair .wrap { display: flex; gap: 28px; align-items: center; }
.fair .age {
  flex: none; display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold-light);
  font-family: var(--display); font-weight: 900; font-size: 30px;
}
.fair p { margin: 0; max-width: 46em; }

/* Support */
.faq { max-width: 46em; }
.faq details { border-top: 1px solid var(--navy-line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--navy-line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ivory); }
.faq summary:hover { color: var(--gold-light); }
.faq details p { margin: 10px 0 0; color: var(--ivory-2); }
.contact { margin-top: 30px; font-size: 18px; }

/* Footer */
footer { padding: 36px 0 48px; border-top: 1px solid var(--navy-line); color: var(--ivory-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--ivory-2); }

/* Legal pages */
.legal { padding: 24px 20px 80px; }
.legal article { max-width: 44em; }
.legal h1 {
  margin: 0 0 6px; font-family: var(--display); font-weight: 900;
  font-size: clamp(36px, 5.5vw, 56px); line-height: 1.05;
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal .updated { margin: 0 0 34px; color: var(--ivory-2); font-size: 15px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ivory-2); }
.legal strong { color: var(--ivory); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }

/* Responsive */
@media (max-width: 860px) {
  .games { grid-template-columns: 1fr; gap: 36px; }
  .rewards { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; font-size: 14px; }
  .brand span { display: none; }
  .hero { padding: 16px 20px 40px; }
  .device { margin-top: 40px; padding: 1.8%; }
  .device .screen { border-width: 3px; }
  section { padding: 56px 0; }
  .fair .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
  .fair .age { width: 76px; height: 76px; font-size: 24px; }
}
