:root {
  --color-bg: #0f0f1a;
  --color-text: #ffffff;
  --color-accent: #00d4ff;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #00363d;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
}

body.page-404 {
  min-height: 100vh;
}

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

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

:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(3, 55, 62, 0.92);
  border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.site-header.scrolled {
  background: rgba(2, 43, 49, 0.98);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 54px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb000;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 22px;
  border-radius: 999px;
  color: #00343b;
  background: linear-gradient(135deg, #ffb000, #ff5f16);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 176, 0, 0.34);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  color: #c8f8ff;
  transition: color 220ms ease;
}

.nav-links a:hover {
  color: #ffb000;
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary {
  color: #00252b;
  background: #ff8a00;
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.16), 0 8px 20px rgba(255, 106, 0, 0.3);
}

.btn-accent {
  color: #00252b;
  background: var(--color-accent);
  box-shadow: 0 8px 22px rgba(0, 212, 255, 0.25);
}

.btn-outline {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(0, 212, 255, 0.08);
}

.mobile-sticky {
  display: none;
}

main {
  padding-top: 54px;
}

.hero {
  position: relative;
  min-height: 285px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #06424b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 44, 49, 0.88), rgba(0, 62, 71, 0.35) 46%, rgba(0, 0, 0, 0.08)), url("img/golisimo-hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(0deg, #00363d, rgba(0, 54, 61, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 48px;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #c8fbff;
  background: rgba(0, 212, 255, 0.16);
  border: 1px solid rgba(0, 212, 255, 0.35);
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  font-size: clamp(38px, 5.4vw, 62px);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.45);
}

h1 strong,
.gold {
  color: #ffb000;
}

.hero p {
  max-width: 540px;
  margin: 12px 0 22px;
  color: #e3fbff;
  font-weight: 700;
}

.page-shell {
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.section {
  margin: 0 0 18px;
  padding: 22px;
  background: #00545d;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.section.alt {
  background: #008f86;
}

.section h2,
.info-page h1,
.error-title {
  color: #ffb000;
  font-size: clamp(24px, 4vw, 34px);
  font-style: italic;
  font-weight: 900;
  text-transform: none;
}

.section h3 {
  margin: 18px 0 10px;
  color: #ffb000;
  font-size: 21px;
  font-style: italic;
  font-weight: 900;
}

.section p,
.section li {
  color: #d7f6f6;
}

.lead {
  font-size: 18px;
  font-weight: 700;
}

.review-table,
.data-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  color: #dffeff;
  font-size: 14px;
  background: rgba(0, 212, 255, 0.06);
}

.review-table th,
.review-table td,
.data-table th,
.data-table td {
  padding: 12px 14px;
  border: 1px solid rgba(0, 212, 255, 0.26);
  text-align: left;
}

.review-table th,
.data-table th {
  color: #00343b;
  background: #00d4ff;
  font-weight: 900;
}

.bonus-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(255, 138, 0, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: var(--radius);
}

.bonus-offer {
  color: #ffffff;
  font-size: clamp(26px, 5vw, 42px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.bonus-mini {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.bonus-mini span {
  padding: 10px 12px;
  color: #00252b;
  background: #00d4ff;
  border-radius: var(--radius);
  font-weight: 900;
}

.promo-grid,
.payment-grid,
.ratings-grid,
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.promo-card,
.payment-card,
.rating-card,
.provider-card,
.game-card {
  min-height: 120px;
  padding: 16px;
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(0, 71, 80, 0.7);
}

.promo-card strong,
.payment-card strong,
.rating-card strong,
.provider-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffb000;
  font-size: 18px;
}

.promo-card p,
.payment-card p,
.rating-card p {
  margin: 0 0 14px;
  font-size: 14px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tab-button {
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #c8fbff;
  background: rgba(0, 212, 255, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.active {
  color: #00252b;
  background: var(--color-accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.games-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.game-card {
  min-height: 142px;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 176, 0, 0.65), transparent 28%),
    radial-gradient(circle at 25% 65%, rgba(0, 212, 255, 0.5), transparent 30%),
    #004750;
}

.game-card span {
  display: inline-flex;
  margin-bottom: 48px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #00252b;
  background: #ffb000;
  font-size: 12px;
  font-weight: 900;
}

.app-panel {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 24px;
  align-items: center;
}

.app-panel img {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-badge {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background: #001f24;
  border: 1px solid rgba(0, 212, 255, 0.35);
  font-weight: 900;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 212, 255, 0.24);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  border: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 16px;
  color: #d7f6f6;
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  padding: 38px 16px 48px;
  text-align: center;
  background: #00545d;
  border-top: 1px solid rgba(0, 212, 255, 0.24);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 18px 0;
  color: #c8fbff;
  font-size: 14px;
  font-weight: 800;
}

.disclaimer {
  max-width: 760px;
  margin: 0 auto;
  color: #b8dbde;
  font-size: 13px;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup.active {
  display: flex;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid var(--color-accent);
  border-radius: 16px;
  background: #00545d;
  box-shadow: 0 0 34px rgba(0, 212, 255, 0.22);
  animation: popupIn 300ms ease both;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.popup-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #00252b;
  background: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
}

.popup-card h2 {
  color: #ffb000;
  font-size: 30px;
  font-style: italic;
}

.info-page {
  padding-top: 86px;
}

.info-hero {
  margin-bottom: 18px;
  padding: 26px;
  background: #00545d;
  border: 1px solid rgba(0, 212, 255, 0.24);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.08);
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  color: #00252b;
  background: var(--color-accent);
  font-weight: 900;
}

.error-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 250px);
  padding: 100px 16px 60px;
  text-align: center;
}

.error-code {
  color: var(--color-accent);
  font-size: clamp(8rem, 22vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 44px;
    background: #00363d;
  }

  .mobile-sticky .btn {
    height: 44px;
    min-height: 44px;
    border-radius: 0;
  }

  body {
    padding-top: 44px;
  }

  .site-header {
    top: 44px;
  }

  main {
    padding-top: 54px;
  }

  .promo-grid,
  .payment-grid,
  .ratings-grid,
  .provider-grid,
  .games-showcase,
  .bonus-card,
  .app-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 18px;
  }

  .review-table,
  .data-table {
    font-size: 12px;
  }

  .review-table th,
  .review-table td,
  .data-table th,
  .data-table td {
    padding: 9px;
  }
}
