/* MaltaBonus – logo + motion */
:root {
  --red: #CF142B;
  --red-dark: #A01022;
  --red-soft: rgba(207, 20, 43, 0.12);
  --bg: #0c0c0e;
  --surface: #141418;
  --card: #1a1a20;
  --text: #f4f4f5;
  --muted: #9b9ba6;
  --line: rgba(255, 255, 255, 0.08);
  --ok: #3dd68c;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
  --nav-h: 64px;
  --max: 960px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.age-locked,
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* FX canvas */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ——— Age gate ——— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}
.age-gate[hidden] { display: none !important; }
.age-gate-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  text-align: center;
}
.age-gate-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(207, 20, 43, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: logo-float 3.5s ease-in-out infinite;
}
.age-gate-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}
.age-gate-card h1 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}
.age-gate-text { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.age-gate-actions { display: grid; gap: 0.5rem; }
.age-gate-note { margin-top: 0.85rem; font-size: 0.72rem; color: var(--muted); }

/* ——— Top bar ——— */
.top-strip {
  position: relative;
  z-index: 50;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.top-strip strong { font-weight: 800; }

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  z-index: 2;
}
.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(207, 20, 43, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-brand:hover .nav-logo {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 0 2px rgba(207, 20, 43, 0.7), 0 4px 14px rgba(207, 20, 43, 0.35);
}
.nav-wordmark span { color: var(--red); }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s, background 0.15s, transform 0.15s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.nav-burger {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 0.5rem 0 1rem;
}
.mobile-panel.is-open { display: block; animation: panel-down 0.22s ease; }
@keyframes panel-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 0 0.75rem;
}
.mobile-panel nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-weight: 650;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-panel nav a:last-child { border-bottom: 0; }
.mobile-panel .btn { width: 100%; margin-top: 0.35rem; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(var(--nav-h) + 32px);
  z-index: 90;
  background: rgba(0, 0, 0, 0.45);
}
.nav-backdrop.is-open { display: block; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  transition: filter 0.15s, transform 0.15s, background 0.15s, box-shadow 0.2s;
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.875rem; }
.btn-lg { padding: 0.95rem 1.4rem; font-size: 1rem; }
.btn-cta {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(207, 20, 43, 0.55);
}
.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -6px rgba(207, 20, 43, 0.65);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.btn-block { width: 100%; }
.btn-pulse {
  animation: cta-pulse 2.2s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 24px -6px rgba(207, 20, 43, 0.45); }
  50% { box-shadow: 0 10px 36px -4px rgba(207, 20, 43, 0.85); }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(207, 20, 43, 0.28) 0%, rgba(207, 20, 43, 0.08) 40%, transparent 70%);
  pointer-events: none;
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -30%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -30%) scale(1.08); }
}
.hero-simple {
  position: relative;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.hero-logo-wrap {
  position: relative;
  width: min(240px, 62vw);
  aspect-ratio: 1;
  margin: 0 auto 1.15rem;
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.12),
    0 0 0 8px rgba(207, 20, 43, 0.25),
    0 16px 40px rgba(207, 20, 43, 0.35);
  animation: logo-float 4s ease-in-out infinite;
}
.hero-logo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(207, 20, 43, 0.3);
  z-index: 0;
  animation: ring-spin 12s linear infinite;
  pointer-events: none;
}
.hero-logo-ring::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: ring-spin 18s linear infinite reverse;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 7vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.hero h1 span { color: var(--red); }
.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

/* Hero entrance */
.anim-hero {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.anim-hero.delay-1 { animation-delay: 0.08s; }
.anim-hero.delay-2 { animation-delay: 0.16s; }
.anim-hero.delay-3 { animation-delay: 0.24s; }
.anim-hero.delay-4 { animation-delay: 0.32s; }
@keyframes hero-in {
  to { opacity: 1; transform: none; }
}
.anim-pop {
  animation: pop-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Instagram */
.btn-ig {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn-ig:hover {
  border-color: rgba(225, 48, 108, 0.5);
  color: #e1306c;
  background: rgba(225, 48, 108, 0.08);
  transform: scale(1.06);
}
.btn-ig-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  gap: 0.45rem;
}
.btn-ig-outline:hover {
  border-color: rgba(225, 48, 108, 0.55);
  background: rgba(225, 48, 108, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag-hot {
  background: var(--red-soft);
  border-color: rgba(207, 20, 43, 0.35);
  color: #ff9aa5;
}
.tag-ok {
  background: rgba(61, 214, 140, 0.1);
  border-color: rgba(61, 214, 140, 0.3);
  color: #86efac;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.section-head { margin-bottom: 1.25rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.3rem;
}
.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

/* Deals */
.deals-grid {
  display: grid;
  gap: 0.85rem;
}
.deal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.deal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(207, 20, 43, 0.35);
  box-shadow: 0 16px 40px -16px rgba(207, 20, 43, 0.4);
}
.deal-card.featured {
  border-color: rgba(207, 20, 43, 0.4);
  background: linear-gradient(180deg, rgba(207, 20, 43, 0.12) 0%, var(--card) 55%);
}
.deal-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.deal-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}
.deal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.deal-rank {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.deal-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
}
.deal-bonus {
  text-align: center;
  background: var(--bg);
  border-radius: 10px;
  padding: 0.85rem;
}
.bonus-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}
.pct {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}
.deal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.deal-actions .hint {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

/* Steps */
.steps { display: grid; gap: 0.65rem; }
.step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 20, 43, 0.3);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--display);
}
.step h3 {
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0.15rem;
}
.step p { font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 0.5rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(255, 255, 255, 0.14); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Final */
.final {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 2rem;
}
.final-card {
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 20px 50px -20px rgba(207, 20, 43, 0.7);
}
.final-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: logo-float 3.5s ease-in-out infinite;
}
.final-card h2 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.final-card p {
  opacity: 0.92;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  max-width: 26rem;
  margin-inline: auto;
}
.final-card .btn {
  background: #fff;
  color: var(--red);
  font-weight: 800;
}
.final-card .btn:hover {
  filter: brightness(0.97);
  transform: translateY(-2px);
}
.final-card .btn-pulse {
  animation: cta-pulse-white 2.2s ease-in-out infinite;
}
@keyframes cta-pulse-white {
  0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 12px 32px rgba(0,0,0,0.28); }
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 6.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(207, 20, 43, 0.4);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1rem 0;
  font-weight: 600;
}
.footer-links a:hover { color: #fff; }
.footer-legal { line-height: 1.55; max-width: 40rem; }
.footer-legal strong { color: var(--text); }

/* Sticky */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(12, 12, 14, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
body.nav-open .sticky-cta { visibility: hidden; }
.sticky-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sticky-copy { flex: 1; min-width: 0; }
.sticky-copy strong {
  display: block;
  font-family: var(--display);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-copy span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}
.sticky-cta .btn { flex-shrink: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Desktop */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .mobile-panel,
  .mobile-panel.is-open { display: none !important; }
  .nav-backdrop,
  .nav-backdrop.is-open { display: none !important; }

  .hero { padding: 2.75rem 0 3rem; }
  .hero-logo-wrap { width: 280px; }
  .deals-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; gap: 0.65rem; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 2.25rem; }
  .final-card { padding: 2.25rem; }
  .nav-cta-desktop { display: inline-flex; }
}

@media (max-width: 767px) {
  .nav-cta-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-burger span,
  .reveal,
  .anim-hero,
  .hero-logo,
  .hero-logo-ring,
  .hero-glow,
  .btn-pulse,
  .final-logo,
  .age-gate-logo { animation: none !important; transition: none !important; }
  .anim-hero,
  .reveal { opacity: 1; transform: none; }
  .fx-canvas { display: none; }
}
