:root {
  --cs7-bg-a: #0a0f28;
  --cs7-bg-b: #111833;
  --cs7-card: #161d3a;
  --cs7-blue: #3b82f6;
  --cs7-pink: #ec4899;
  --cs7-text: #ffffff;
  --cs7-muted: #c8d3ff;
  --cs7-border: rgba(59, 130, 246, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--cs7-text);
  background: radial-gradient(circle at 12% 10%, #1a2460 0%, var(--cs7-bg-a) 34%, var(--cs7-bg-b) 100%);
  line-height: 1.6;
}

a {
  color: var(--cs7-blue);
}

.cs7-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.cs7-topline {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(236, 72, 153, 0.22));
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 0;
  font-size: 0.86rem;
}

.cs7-topline strong {
  color: #fff;
}

.cs7-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(10, 15, 40, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cs7-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.cs7-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.cs7-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  animation: cs7-spin 12s linear infinite;
}

.cs7-logo-text {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.cs7-nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.16);
  cursor: pointer;
}

.cs7-nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cs7-nav {
  display: inline-flex;
  gap: 1.1rem;
}

.cs7-nav a {
  text-decoration: none;
  color: #8cb7ff;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cs7-nav a:hover,
.cs7-nav a:focus-visible {
  color: var(--cs7-pink);
}

.cs7-section {
  background: rgba(22, 29, 58, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  padding: 1.6rem 1.5rem;
  border-radius: 24px;
  margin-bottom: 1.55rem;
}

.cs7-section h2 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.07em;
  font-size: clamp(1.1rem, 3vw, 2rem);
}

.cs7-news-grid,
.cs7-about-grid,
.cs7-method-grid,
.cs7-card-grid,
.cs7-game-grid {
  display: grid;
  gap: 1rem;
}

.cs7-news-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cs7-news-item,
.cs7-game-card {
  background: rgba(10, 16, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1rem;
}

.cs7-kicker {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fc5ff;
  margin-bottom: 0.4rem;
}

.cs7-editor-note {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.12), rgba(236, 72, 153, 0.16));
  border-left: 4px solid var(--cs7-pink);
  border-radius: 16px;
  padding: 1.2rem;
  margin-top: 1rem;
}

.cs7-editor-note blockquote {
  margin: 0;
  font-style: italic;
}

.cs7-hero,
.cs7-page-hero {
  padding: 5.2rem 1rem 3rem;
  text-align: center;
}

.cs7-hero h1,
.cs7-page-hero h1 {
  margin: 0.55rem auto 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 5.3vw, 3.1rem);
  letter-spacing: 0.08em;
  max-width: 820px;
}

.cs7-hero p,
.cs7-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--cs7-muted);
}

.cs7-wheel {
  width: min(220px, 55vw);
  height: min(220px, 55vw);
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.18);
  background: conic-gradient(var(--cs7-blue), var(--cs7-pink), var(--cs7-blue));
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.44);
  animation: cs7-spin 9s linear infinite;
}

.cs7-trustline {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.cs7-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.cs7-button,
.cs7-link-button,
.cs7-form button,
.cs7-age-actions button,
.cs7-cookie-banner button {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(120deg, var(--cs7-blue), #2f6ef2);
  text-decoration: none;
}

.cs7-button:hover,
.cs7-link-button:hover,
.cs7-form button:hover,
.cs7-age-actions button:hover,
.cs7-cookie-banner button:hover {
  animation: cs7-spin 1.1s linear;
}

.cs7-about-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cs7-about-card {
  background: rgba(11, 18, 48, 0.86);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 16px;
  padding: 1rem;
}

.cs7-about-card h3 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.cs7-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cs7-card {
  border-radius: 22px;
  border: 1px solid var(--cs7-border);
  background: linear-gradient(165deg, rgba(22, 29, 58, 0.96), rgba(21, 27, 56, 0.98));
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.cs7-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 30deg, transparent 20%, rgba(59, 130, 246, 0.45), transparent 56%);
  animation: cs7-spin 8s linear infinite;
}

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

.cs7-card:hover,
.cs7-card[data-hover="active"] {
  transform: translateY(-4px);
}

.cs7-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cs7-logo-wrap {
  padding: 6px;
  width: min(140px, 100%);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
}

.cs7-logo-wrap img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}

.cs7-brand-meta {
  min-width: 0;
}

.cs7-brand-meta h3 {
  margin: 0 0 0.25rem;
  font-family: "Space Grotesk", sans-serif;
}

.cs7-brand-meta h3 a {
  color: #fff;
  text-decoration: none;
}

.cs7-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.18);
  border: 1px solid rgba(236, 72, 153, 0.45);
}

.cs7-score {
  margin-left: auto;
  text-align: right;
  min-width: 0;
}

.cs7-score strong {
  font-size: 1.55rem;
}

.cs7-bonus {
  margin: 0.95rem 0 0.65rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px dashed rgba(59, 130, 246, 0.58);
  border-radius: 14px;
  padding: 0.75rem;
  font-weight: 600;
}

.cs7-feature-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.cs7-feature-pills span {
  background: rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.74rem;
}

.cs7-disclaimer-strip {
  margin-top: 0.65rem;
  font-size: 0.81rem;
  color: #d9e3ff;
}

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

.cs7-metric {
  background: rgba(12, 20, 50, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.15rem;
  min-width: 0;
}

.cs7-metric h3 {
  margin-top: 0;
  font-size: 1.05rem;
  font-family: "Space Grotesk", sans-serif;
}

.cs7-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  background: rgba(10, 16, 44, 0.92);
}

.cs7-faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 0.9rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.cs7-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.cs7-faq-item[data-cs7-open="true"] .cs7-faq-answer {
  max-height: 360px;
  padding-bottom: 0.9rem;
}

.cs7-rg-title {
  margin-bottom: 0.25rem;
}

.cs7-rg-checklist {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.cs7-rg-item {
  display: flex;
  gap: 0.65rem;
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem;
}

.cs7-rg-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.28);
}

.cs7-reg-badges {
  display: flex;
  gap: 10px 12px;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.cs7-reg-badge {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.33rem 0.7rem;
  font-size: 0.78rem;
}

.cs7-footer-box {
  background: linear-gradient(150deg, rgba(16, 22, 51, 0.98), rgba(13, 17, 40, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 2.2rem;
}

.cs7-footer-title {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 0;
  letter-spacing: 0.07em;
}

.cs7-footer-links,
.cs7-footer-rg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
}

.cs7-footer-links a,
.cs7-footer-rg a {
  color: #9fc5ff;
}

.cs7-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  background: rgba(0, 0, 0, 0.85);
}

.cs7-age-overlay[data-cs7-age-state="confirmed"],
.cs7-age-overlay[data-cs7-age-state="hidden"] {
  display: none;
}

.cs7-age-box {
  width: min(520px, calc(100% - 24px));
  background: #10173b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: center;
}

.cs7-age-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.cs7-cookie-banner {
  position: fixed;
  z-index: 100;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 14px;
  background: rgba(6, 10, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

.cs7-cookie-banner[data-cs7-cookie-state="hidden"] {
  display: none;
}

.cs7-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cs7-back-top {
  position: fixed;
  right: 1rem;
  bottom: 4.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(9, 14, 37, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cs7-back-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cs7-back-top .cs7-back-label {
  position: relative;
  z-index: 1;
}

.cs7-back-top[data-cs7-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cs7-link-panel,
.cs7-legal-panel,
.cs7-contact-panel {
  background: rgba(10, 17, 44, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

.cs7-form {
  display: grid;
  gap: 0.6rem;
}

.cs7-form input,
.cs7-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.8rem;
}

.cs7-methodology-table,
table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.cs7-methodology-table th,
.cs7-methodology-table td,
table th,
table td {
  word-break: break-word;
}

@keyframes cs7-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .cs7-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs7-nav-toggle {
    display: inline-block;
  }
  .cs7-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 220px;
    padding: 14px;
    border-radius: 12px;
    background: #0f1635;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    gap: 0.45rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .cs7-nav a {
    font-size: 0.74rem;
  }
  .cs7-nav-open .cs7-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .cs7-nav-open .cs7-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .cs7-nav-open .cs7-nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .cs7-nav-open .cs7-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 720px) {
  .cs7-method-grid,
  .cs7-card-grid,
  .cs7-about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  body { overflow-x: hidden; }
  .cs7-page { width: min(1180px, calc(100% - 12px)); }
  .cs7-header-inner { padding: 0.65rem 0.75rem; gap: 0.5rem; position: relative; }
  .cs7-logo { min-width: 0; align-items: center; }
  .cs7-logo-text { font-size: clamp(0.58rem, 2.9vw, 0.78rem); letter-spacing: 0.05em; line-height: 1.2; word-break: break-word; overflow-wrap: anywhere; }
  .cs7-logo-icon { width: 2.25rem; height: 2.25rem; flex-shrink: 0; }
  .cs7-nav { left: 8px; right: 8px; padding: 12px; }
  .cs7-nav a { font-size: 0.72rem; letter-spacing: 0.1em; padding-block: 0.2rem; }
  .cs7-hero, .cs7-page-hero { padding: 4.75rem 0.6rem 2.5rem; }
  .cs7-hero h1, .cs7-page-hero h1 { font-size: clamp(1.05rem, 5.8vw, 2rem); letter-spacing: 0.055em; word-break: break-word; overflow-wrap: anywhere; }
  .cs7-kicker { font-size: 0.65rem; letter-spacing: 0.12em; max-width: 100%; }
  .cs7-cta-row { gap: 0.65rem; margin-top: 1.35rem; }
  .cs7-button, .cs7-link-button, .cs7-form button, .cs7-age-actions button, .cs7-cookie-banner button, .cs7-back-top { padding: 0.72rem 1rem; font-size: 0.88rem; }
  .cs7-trustline { font-size: 0.82rem; padding-inline: 0.15rem; }
  .cs7-disclaimer-strip { padding: 0.7rem 0.75rem; font-size: 0.82rem; }
  .cs7-section { padding: 0.95rem 0.75rem; border-radius: 18px; margin-bottom: 1.25rem; }
  .cs7-section h2 { font-size: clamp(1.02rem, 4.8vw, 1.55rem); letter-spacing: 0.06em; word-break: break-word; overflow-wrap: anywhere; }
  .cs7-methodology-table, table { font-size: 0.78rem; table-layout: fixed; width: 100%; }
  .cs7-methodology-table th, .cs7-methodology-table td, table th, table td { padding: 0.5rem 0.4rem; word-break: break-word; overflow-wrap: anywhere; hyphens: auto; }
  .cs7-metric { padding: 1rem 0.75rem; }
  .cs7-metric-number { font-size: clamp(1.45rem, 7vw, 2.2rem); }
  .cs7-card { padding: 0.95rem 0.75rem; border-radius: 18px; }
  .cs7-card:hover, .cs7-card[data-hover="active"] { transform: none; }
  .cs7-card-top { flex-wrap: wrap; align-items: flex-start; gap: 0.55rem; }
  .cs7-score { text-align: left; flex: 1 1 auto; min-width: 0; }
  .cs7-badge { font-size: 0.65rem; padding: 0.32rem 0.55rem; max-width: 100%; white-space: normal; text-align: left; }
  .cs7-score strong { font-size: 1.35rem; }
  .cs7-logo-wrap { width: min(140px, 100%); max-width: 100%; height: auto; min-height: 4.25rem; }
  .cs7-brand-meta { min-width: 0; width: 100%; }
  .cs7-bonus { padding: 0.65rem 0.7rem; font-size: 0.88rem; }
  .cs7-game-card, .cs7-news-item, .cs7-link-panel, .cs7-legal-panel, .cs7-contact-panel { padding: 0.95rem 0.75rem; }
  .cs7-cookie-banner { padding: 10px; gap: 10px; font-size: 0.84rem; }
  .cs7-cookie-banner p { margin: 0; flex: 1 1 100%; text-align: center; }
  .cs7-footer-box { padding: 1.15rem 0.75rem; border-radius: 20px; }
  .cs7-footer-title { letter-spacing: 0.08em; font-size: clamp(0.95rem, 4vw, 1.2rem); word-break: break-word; }
  .cs7-back-top { right: 0.45rem; bottom: 5.25rem; width: 2.65rem; height: 2.65rem; font-size: 1.05rem; }
  .cs7-age-overlay { padding: 0.65rem; }
  .cs7-age-box { padding: 1.1rem 0.75rem; }
  .cs7-age-box h2 { font-size: clamp(1rem, 4.5vw, 1.35rem); letter-spacing: 0.06em; word-break: break-word; }
  .cs7-reg-badges { gap: 8px 10px; }
  .cs7-reg-badges img { width: 60px; height: 34px; }
  .cs7-rg-item { min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
  .cs7-rg-checklist { gap: 0.55rem; padding-inline: 0; }
  .cs7-rg-checklist li, .cs7-rg-checklist p { word-break: break-word; overflow-wrap: anywhere; hyphens: auto; min-width: 0; }
  .cs7-reg-badge { white-space: normal; text-align: center; padding: 0.28rem 0.5rem; font-size: 0.72rem; max-width: 100%; flex-shrink: 1; }
  .cs7-form input, .cs7-form textarea { padding: 0.75rem 0.65rem; font-size: 0.88rem; }
}

@media (max-width: 380px) {
  .cs7-page { width: min(1180px, calc(100% - 8px)); }
  .cs7-logo-text { font-size: 0.52rem; letter-spacing: 0.02em; }
  .cs7-hero h1, .cs7-page-hero h1 { font-size: clamp(1rem, 5.2vw, 1.75rem); }
  .cs7-header-inner { padding: 0.55rem 0.55rem; }
  .cs7-section, .cs7-card, .cs7-footer-box { padding-inline: 0.65rem; }
  .cs7-methodology-table th, .cs7-methodology-table td, table th, table td { padding: 0.42rem 0.32rem; font-size: 0.72rem; }
}

@media (max-width: 900px) {
  .cs7-header-inner { position: relative; }
}
