/*
Theme Name: Spin Play Club
Theme URI: https://spinplayclub.it.com/
Author: Spin Play Club
Description: A modern blue entertainment theme for Spin Play Club.
Version: 1.0.0
Text Domain: spinplayclub
*/

:root {
  --ink: #ecf5ff;
  --muted: #a7bdd6;
  --navy: #061426;
  --navy-soft: #0a203a;
  --panel: rgba(13, 41, 70, 0.78);
  --line: rgba(131, 190, 240, 0.18);
  --blue: #4da9ef;
  --blue-light: #b8e3ff;
  --shadow: 0 24px 60px rgba(0, 7, 18, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(45, 128, 195, 0.18), transparent 32rem),
    linear-gradient(180deg, #061426 0%, #071a2e 46%, #061321 100%);
  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%; }
.site-shell { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 18, 33, 0.82);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1.02rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.brand-mark { width: 32px; height: 32px; border: 1px solid rgba(184, 227, 255, .65); border-radius: 50%; background: radial-gradient(circle at 36% 30%, #d8f2ff 0 8%, #54afea 9% 28%, #123f6b 29% 60%, #081b31 61%); box-shadow: 0 0 24px rgba(77, 169, 239, .32); }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .92rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: #fff; }
.age-chip { padding: 4px 10px; border: 1px solid rgba(184, 227, 255, .28); border-radius: 999px; color: var(--blue-light); font-weight: 800; }
.hero { position: relative; min-height: 570px; overflow: hidden; display: grid; align-items: end; border-bottom: 1px solid var(--line); }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { background-position: center; background-size: cover; filter: blur(5px); transform: scale(1.025); opacity: .72; }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgba(4, 16, 31, .94) 0%, rgba(5, 20, 38, .7) 46%, rgba(5, 17, 31, .38) 100%), linear-gradient(0deg, #061426 0%, transparent 55%); }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 96px 0 84px; }
.eyebrow { margin: 0 0 15px; color: var(--blue-light); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(3rem, 8vw, 6.5rem); line-height: .94; letter-spacing: -.065em; }
.hero-copy { max-width: 570px; margin-bottom: 28px; color: #c0d3e5; font-size: 1.08rem; }
.primary-button, .play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(205, 237, 255, .36);
  border-radius: 999px;
  color: #061426;
  background: #b8e3ff;
  box-shadow: 0 14px 34px rgba(24, 115, 179, .25);
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.primary-button { min-height: 50px; padding: 0 24px; }
.primary-button:hover, .play-button:hover { transform: translateY(-2px); background: #e2f5ff; }
.games-section { padding: 80px 0 92px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.045em; }
.section-head p { max-width: 390px; margin-bottom: 2px; color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card { position: relative; overflow: hidden; min-height: 330px; border: 1px solid var(--line); border-radius: 22px; background: var(--navy-soft); box-shadow: var(--shadow); isolation: isolate; }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover img { transform: scale(1.04); }
.game-card::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(3, 12, 24, .94) 0%, rgba(3, 12, 24, .12) 65%); }
.card-content { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-content h3 { margin: 0; color: #fff; font-size: 1.2rem; line-height: 1.15; }
.play-button { flex: 0 0 auto; min-height: 42px; padding: 0 17px; font-size: .86rem; }
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 26px; background: rgba(2, 12, 23, .46); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
.site-footer h2 { margin-bottom: 10px; font-size: 1.2rem; }
.site-footer p { color: var(--muted); font-size: .89rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-content: start; justify-content: end; font-size: .88rem; }
.footer-links a { color: var(--blue-light); text-decoration: none; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: #7895b0; font-size: .78rem; text-align: center; }
.game-page { min-height: calc(100vh - 75px); padding: 32px 0 54px; }
.game-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.game-toolbar h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.04em; }
.back-link { color: var(--blue-light); text-decoration: none; }
.game-frame { width: 100%; height: min(76vh, 850px); min-height: 560px; border: 1px solid var(--line); border-radius: 20px; background: #020912; box-shadow: var(--shadow); }
.content-page { min-height: 65vh; padding: 78px 0 90px; }
.content-card { max-width: 820px; padding: clamp(28px, 6vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); }
.content-card h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.content-card h2 { margin-top: 32px; font-size: 1.25rem; }
.content-card p { color: #bfd0e1; }
@media (max-width: 860px) {
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}
@media (max-width: 620px) {
  .site-shell { width: min(100% - 24px, 1160px); }
  .nav-links a:not(.age-chip) { display: none; }
  .hero { min-height: 520px; }
  .hero-content { padding: 74px 0 62px; }
  .section-head, .game-toolbar { align-items: start; flex-direction: column; }
  .game-card { min-height: 290px; }
  .game-frame { min-height: 68vh; border-radius: 14px; }
}
