/*
Theme Name: SpinReelWorld
Theme URI: https://spinreelworld.it.com/
Author: SpinReelWorld
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: spinreelworld
*/

:root {
  --bg: #070719;
  --panel: rgba(16, 18, 43, 0.72);
  --panel-strong: rgba(25, 27, 62, 0.9);
  --text: #f7f4ff;
  --muted: #c9c4de;
  --cyan: #20d4ff;
  --blue: #3267ff;
  --ruby: #ff2e76;
  --gold: #ffc94a;
  --violet: #8b45ff;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(32, 212, 255, 0.18), transparent 27rem),
    radial-gradient(circle at 88% 8%, rgba(255, 46, 118, 0.16), transparent 24rem),
    radial-gradient(circle at 48% 80%, rgba(255, 201, 74, 0.12), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 25, 0.78);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(32, 212, 255, 0.28);
}

.brand span {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -22px;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: blur(7px) saturate(1.15);
  transform: scale(1.04);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 7, 25, 0.92), rgba(7, 7, 25, 0.46) 48%, rgba(7, 7, 25, 0.76)),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 25, 0.08) 42%);
}

.hero-content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.15rem, 8vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: #ebe7ff;
  font-size: clamp(1.04rem, 2.2vw, 1.26rem);
}

.hero-actions,
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  color: #070719;
  background: linear-gradient(135deg, var(--gold), #ff7a35);
  box-shadow: 0 16px 34px rgba(255, 122, 53, 0.25);
  font-weight: 900;
  text-align: center;
}

.button.secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.section {
  padding: 76px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.section-title p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.game-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.game-card:hover img {
  transform: scale(1.04);
}

.game-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 7, 25, 0.06), rgba(7, 7, 25, 0.76) 74%),
    linear-gradient(135deg, rgba(32, 212, 255, 0.18), rgba(255, 46, 118, 0.12));
}

.game-card-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 22px;
}

.game-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.game-card p {
  margin-bottom: 18px;
  color: #ede9ff;
}

.notice-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(32, 212, 255, 0.14), rgba(255, 46, 118, 0.12), rgba(255, 201, 74, 0.12)),
    rgba(255, 255, 255, 0.035);
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.notice-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 7, 25, 0.42);
}

.notice-item h2,
.notice-item h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.notice-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.game-page {
  padding: 42px 0 70px;
}

.game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.game-top h1 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.game-top p {
  margin-bottom: 0;
  color: var(--muted);
}

.iframe-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #03040c;
  box-shadow: var(--shadow);
}

.iframe-shell iframe {
  display: block;
  width: 100%;
  height: min(76vh, 780px);
  min-height: 560px;
  border: 0;
}

.legal-page {
  padding: 64px 0 86px;
}

.legal-card {
  max-width: 880px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.legal-card h2 {
  margin: 28px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(3, 4, 12, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 28px;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-note {
  margin-top: 26px;
  color: #aaa4c4;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .game-grid,
  .notice-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .game-card,
  .game-card img {
    min-height: 360px;
  }

  .section-title,
  .game-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .iframe-shell iframe {
    height: 68vh;
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1160px);
  }

  .header-row {
    min-height: 66px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero-content {
    width: min(100% - 22px, 900px);
    padding: 112px 0 70px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .section {
    padding: 54px 0;
  }

  .game-card,
  .game-card img {
    min-height: 330px;
  }

  .game-card-content {
    padding: 18px;
  }

  .iframe-shell iframe {
    min-height: 430px;
  }

  .legal-card,
  .notice-item {
    padding: 22px;
  }
}
