:root {
  --bg: #F0F2F5;
  --surface: #FFFFFF;
  --text: #1C1E21;
  --muted: #606770;
  --primary: #007AFF;
  --secondary: #4267B2;
  --accent: #31A24C;
  --border: rgba(0, 0, 0, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.2);
  --nav-bg: #1C1E21;
  --nav-text: #F0F2F5;
  --ui-glassmorphism: glassmorphism;
  --ui-light: light;
  --ui-airy: airy;
  --ui-ios-like: ios-like;
  --ui-clean: clean;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 122, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(49, 162, 76, 0.06) 0%, transparent 55%),
    linear-gradient(160deg, #F0F2F5 0%, #E8ECF1 50%, #F0F2F5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(66, 103, 178, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 122, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a:hover {
  color: var(--secondary);
}

.disclosure-banner {
  max-width: 900px;
  margin: 8px auto;
  padding: 10px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  position: relative;
  z-index: 10;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  box-shadow: 0 1px 0 var(--primary), 0 0 8px rgba(0, 122, 255, 0.4);
}

.navbar__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar__links a {
  color: var(--nav-text);
  font-size: 14px;
  font-weight: 300;
  position: relative;
  padding-bottom: 4px;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__links a:hover {
  color: #fff;
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}

.navbar__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 30, 33, 0.97);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--nav-text);
  font-size: 20px;
  font-weight: 300;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 48px 48px 32px;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  box-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
  background: var(--primary);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__logo img {
  height: 32px;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer__links a {
  color: rgba(240, 242, 245, 0.8);
  font-size: 13px;
}

.footer__links a:hover {
  color: #fff;
}

.footer__badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer__badges a img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer__badges a:hover img {
  opacity: 1;
}

.footer__responsible {
  font-size: 11px;
  color: rgba(240, 242, 245, 0.55);
  line-height: 1.7;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 720px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(240, 242, 245, 0.4);
  margin-top: 16px;
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(28, 30, 33, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.hidden {
  display: none;
}

.age-gate__card {
  background: var(--glass-bg);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.age-gate__card h2 {
  font-weight: 300;
  font-size: 24px;
  margin-bottom: 12px;
}

.age-gate__card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.age-gate__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

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

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  max-width: 560px;
  width: calc(100% - 48px);
  background: var(--glass-bg);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  flex: 1;
  font-size: 13px;
  color: var(--muted);
  min-width: 200px;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  position: relative;
  z-index: 1;
}

.page-content h1 {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text);
}

.page-content h2 {
  font-weight: 300;
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--text);
}

.page-content h3 {
  font-weight: 300;
  font-size: 18px;
  margin: 24px 0 8px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--muted);
}

.page-content ul {
  margin: 0 0 16px 24px;
  color: var(--muted);
}

.page-content li {
  margin-bottom: 8px;
}

.page-content a {
  color: var(--primary);
}

.contact-form {
  margin-top: 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 32px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  background: var(--surface);
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.contact-form__error.visible {
  display: block;
}

.contact-success {
  background: rgba(49, 162, 76, 0.1);
  border: 1px solid rgba(49, 162, 76, 0.3);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 32px;
}

.contact-success h3 {
  color: var(--accent);
  font-weight: 300;
  margin-bottom: 8px;
}

.contact-success p {
  color: var(--muted);
}

.decor-img,
.sub-img-rail img,
.guide-inline-img,
.pay-mosaic img,
.bonus-aside-card img,
.sub-main img,
.sub-verification-img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .site-footer {
    padding: 32px 20px 24px;
  }

  .footer__top {
    flex-direction: column;
  }
}

@media (max-width: 375px) {
  body {
    overflow-x: hidden;
  }

  .info-section,
  .sub-body-split,
  .pay-body,
  .bonus-layout,
  .page-content,
  .offers-section {
    overflow-x: hidden;
  }

  .info-5-layout .decor-img,
  .info-10-layout .decor-img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
  }

  .sub-img-rail,
  .pay-mosaic {
    max-width: 100%;
    overflow: hidden;
  }
}
