/*
Theme Name: Lucky Spin Zone
Theme URI: https://luckyspinzone.it.com/
Author: Lucky Spin Zone
Description: A modern social games theme for Lucky Spin Zone.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: luckyspinzone
*/

:root {
  --bg: #151719;
  --surface: #202326;
  --surface-2: #2b2f33;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f5f6;
  --muted: #b8bdc2;
  --accent: #e9c94b;
  --accent-strong: #ffd94f;
  --ink: #191a1b;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 8%, rgba(233, 201, 75, 0.1), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(21, 23, 25, 0.88);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(233, 201, 75, 0.1);
}
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.site-nav a:hover { color: var(--accent); }
.age-pill {
  border: 1px solid rgba(233, 201, 75, 0.35);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--accent);
  font-weight: 800;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -25px;
  background: var(--hero-image) center / cover no-repeat;
  filter: blur(8px) saturate(0.72);
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 18, 19, 0.96) 0%, rgba(16, 18, 19, 0.76) 44%, rgba(16, 18, 19, 0.38) 100%);
}
.hero-content { max-width: 670px; padding: 100px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; }
h1 { margin: 0 0 22px; font-size: clamp(3.4rem, 8vw, 6.8rem); }
h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); }
.hero-copy { max-width: 570px; margin: 0 0 32px; color: #d2d5d7; font-size: 1.08rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(233, 201, 75, 0.2);
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--accent-strong); }
.games-section { padding: 92px 0 110px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-heading p { max-width: 440px; margin: 0; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.game-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.game-card:hover img { transform: scale(1.035); }
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(10, 11, 12, 0.92) 100%);
}
.game-card-content {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.game-card h3 { margin: 0; max-width: 60%; font-size: clamp(1.25rem, 3vw, 1.9rem); }
.game-card .button { min-height: 44px; padding: 9px 18px; white-space: nowrap; }
.game-shell { padding: 48px 0 80px; }
.game-shell-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.back-link { color: var(--accent); text-decoration: none; font-weight: 700; }
.game-frame {
  display: block;
  width: 100%;
  height: min(78vh, 850px);
  min-height: 580px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080909;
  box-shadow: var(--shadow);
}
.content-page { min-height: 60vh; padding: 80px 0 100px; }
.content-card { max-width: 850px; padding: clamp(26px, 5vw, 55px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.content-card h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.content-card p, .content-card li { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #111315; }
.footer-inner { padding: 58px 0 28px; }
.disclaimer { max-width: 900px; color: var(--muted); font-size: 0.88rem; }
.disclaimer h2 { margin-bottom: 18px; color: var(--text); font-size: 1.25rem; letter-spacing: -0.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 20px 0; }
.footer-links a { color: var(--accent); text-decoration: none; }
.copyright { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: #858b90; font-size: 0.82rem; }

@media (max-width: 800px) {
  .site-nav a:not(.age-pill) { display: none; }
  .hero { min-height: 560px; }
  .hero::after { background: rgba(16, 18, 19, 0.72); }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 260px; }
  .section-heading, .game-shell-top { align-items: flex-start; flex-direction: column; }
  .game-frame { min-height: 520px; height: 72vh; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero-content { padding: 76px 0; }
  h1 { font-size: 3rem; }
  .games-section { padding: 66px 0 80px; }
  .game-card-content { right: 15px; bottom: 15px; left: 15px; }
  .game-card h3 { max-width: 55%; font-size: 1.12rem; }
  .game-card .button { padding: 8px 14px; font-size: 0.82rem; }
}
