:root {
  --bg: #1b2433;
  --bg-alt: #212c3d;
  --card: #263349;
  --line: #34435c;
  --accent: #4c8df6;
  --accent-2: #8fa6c4;
  --text: #e6ebf2;
  --muted: #9aa8bd;
  --white: #ffffff;
  --header-h: 64px;
  --age-h: 36px;
  --radius: 10px;
  --gap: 20px;
  --section: 56px;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p + p {
  margin-top: 12px;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

.section {
  padding: var(--section) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 720px;
}

.muted {
  color: var(--muted);
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  padding-top: env(safe-area-inset-top, 0px);
}

.header {
  position: relative;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  text-decoration: none;
}

.nav a.is-active {
  border-bottom-color: var(--accent);
}

.header-cta {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 11px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid var(--accent);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.main {
  padding-top: calc(var(--age-h) + var(--header-h) + env(safe-area-inset-top, 0px));
}

.hero {
  padding: 56px 0 48px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.hero h1 {
  max-width: 620px;
}

.kicker {
  color: var(--accent-2);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.badge-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}

.badge-item img {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  object-fit: cover;
  border-radius: 50%;
}

.badge-item strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.badge-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.operator-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.operator-logo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.operator-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.rating {
  color: var(--accent-2);
  font-weight: 500;
  white-space: nowrap;
}

.rating b {
  color: var(--accent);
  font-size: 20px;
  font-family: Manrope, sans-serif;
}

.license-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  background: #1b2433;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--accent-2);
  line-height: 1.3;
}

.license-tag span {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.license-tag b {
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-size: 13px;
}

.license-tag em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

.operator-card p {
  color: var(--muted);
  flex: 1;
}

.operator-card .license-tag {
  color: var(--accent-2);
  flex: 0 0 auto;
}

.operator-card .license-tag b {
  color: var(--text);
}

.facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.facts li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.media-card {
  overflow: hidden;
  padding: 0;
}

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

.media-card .pad {
  padding: 20px;
}

.list {
  padding-left: 18px;
  color: var(--muted);
}

.list li + li {
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--card);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent-2);
}

td {
  color: var(--text);
}

tr:last-child td {
  border-bottom: none;
}

.notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}

.notice h3 {
  margin-bottom: 8px;
}

.notice-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero {
  padding: 40px 0 24px;
}

.page-hero h1 {
  margin: 8px 0 12px;
}

.crumbs {
  color: var(--muted);
  font-size: 13px;
}

.crumbs a {
  color: var(--accent-2);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-mail {
  font-size: 20px;
  font-family: Manrope, sans-serif;
  font-weight: 700;
}

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}

.footer-legal {
  background: #17202c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

.footer li + li {
  margin-top: 8px;
}

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

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

.footer-copy {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: none;
  max-width: 1140px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.cookie.is-on {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie p {
  flex: 1;
  color: var(--muted);
}

.age-bar {
  background: #17202c;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  height: var(--age-h);
}

.age-bar .container {
  height: var(--age-h);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.age-bar img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.age-bar span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.age-short {
  display: none;
}

.age-bar a {
  color: var(--accent-2);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .span-8, .span-7, .span-6, .span-5, .span-4, .span-3 { grid-column: span 12; }
  .badge-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    top: calc(var(--age-h) + var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .nav.is-open {
    transform: translateY(0);
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a.is-active {
    border-bottom-color: var(--accent);
  }
}

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .badge-row { grid-template-columns: repeat(2, 1fr); }
  .cookie.is-on { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .age-full { display: none; }
  .age-short { display: inline; }
  .header-inner { gap: 12px; }
  .hero { padding-top: 32px; }
}
