/*
Theme Name: SlotsClub
Theme URI: https://slotsclub.it.com
Author: SlotsClub
Author URI: https://slotsclub.it.com
Description: A polished entertainment games theme for SlotsClub.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: slotsclub
*/

:root {
  --bg: #140605;
  --bg-soft: #24100d;
  --panel: #311613;
  --panel-2: #451b14;
  --text: #fff7e7;
  --muted: #d9b991;
  --gold: #f6bf42;
  --gold-light: #ffe18a;
  --red: #ba2b19;
  --red-deep: #65110e;
  --cyan: #42b8d8;
  --green: #52be68;
  --line: rgba(255, 225, 138, 0.22);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(246, 191, 66, 0.22), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(186, 43, 25, 0.35), transparent 28rem),
    linear-gradient(180deg, #190706 0%, #120605 48%, #0c0504 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 225, 138, 0.14);
  background: rgba(20, 6, 5, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 225, 138, 0.45);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 45%, #ad4c12);
  color: #4c1008;
  box-shadow: 0 10px 26px rgba(246, 191, 66, 0.23);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 225, 138, 0.1);
  color: var(--text);
  outline: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 48%, #c16419);
  color: #421009;
  font-weight: 900;
  box-shadow: 0 13px 30px rgba(246, 191, 66, 0.28);
  cursor: pointer;
}

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

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

.hero {
  position: relative;
  padding: 116px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12px;
  background:
    linear-gradient(90deg, rgba(20, 6, 5, 0.96) 0%, rgba(20, 6, 5, 0.72) 47%, rgba(20, 6, 5, 0.38) 100%),
    var(--hero-image, none) center center / cover no-repeat;
  filter: blur(3px);
  transform: scale(1.02);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, #120605);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 790px;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: #f5d4aa;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stats-strip {
  position: relative;
  z-index: 3;
  margin-top: -14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(49, 22, 19, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 1.28rem;
}

.stat span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 86px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  position: relative;
  display: grid;
  min-height: 520px;
  border: 1px solid rgba(255, 225, 138, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.game-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.game-card-content {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(20, 6, 5, 0.92) 34%, rgba(20, 6, 5, 0.98));
}

.game-card h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.game-card p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.experience-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(82, 190, 104, 0.12), transparent 30%),
    linear-gradient(315deg, rgba(66, 184, 216, 0.12), transparent 30%),
    rgba(49, 22, 19, 0.6);
}

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

.feature-item {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-item svg {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--gold-light);
}

.feature-item h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.notice {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(246, 191, 66, 0.12), rgba(186, 43, 25, 0.13));
  color: #f3d5ad;
  line-height: 1.7;
}

.responsible-section {
  padding: 28px 0 18px;
}

.responsible-box {
  max-width: 980px;
  margin: 0 auto 26px;
  padding: 22px 28px;
  border: 1px dashed rgba(255, 225, 138, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #d9c2a5;
  text-align: center;
  line-height: 1.62;
}

.responsible-box h2 {
  margin-bottom: 10px;
  color: #f5d47f;
  font-size: 1rem;
}

.responsible-links,
.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 12px;
}

.responsible-links a,
.policy-links a {
  color: #ffe18a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer-text {
  max-width: 920px;
  margin: 0 auto;
  color: #d9c2a5;
  text-align: center;
  line-height: 1.68;
}

.disclaimer-text strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
}

.policy-links a {
  color: #e7c99f;
  font-weight: 700;
  text-decoration: none;
}

.game-hero {
  padding: 36px 0 28px;
}

.game-frame-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 225, 138, 0.22);
  border-radius: 8px;
  background: #050302;
  box-shadow: var(--shadow);
}

.game-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 225, 138, 0.16);
  background: rgba(36, 16, 13, 0.9);
}

.game-frame-top h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.05;
}

.game-frame {
  display: block;
  width: 100%;
  height: min(76vh, 780px);
  min-height: 560px;
  border: 0;
  background: #050302;
}

.legal-content {
  max-width: 850px;
  padding: 70px 0 90px;
  color: #f0d2a9;
  line-height: 1.75;
}

.legal-content h1 {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.legal-content h2 {
  margin-top: 34px;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(255, 225, 138, 0.14);
  background: #0b0403;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(20, 6, 5, 0.96);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-inner {
    min-height: 380px;
  }

  .stats-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(20, 6, 5, 0.94) 0%, rgba(20, 6, 5, 0.8) 55%, rgba(20, 6, 5, 0.68) 100%),
      var(--hero-image, none) center / cover no-repeat;
  }

  .hero-actions,
  .game-card-content,
  .game-frame-top,
  .footer-inner,
  .footer-links,
  .responsible-links,
  .policy-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

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

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

  .game-frame {
    min-height: 520px;
    height: 78vh;
  }
}
