@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa+Ink:wght@700&family=Changa:wght@500;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --bg-main: #170411;
  --bg-deep: #25071c;
  --bg-panel: rgba(43, 10, 31, 0.72);
  --bg-panel-strong: rgba(63, 15, 44, 0.86);
  --bg-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 184, 222, 0.2);
  --line-strong: rgba(255, 184, 222, 0.42);
  --text-main: #fff4fa;
  --text-soft: #ffd8ea;
  --text-muted: #d8a5be;
  --accent: #ff4fa4;
  --accent-2: #ff87c6;
  --accent-3: #ffd1e8;
  --accent-4: #ffa3d3;
  --ok: #b8ffcf;
  --warn: #ffe0a6;
  --danger: #ffd1d8;
  --shadow-lg: 0 34px 110px rgba(255, 79, 164, 0.18);
  --shadow-md: 0 22px 64px rgba(255, 79, 164, 0.13);
  --shine: inset 0 1px 0 rgba(255, 241, 247, 0.07);
  --radius: 28px;
  --radius-sm: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Tajawal", sans-serif;
  color: var(--text-main);
  line-height: 1.75;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 105, 180, 0.24), transparent 22%),
    radial-gradient(circle at 82% 8%, rgba(255, 155, 210, 0.17), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 99, 175, 0.13), transparent 28%),
    linear-gradient(135deg, #12030d 0%, #1a0612 32%, #2a0a1f 68%, #13030e 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: 70px;
  left: -60px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 157, 208, 0.22), rgba(255, 79, 164, 0.08) 45%, transparent 72%);
  filter: blur(12px);
  opacity: 1;
}

body::after {
  right: -80px;
  bottom: 40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 170, 215, 0.12);
  filter: blur(30px);
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Changa", sans-serif;
  letter-spacing: 0.1px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(12px, -10px, 0) scale(1.06);
  }
}

.age-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  text-align: center;
  font-weight: 800;
  color: #fff7fb;
  background:
    linear-gradient(90deg, rgba(255, 79, 164, 0.96), rgba(255, 126, 195, 0.96)),
    #ff4fa4;
  border-bottom: 1px solid rgba(255, 225, 239, 0.28);
  box-shadow: 0 8px 30px rgba(255, 79, 164, 0.22);
}

.site-header {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(85, 16, 58, 0.78), rgba(38, 8, 26, 0.92)),
    var(--bg-panel);
  box-shadow: var(--shadow-md), var(--shine);
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 22px;
  width: 140px;
  height: 50px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 169, 214, 0.18), transparent 70%);
  animation: glow-drift 8s ease-in-out infinite;
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Aref Ruqaa Ink", serif;
  font-size: 1.8rem;
  color: #fff6fb;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(255, 79, 164, 0.18);
}

.brand span {
  display: inline-block;
}

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  right: 14px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: #fff6fb;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 18px;
}

.nav-toggle span:nth-child(2) {
  top: 25px;
}

.nav-toggle span:nth-child(3) {
  top: 32px;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  top: 25px;
  transform: rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  top: 25px;
  transform: rotate(-45deg);
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 196, 226, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff9fc;
  background: linear-gradient(135deg, rgba(255, 79, 164, 0.28), rgba(255, 160, 210, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 207, 231, 0.14), 0 10px 26px rgba(255, 79, 164, 0.14);
  transform: translateY(-1px);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto 120px;
}

section {
  margin-top: 96px;
  animation: rise-in 0.65s ease both;
}

.hero {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.hero-content,
.hero-panel,
.page-card,
.responsible,
.site-footer,
.game-detail,
.game-card,
.guide-grid article,
.stats article,
.legal-block {
  position: relative;
  overflow: hidden;
}

.hero-content,
.hero-panel {
  padding: 42px 34px;
  box-shadow: var(--shadow-lg), var(--shine);
}

.hero-content {
  min-height: 420px;
  border-radius: 34px 24px 34px 24px;
  background:
    linear-gradient(155deg, rgba(255, 108, 182, 0.22), rgba(255, 108, 182, 0) 38%),
    linear-gradient(135deg, rgba(86, 17, 59, 0.94), rgba(28, 7, 20, 0.96));
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 176, 220, 0.32), transparent 20%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 16px
    );
  opacity: 0.85;
  pointer-events: none;
}

.hero-content::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 101, 175, 0.18), transparent 68%);
  filter: blur(5px);
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent-3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.1);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.14;
  color: #fff8fc;
}

.lead {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 1.07rem;
}

.hero-preview {
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 16px;
}

.hero-visual {
  margin: 0;
  min-height: 250px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.08);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mini-cards {
  display: grid;
  gap: 14px;
}

.hero-mini-cards article {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.08);
}

.hero-mini-cards span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-mini-cards strong {
  display: block;
  color: #fff8fc;
  font-family: "Changa", sans-serif;
  font-size: 1.02rem;
  line-height: 1.5;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff9fd;
  background: linear-gradient(135deg, #ff4fa4, #ff7bc0 55%, #ffa9d8);
  box-shadow: 0 16px 40px rgba(255, 79, 164, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  color: var(--accent-3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 143, 202, 0.14);
}

.hero-panel {
  border-radius: 20px 34px 20px 34px;
  background:
    linear-gradient(180deg, rgba(255, 140, 203, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(55, 10, 37, 0.94), rgba(25, 6, 17, 0.97));
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto auto 24px -28px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(255, 170, 215, 0.12), transparent 70%);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 1.4rem;
  color: #fff8fb;
}

.hero-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.hero-panel li {
  position: relative;
  margin-bottom: 16px;
  padding: 16px 72px 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.08);
  color: var(--text-soft);
}

.hero-panel li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 50%;
  right: 14px;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff8fc;
  font-family: "Changa", sans-serif;
  background: linear-gradient(135deg, #ff4fa4, #ff92ca);
  box-shadow: 0 10px 20px rgba(255, 79, 164, 0.22);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.stats article {
  padding: 28px 22px 22px;
  border-radius: 32px 18px 32px 18px;
  background:
    linear-gradient(180deg, rgba(255, 138, 197, 0.12), transparent 46%),
    linear-gradient(135deg, rgba(54, 11, 37, 0.88), rgba(24, 7, 17, 0.94));
  box-shadow: var(--shadow-md), var(--shine);
}

.stats article::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(255, 139, 199, 0.18), transparent 70%);
  transform: rotate(18deg);
}

.stats h3 {
  margin: 0 0 6px;
  font-size: 2rem;
  color: #fff7fb;
}

.stats p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.section-head {
  position: relative;
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
  color: var(--accent-4);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: #fff8fc;
}

.showcase-band {
  padding: 38px 36px;
  border-radius: 46px 22px 46px 22px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 164, 212, 0.12), transparent 18%),
    linear-gradient(145deg, rgba(62, 13, 42, 0.7), rgba(20, 6, 15, 0.3));
  box-shadow: var(--shadow-lg), var(--shine);
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 4px 8px 0;
}

.showcase-kicker {
  margin: 0;
  color: var(--accent-4);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
  line-height: 1.18;
  color: #fff8fc;
}

.showcase-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.showcase-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent-3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.08);
  font-size: 0.93rem;
}

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

.gallery-card {
  margin: 0;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 199, 227, 0.08);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(18, 4, 13, 0.82));
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  right: 18px;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff8fc;
  font-family: "Changa", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.gallery-card-main {
  grid-column: span 2;
  min-height: 300px;
}

.gallery-card-secondary {
  min-height: 220px;
}

.games,
.guide {
  padding: 38px 32px 34px;
  border-radius: 42px 20px 42px 20px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 173, 217, 0.12), transparent 18%),
    linear-gradient(145deg, rgba(62, 13, 42, 0.76), rgba(20, 6, 15, 0.38));
  box-shadow: var(--shadow-lg), var(--shine);
}

.games::before,
.guide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.03), transparent 26%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 22px
    );
  pointer-events: none;
}

.games > *,
.guide > * {
  position: relative;
  z-index: 1;
}

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

.games-grid.count-1 {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.games-grid.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.games-grid.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  min-height: 100%;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 34px 18px 34px 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 171, 219, 0.15), transparent 26%),
    linear-gradient(155deg, rgba(255, 113, 187, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(59, 12, 40, 0.96), rgba(22, 6, 16, 0.98));
  box-shadow: 0 26px 56px rgba(255, 79, 164, 0.12), inset 0 1px 0 rgba(255, 241, 247, 0.05);
}

.game-card::before {
  content: "";
  position: absolute;
  top: -26px;
  left: -12px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 163, 214, 0.22), transparent 70%);
}

.game-card::after {
  content: "";
  position: absolute;
  bottom: -18px;
  right: -10px;
  width: 110px;
  height: 110px;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(255, 146, 202, 0.16), transparent 68%);
  transform: rotate(18deg);
}

.game-card > * {
  position: relative;
  z-index: 1;
}

.game-card-media {
  margin: -6px -2px 4px;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.08);
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card .tag {
  display: inline-flex;
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent-3);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 201, 228, 0.08);
  font-size: 0.88rem;
}

.game-card h3 {
  margin: 0;
  font-size: 1.42rem;
  color: #fff8fc;
}

.game-card p {
  margin: 0;
  color: var(--text-soft);
}

.game-card .game-meta {
  color: var(--accent-3);
  font-size: 0.95rem;
}

.game-card .note {
  margin-top: auto;
  padding: 12px 14px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.game-details {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

.game-detail {
  padding: 30px 26px;
  border-radius: 38px 18px 38px 18px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 171, 219, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 128, 194, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(52, 11, 36, 0.94), rgba(24, 7, 17, 0.98));
  box-shadow: var(--shadow-md), var(--shine);
}

.game-detail h3 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  color: #fff8fc;
}

.game-detail .subtitle {
  margin: 0 0 16px;
  color: var(--text-muted);
}

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

.detail-block {
  position: relative;
  padding: 16px 15px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(19, 6, 14, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.06);
}

.detail-block::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
}

.detail-block h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff7fb;
}

.detail-block p,
.detail-block li {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
}

.detail-block ul {
  margin: 0;
  padding-inline-start: 18px;
}

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

.guide-grid article {
  padding: 28px 24px 24px;
  border-radius: 34px 14px 34px 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 173, 217, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 136, 198, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(55, 12, 38, 0.96), rgba(24, 7, 17, 0.96));
  box-shadow: var(--shadow-md), var(--shine);
}

.guide-grid article::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: 18px;
  left: 18px;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(255, 146, 202, 0.12), transparent 68%);
}

.guide-grid h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  color: #fff8fc;
}

.guide-grid p {
  margin: 0;
  color: var(--text-soft);
}

.responsible {
  padding: 34px 30px;
  border-radius: 42px 18px 42px 18px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 173, 217, 0.19), transparent 18%),
    linear-gradient(145deg, rgba(72, 17, 50, 0.96), rgba(27, 7, 18, 0.98));
  box-shadow: var(--shadow-lg), var(--shine);
}

.responsible ul {
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.responsible li {
  position: relative;
  padding: 18px 58px 18px 22px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.07);
  color: var(--text-soft);
}

.responsible li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(255, 79, 164, 0.12);
}

.single-page main {
  width: min(780px, calc(100% - 32px));
}

.legal-page main {
  width: min(1080px, calc(100% - 32px));
}

.page-card {
  margin-top: 0;
  padding: 40px 34px;
  border-radius: 42px 18px 42px 18px;
  background:
    linear-gradient(180deg, rgba(255, 138, 199, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(57, 12, 39, 0.94), rgba(24, 7, 17, 0.98));
  box-shadow: var(--shadow-lg), var(--shine);
}

.page-card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -12px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 169, 214, 0.18), transparent 70%);
  pointer-events: none;
}

.page-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-cover {
  margin: -8px 0 24px;
  aspect-ratio: 16 / 7;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 227, 0.08);
}

.page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cover-legal {
  aspect-ratio: 16 / 6;
}

.image-slot {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 172, 218, 0.18), transparent 18%),
    radial-gradient(circle at 82% 74%, rgba(255, 108, 182, 0.12), transparent 22%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
}

.image-slot-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--accent-3);
  font-family: "Changa", sans-serif;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 201, 228, 0.1);
}

.form-intro,
.legal-intro {
  margin: 0 0 12px;
  color: var(--text-soft);
}

.legal-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.form-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid .full {
  grid-column: span 2;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-3);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: none;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(27, 7, 19, 0.76);
  color: var(--text-main);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 0 0 1px rgba(255, 194, 226, 0.09);
}

input::placeholder,
textarea::placeholder {
  color: rgba(235, 189, 214, 0.72);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 166, 215, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 79, 164, 0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.checkbox label {
  margin-bottom: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.submit-line {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.ok {
  border-color: rgba(184, 255, 207, 0.18);
  background: rgba(61, 114, 80, 0.22);
  color: var(--ok);
}

.form-message.warn {
  border-color: rgba(255, 224, 166, 0.2);
  background: rgba(123, 87, 30, 0.25);
  color: var(--warn);
}

.form-message.danger {
  border-color: rgba(255, 209, 216, 0.2);
  background: rgba(112, 53, 66, 0.24);
  color: var(--danger);
}

.legal-stack {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.legal-block {
  padding: 26px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(28, 7, 19, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.06);
}

.legal-block h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  color: #fff8fc;
}

.legal-block p {
  margin: 0 0 8px;
  color: var(--text-soft);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul,
.legal-block ol {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--text-soft);
}

.legal-block li {
  margin-bottom: 8px;
}

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

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 12px;
  text-align: right;
  vertical-align: top;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.1);
}

.legal-table th {
  color: #fff8fc;
  background: rgba(255, 110, 188, 0.14);
}

.legal-table td {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 26px;
  padding: 30px 26px 18px;
  border-radius: 42px 18px 42px 18px;
  background:
    linear-gradient(180deg, rgba(255, 120, 191, 0.11), transparent 30%),
    linear-gradient(135deg, rgba(58, 13, 40, 0.94), rgba(23, 7, 16, 0.98));
  box-shadow: var(--shadow-lg), var(--shine);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-brand h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  color: #fff8fc;
}

.footer-brand-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-brand-top img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(255, 79, 164, 0.18);
}

.footer-brand-top h3 {
  margin: 0;
}

.footer-brand p {
  margin: 0 0 8px;
  color: var(--text-soft);
}

.footer-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent-3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.08);
  font-size: 0.92rem;
}

.footer-col {
  padding: 18px 18px 16px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 226, 0.06);
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  color: #fff8fc;
}

.footer-col a {
  display: block;
  margin-bottom: 7px;
  color: var(--text-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(-2px);
}

.footer-col p {
  margin: 0 0 7px;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 194, 226, 0.14);
  display: grid;
  gap: 6px;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
}

.copyright {
  font-size: 0.94rem;
}

@media (max-width: 1080px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-layout {
    grid-template-columns: 1fr;
  }

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

  .gallery-card-main {
    min-height: 280px;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    grid-template-columns: 1fr;
  }

  section {
    margin-top: 84px;
  }

  .games-grid.count-1 {
    grid-template-columns: minmax(0, 520px);
  }

  .games-grid.count-2,
  .games-grid.count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 199, 227, 0.1);
  }

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

  .main-nav a {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
  }

  .brand {
    font-size: 1.45rem;
  }

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

  main,
  .single-page main,
  .legal-page main,
  .site-footer {
    width: min(100%, calc(100% - 24px));
  }

  section {
    margin-top: 56px;
  }

  .hero-content,
  .hero-panel,
  .page-card,
  .responsible,
  .games,
  .guide {
    padding: 26px 20px;
  }

  .stats,
  .games-grid,
  .detail-grid,
  .guide-grid,
  .form-grid,
  .legal-grid,
  .footer-top,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .games-grid.count-1,
  .games-grid.count-2,
  .games-grid.count-3 {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: span 1;
  }

  .gallery-card-main,
  .gallery-card-secondary {
    grid-column: auto;
    min-height: 230px;
  }

  .game-detail,
  .game-card,
  .stats article,
  .guide-grid article,
  .legal-block,
  .footer-col,
  .gallery-card,
  .page-cover,
  .hero-visual {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }
}
