:root {
  --bg: #2B1055;
  --surface: #190B2E;
  --text: #FFC6FF;
  --muted: #BDB2FF;
  --primary: #FF70A6;
  --secondary: #70D6FF;
  --accent: #FFD670;
  --border: rgba(255, 112, 166, 0.3);
  --retro-future-glow: rgba(255, 112, 166, 0.5);
  --aesthetic-blur: 4px;
  --neon-intensity: 0.8;
  --vaporwave-80s-depth: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(255, 112, 166, 0.12) 0%, transparent 45%),
    linear-gradient(320deg, rgba(112, 214, 255, 0.1) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 198, 255, 0.02) 2px, rgba(255, 198, 255, 0.02) 4px);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 68px;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0px, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9997;
  opacity: 0.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 214, 112, 0.5);
}

.disclosure-banner {
  max-width: fit-content;
  margin: 8px auto;
  padding: 6px 24px;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 112, 166, 0.05);
  border: 1px solid rgba(189, 178, 255, 0.35);
  border-radius: 999px;
}

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  padding: 16px 0 8px;
  text-align: center;
}

.site-header img {
  margin: 0 auto;
  max-height: 48px;
  width: auto;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.vaporwave-80s {
  background-blend-mode: screen;
}

@keyframes neon-pulse-80s {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

.hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -80px;
  right: 10%;
  filter: blur(2px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 214, 112, 0.2);
  bottom: -40px;
  left: 8%;
  filter: blur(4px);
}

.hero h1 {
  position: relative;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--surface);
  text-shadow:
    2px 0 rgba(255, 112, 166, 0.6),
    -2px 0 rgba(112, 214, 255, 0.6);
  letter-spacing: -0.02em;
  z-index: 1;
}

.hero p {
  position: relative;
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--surface);
  opacity: 0.92;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.hero-compact {
  padding: 48px 24px;
}

.hero-compact h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.section-title {
  font-style: italic;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 20px;
  text-shadow:
    1px 0 rgba(255, 112, 166, 0.4),
    -1px 0 rgba(112, 214, 255, 0.4);
}

.section-title span {
  font-family: cursive, system-ui, sans-serif;
  color: var(--accent);
  font-weight: 400;
  font-style: normal;
}

.offers-section {
  position: relative;
  padding: 64px 0;
  background-image: url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 11, 46, 0.88), rgba(43, 16, 85, 0.82));
}

.offers-section .page-wrap {
  position: relative;
  z-index: 1;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.offer-card {
  background: #1a1030;
  border: 2px solid #3d2a6b;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.offer-logo {
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
  max-height: none;
}

.offer-card .bonus {
  font-weight: 700;
  font-size: clamp(0.82rem, 2.5vw, 1.05rem);
  color: #f0e6ff;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.offer-card .bonus-terms {
  display: block;
  font-size: 0.72rem;
  color: #a89cc8;
  margin-top: 4px;
  font-weight: 400;
}

.offer-card .offer-desc {
  font-size: 0.82rem;
  color: #9b8fb8;
  line-height: 1.4;
}

.offer-card .btn-offer {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: linear-gradient(135deg, #6c4eb8, #9b6fd4);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card .btn-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(155, 111, 212, 0.5);
  color: #fff;
  text-shadow: none;
}

.info-section {
  padding: 56px 0;
  position: relative;
}

.info-section:nth-child(even) {
  background: rgba(25, 11, 46, 0.5);
}

.info-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.info-card {
  background: rgba(255, 112, 166, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-style: italic;
}

.layout-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--surface);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.layout-highlight {
  background: linear-gradient(135deg, rgba(255, 112, 166, 0.1), rgba(112, 214, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-top: 20px;
}

.layout-list-icons ul {
  list-style: none;
  margin-top: 20px;
}

.layout-list-icons li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid rgba(255, 112, 166, 0.15);
}

.layout-list-icons li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.layout-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.info-table th {
  background: rgba(255, 112, 166, 0.12);
  color: var(--accent);
  font-style: italic;
}

.layout-quote {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 24px 0;
  background: rgba(25, 11, 46, 0.6);
  font-style: italic;
}

.layout-numbered ol {
  margin: 20px 0 0 24px;
  color: var(--muted);
}

.layout-numbered li {
  margin-bottom: 12px;
}

.layout-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.panel-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(112, 214, 255, 0.05);
}

.panel-item h3 {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.decor-wrap {
  max-width: 100%;
  overflow: hidden;
}

.cta-link {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--surface);
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 112, 166, 0.5);
  color: var(--surface);
  text-shadow: none;
}

.wireframe-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--vaporwave-80s-depth);
  background:
    linear-gradient(90deg, transparent 49%, rgba(112, 214, 255, 0.15) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 112, 166, 0.12) 50%, transparent 51%);
  background-size: 40px 40px;
  transform: perspective(200px) rotateX(60deg);
  transform-origin: bottom;
  opacity: 0.4;
  pointer-events: none;
  filter: blur(var(--aesthetic-blur));
  box-shadow: 0 0 20px var(--retro-future-glow);
}

.glitch-text {
  animation: glitch-skew 4s infinite;
}

@keyframes glitch-skew {
  0%, 90%, 100% { transform: skew(0deg); }
  92% { transform: skew(-1deg); }
  94% { transform: skew(1deg); }
  96% { transform: skew(-0.5deg); }
}

.vhs-track {
  position: relative;
}

.vhs-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  animation: vhs-line 3s linear infinite;
  pointer-events: none;
}

@keyframes vhs-line {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.neon-glow {
  text-shadow:
    0 0 6px rgba(255, 112, 166, var(--neon-intensity)),
    0 0 12px rgba(112, 214, 255, 0.4);
  animation: neon-pulse-80s 3s ease infinite;
}

.retro-future-accent {
  font-family: cursive, system-ui, sans-serif;
  color: var(--accent);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0 24px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.footer-badges a,
.footer-badges span {
  display: block;
}

.footer-badges img {
  max-height: 48px;
  width: auto;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 24px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9000;
  display: flex;
  align-items: center;
}

.bottom-nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  height: 100%;
}

.bottom-nav-logo img {
  max-height: 32px;
  width: auto;
}

.bottom-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  color: var(--muted);
  font-size: 10px;
  min-width: 44px;
  transition: color 0.2s;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-item:hover {
  color: var(--primary);
  text-shadow: none;
}

.nav-more-btn {
  display: none;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
}

.nav-more-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-overflow {
  display: none;
  position: fixed;
  bottom: 52px;
  right: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  z-index: 9001;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.nav-overflow.open {
  display: flex;
}

.nav-overflow .nav-item {
  flex-direction: row;
  gap: 8px;
  font-size: 12px;
  padding: 8px 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 11, 46, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 112, 166, 0.2);
}

.modal-box h2 {
  font-style: italic;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-box p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--surface);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-secondary {
  padding: 12px 28px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 60px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  z-index: 8999;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.5);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.legal-content {
  padding: 40px 0 56px;
}

.legal-content h1 {
  font-style: italic;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--accent);
  font-style: italic;
}

.legal-content h3 {
  font-size: 1rem;
  margin: 20px 0 8px;
  color: var(--secondary);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-content ul {
  margin: 0 0 16px 24px;
}

.contact-form {
  margin-top: 32px;
  max-width: 520px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 112, 166, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: var(--primary);
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  padding: 24px;
  background: rgba(112, 214, 255, 0.1);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
}

.form-success.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

#contact-form.hidden {
  display: none !important;
}

.page-404 {
  text-align: center;
  padding: 80px 24px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-404 h1 {
  font-size: 4rem;
  font-style: italic;
  font-weight: 800;
  color: var(--primary);
  text-shadow:
    3px 0 rgba(112, 214, 255, 0.5),
    -3px 0 rgba(255, 214, 112, 0.5);
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.redirect-page .ad-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 24px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.redirect-notes {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 400px;
}

.redirect-notes a {
  color: var(--secondary);
}

.aesthetic-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(189, 178, 255, 0.5);
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 16px;
  }

  .layout-split {
    grid-template-columns: 1fr;
  }

  .bottom-nav-links .nav-item:nth-child(n+6) {
    display: none;
  }

  .nav-more-btn {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }

  .offer-logo {
    width: 180px;
    height: 72px;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 375px) {
  .decor-wrap,
  .decor-side,
  .rail-visual,
  .betaling-img-wrap,
  .vp-img-wrap,
  .licens-img-wrap,
  .rl-decor-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img,
  .betaling-img-wrap img,
  .vp-img-wrap img,
  .licens-img-wrap img,
  .rl-decor-wrap img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 220px;
  }
}

@media (min-width: 769px) {
  .nav-overflow {
    display: none !important;
  }
}
