@font-face{font-family:Unbounded;font-weight:700;src:local("Unbounded Bold"),url(fonts/Unbounded-Bold.woff2) format("woff2");font-display:swap}
@font-face{font-family:Onest;font-weight:400;src:local("Onest"),url(fonts/Onest-Regular.woff2) format("woff2");font-display:swap}

:root {
  --bg: #09090b;
  --ink: #ffffff;
  --c1: rgba(255, 90, 54, 0.15);
  --c2: rgba(47, 107, 255, 0.15);
  --c3: rgba(18, 184, 134, 0.15);
  --c4: rgba(255, 197, 61, 0.15);
  --neon-gold: #FFD700;
  --neon-blue: #00f3ff;
  --neon-purple: #b537f2;
  --r: 20px;
  --glass-bg: rgba(20, 20, 25, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(181, 55, 242, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08), transparent 25%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 17px/1.7 Onest, "Segoe UI", system-ui, sans-serif;
}

h1, h2, h3, .big {
  font-family: Unbounded, "Arial Black", Impact, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  background: linear-gradient(135deg, #fff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 72px 0 24px;
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: var(--neon-gold);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--neon-gold);
}

h3 { font-size: 20px; margin-bottom: 12px; color: #f0f0f0; }

a { color: inherit; transition: all 0.3s ease; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

header {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 20px;
  color: var(--neon-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.agechip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: #ff4d4d;
  color: #fff;
  font-family: Unbounded, "Arial Black", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
  flex: none;
}

nav { display: flex; gap: 12px; flex-wrap: wrap; }

nav a {
  text-decoration: none;
  padding: 8px 18px;
  font-size: 15px;
  border-radius: 30px;
  border: 1px solid transparent;
  color: #a0a0a0;
}

nav a:hover, nav a.on {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.burger {
  display: none;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 60px;
  align-items: center;
}

.hero p {
  margin: 0 0 30px;
  font-size: 18px;
  color: #b0b0b0;
  max-width: 90%;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--r);
  padding: 2px;
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 243, 255, 0.2);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r) - 2px);
  display: block;
}

.alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255, 50, 50, 0.05);
  border: 1px solid rgba(255, 50, 50, 0.2);
  border-radius: var(--r);
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.alert .big {
  font-size: 54px;
  color: #ff4d4d;
  text-shadow: 0 0 20px rgba(255, 77, 77, 0.4);
}

.alert a { color: #ff4d4d; text-decoration: underline; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-rows: auto;
  align-items: stretch;
}
.grid > * { min-width: 0; max-width: 100%; }

.tile {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  height: auto;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.05);
}
.flip .tile:not(.back),
.flip .tile:not(.back):hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.c1 { background: linear-gradient(145deg, var(--glass-bg), var(--c1)); }
.c2 { background: linear-gradient(145deg, var(--glass-bg), var(--c2)); }
.c3 { background: linear-gradient(145deg, var(--glass-bg), var(--c3)); }
.c4 { background: linear-gradient(145deg, var(--glass-bg), var(--c4)); }

.dark {
  background: linear-gradient(145deg, rgba(30, 30, 35, 0.8), rgba(15, 15, 20, 0.9));
}

.neon-text {
  font-size: 48px;
  color: transparent;
  -webkit-text-stroke: 1px var(--neon-gold);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.tile .big { max-width: 100%; overflow-wrap: anywhere; }
.lic {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.45;
  color: #d2d2d2;
}
.tile > .lic + .btn { margin-top: 0; }
.flip .big { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }
.tile p, .tile li { font-size: 16px; color: #b4b4b4; line-height: 1.65; overflow-wrap: break-word; }
.tile ul { margin: 0; padding-left: 1.15em; display: grid; gap: 8px; }
.tile h3, .sheet h3, .lead, p, li, a { overflow-wrap: break-word; }

.logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: block;
  object-fit: contain;
  background: #16161a;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.row .big {
  font-size: 32px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
  white-space: normal;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.flip {
  perspective: 1200px;
  min-height: 480px;
  outline: none;
}

.fin {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  transition: transform 0.55s ease;
  transform-style: preserve-3d;
}

.face {
  position: absolute;
  inset: 0;
  overflow: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.back,
.flip .back:hover {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, rgba(40, 40, 45, 0.9), rgba(20, 20, 25, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip:focus .fin, .flip.on .fin { transform: rotateY(180deg); }
@media(hover:hover) { .flip:hover .fin { transform: rotateY(180deg); } }

.hint { font-size: 14px; color: #888; font-style: italic; margin-top: auto; }

.lead { max-width: 800px; margin-top: 16px; font-size: 18px; color: #b0b0b0; }
.lead + .lead { margin-top: 16px; }
.sheet p { color: #c8c8c8; }

footer {
  margin-top: 100px;
  background: rgba(10, 10, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  opacity: 0.5;
}

footer .grid { grid-auto-rows: auto; }
footer .tile { min-height: 0; padding: 24px; background: transparent; border: none; box-shadow: none; }
footer .tile:hover { transform: none; }

footer h3 { color: #fff; font-size: 18px; margin-bottom: 20px; }
footer ul { list-style: none; padding: 0; display: grid; gap: 12px; }
footer ul a { color: #888; text-decoration: none; }
footer ul a:hover { color: var(--neon-gold); padding-left: 5px; }

footer .big { font-size: 48px; color: #ff4d4d; margin-bottom: 0; text-shadow: 0 0 18px rgba(255, 77, 77, 0.35); }

.lic-banner {
  font-family: Unbounded, "Arial Black", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.35;
  color: #fff;
  background: rgba(255, 77, 77, 0.14);
  border: 2px solid #ff4d4d;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 28px;
}

.mail {
  font-family: Onest, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--neon-blue);
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  display: inline-block;
  margin-top: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}
.split .lead { max-width: none; }
.frame {
  border-radius: var(--r);
  padding: 2px;
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  min-width: 0;
}
.frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: calc(var(--r) - 2px);
  display: block;
}
.sheet {
  margin-top: 28px;
  padding: 28px 26px;
  border-radius: var(--r);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  min-width: 0;
  overflow: hidden;
}
.sheet h2 { margin-top: 8px; }
.sheet p + p, .sheet p + h3, .sheet h3 + p { margin-top: 14px; }
.sheet h3 { margin-top: 22px; }
img { max-width: 100%; }
.hero, .hero > div, .split > div { min-width: 0; }

@media(max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-image-wrapper, .frame { max-width: 800px; margin: 0 auto; width: 100%; }
}

@media(max-width: 720px) {
  .burger { display: block; }
  nav { display: none; width: 100%; padding-top: 16px; }
  nav.open { display: flex; flex-direction: column; }
  .bar { flex-wrap: wrap; }
  .grid { grid-template-columns: 1fr; }
  .alert { grid-template-columns: 1fr; text-align: center; }
  h1 { font-size: 32px; }
  .hero { margin-top: 30px; }
}

@media(prefers-reduced-motion: reduce) {
  .fin { transition: none; }
  .tile:hover { transform: none; }
}

html.noscroll,
html.noscroll body {
  overflow: hidden;
  overscroll-behavior: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  background: rgba(6, 6, 8, 0.86);
  overscroll-behavior: none;
  touch-action: none;
}

.modal-card {
  width: min(400px, 100%);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  margin: auto;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  touch-action: pan-y;
}

.modal-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.modal-card p {
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.5;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.choice button {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  font: 400 16px/1.3 Onest, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}

.choice .yes {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}

.choice .no {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.anjbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #12080c;
  color: #fff;
  border-top: 2px solid #ff4d4d;
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
}

.anjbar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.anjbar a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .anjbar p { font-size: 12.5px; }
  .modal-card { padding: 18px 14px; }
  .modal-card h2 { font-size: 20px; }
}