/* Grunnleggende instillinger */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0b0b0b; /* Nesten helt svart */
  font-family: "Inter", sans-serif;
  color: white;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

/* Header Styling */
/* ==========================================================================
   NY HEADER-STYLING MED BÅDE BIL-LOGO OG TEKST
   ========================================================================== */

.main-header {
  background-color: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #4b0082;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.main-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* Logo til venstre, meny i midten, knapp til høyre */
  align-items: center;
  padding: 15px 20px;
}

/* Hovedboksen for hele logoen */
.main-header .logo {
  display: flex;
  align-items: center;
  gap: 15px; /* Avstand mellom bil-bildet og teksten */
}

/* Størrelsen på selve bil-logoen */
.main-header .logo-img {
  height: clamp(20px, 6vw, 40px); /* Juster denne hvis du vil ha bil-bildet større eller mindre */
  width: auto;
  display: block;
}

/* Selve tekstboksen - tvinger ordene sammen på én linje */
.main-header .logo-text-wrapper {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(0.5rem, 2.4vw, 1.5rem);
  font-weight: bold;
  letter-spacing: clamp(0.3px, 0.3vw, 2px);
  display: flex;
  gap: 0; /* ABSOLUTT NULL mellomrom mellom DONUT, DRINK, AND, DRIVE */
  white-space: nowrap;
}

.main-header .logo-text-wrapper span {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.main-header .logo .donut {
  color: #9d32a8; /* Lilla tekst */
}

.main-header .logo .drive {
  color: #ffffff; /* Hvit tekst */
}

/* --- NAVIGASJONSMENY --- */
.main-header .nav-menu ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.main-header .nav-menu ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.main-header .nav-menu ul li a:hover {
  color: #9d32a8;
  text-shadow: 0 0 10px rgba(157, 50, 168, 0.5);
}

/* --- BUTTON / CTA --- */
.main-header .btn-lilla {
  background-color: #9d32a8;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(157, 50, 168, 0.4);
  transition: 0.3s ease;
  display: inline-block;
}

.main-header .btn-lilla:hover {
  background-color: #bc3fd0;
  box-shadow: 0 0 25px rgba(157, 50, 168, 0.7);
  transform: translateY(-2px);
}

/* --- HEADER ACTIONS / HAMBURGER --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1002;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hero Seksjon */
.hero {
  position: relative;
  z-index: 0;
  height: 85vh; /* Dekker 85% av skjermhøyden */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #0b0b0b; /* Basisfarge */
}

/* Dette skaper selve rute-mønsteret */
.video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Lager 20px x 20px ruter */
  background-image:
    linear-gradient(45deg, #1a002e 25%, transparent 25%),
    linear-gradient(-45deg, #1a002e 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1a002e 75%),
    linear-gradient(-45deg, transparent 75%, #1a002e 75%);
  background-size: 40px 40px;
  background-position:
    0 0,
    0 20px,
    20px -20px,
    -20px 0px;

  /* Dette gjør at mønsteret fader ut nedover */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 60%
  );

  opacity: 0.4; /* Juster denne for hvor tydelig flagget skal være */
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Sørger for at videoen fyller ut uten å strekkes */
  z-index: 0;
  display: block;
  pointer-events: none;
}

/* Det lilla filteret over videoen */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* En mørk fade som binder alt sammen */
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 11, 0.2) 0%,
    rgba(11, 11, 11, 1) 95%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Tekst-styling */
.hero-content h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.2rem, 8vw, 4rem);
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(157, 50, 168, 0.8);
  padding: 0 15px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  padding: 0 20px;
}

/* Knapper i Hero */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0 20px;
}

.btn-lilla-lg {
  background-color: #9d32a8;
  color: white;
  padding: 18px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(157, 50, 168, 0.5);
}

.btn-lilla-lg:hover {
  background-color: #bc3fd0;
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(157, 50, 168, 0.8);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 18px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  transition: 0.3s;
}

.btn-outline:hover {
  background: white;
  color: black;
}
/* Layout for seksjonen */
.features {
  padding: 80px 0;
  background-color: #0b0b0b;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch; /* Sørger for at alle kortene har samme høyde */
}

.grid-3 :nth-child(2) h3 {
  /* Gjør tittelen litt mindre */
  font-size: 1.3rem;
}

/* Styling av hvert kort */
.feature-card {
  background: #151515;
  border: 1px solid #222;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 15px;
  transition: all 0.4s ease;

  /* Flexbox-oppsett for å kontrollere innholdet */
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Den lilla hover-effekten */
.feature-card:hover {
  border-color: #9d32a8;
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(157, 50, 168, 0.2);
}

/* Gjør den midterste boksen litt mer "spesiell" (valgfritt) */
.feature-card.highlight {
  border-color: #4b0082;
}

/* Tekst i kortene */
.feature-card h3 {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-size: 1.5rem;
  margin: 20px 0;
  text-transform: uppercase;
}

.feature-card p {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 25px;
}

.icon {
  font-size: 3rem;
}

.btn-text {
  margin-top: auto;
  color: #9d32a8;
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-weight: bold;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.btn-text:hover {
  color: #fff;
}
/* --- REVEAL SECTION STYLING --- */
.reveal-section {
  padding: 100px 0;
  background-color: #0b0b0b;
}

.reveal-container {
  position: relative;
  width: 500px;
  height: 500px;
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 20px; /* Kan endres til 50% for sirkel */
  overflow: hidden;
  box-shadow: 0 0 40px rgba(157, 50, 168, 0.3);
  cursor: none; /* Skjuler musa inni bildet */
  touch-action: none; /* Viktig for mobil */
  border: 2px solid #4b0082;
}

.base-layer,
.reveal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  pointer-events: none;
}

.mask-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* Her er magien fra Northweb-oppgaven din */
  clip-path: ellipse(
    var(--rx, 0px) var(--ry, 0px) at var(--x, 50%) var(--y, 50%)
  );
}

/* Responsiv layout for split-view */
.split {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: center;
}

@media (max-width: 992px) {
  .split {
    flex-direction: column;
    text-align: center;
  }
}
/* --- NAVIGASJON / HEADER FIX --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(10px); /* Moderne glass-effekt */
  border-bottom: 1px solid rgba(157, 50, 168, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center; /* Sentrerer containeren i midten */
}

.navbar .container {
  display: flex;
  flex-direction: row; /* Viktig: Header skal være vannrett */
  justify-content: space-between; /* Logo til venstre, meny til høyre */
  align-items: center;
  height: 100%;
  max-width: 1100px; /* Samme bredde som leaderboardet */
  width: 100%;
  padding: 0 20px;
}

/* Logo-styling */
.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: white;
  text-transform: uppercase;
}

.logo-text .bold {
  color: var(--electric-purple, #9d32a8);
}

/* Menyen */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: #ccc !important; /* Standardfarge på lenkene (lys grå) */
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

/* Her skjer magien: Teksten blir lilla OG får lilla glød når du hovrer eller er på aktiv side */
.nav-menu a:hover,
.nav-menu a.active {
  color: #9d32a8 !important; /* Endrer tekstfargen til lilla */
  text-shadow: 0 0 15px rgba(157, 50, 168, 0.8); /* Den fete lilla gløden */
}

/* Knappen i menyen */
.btn-nav {
  background: var(--electric-purple);
  padding: 10px 20px;
  border-radius: 5px;
  color: white !important;
  box-shadow: 0 0 15px rgba(157, 50, 168, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(157, 50, 168, 0.5);
}
/* --- DEN BRA FOOTEREN (Original stil) --- */
.main-footer {
  position: relative;
  background: #080808;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(157, 50, 168, 0.2);
  width: 100%; /* Sørger for at den dekker hele bredden */
}

/* Overstyrer den globale flex-containeren så footer-grid og footer-bottom
   stables under hverandre i stedet for å presses side om side */
.main-footer .container {
  display: block;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--electric-purple);
  box-shadow: 0 0 20px var(--electric-purple);
}

/* Her må vi overstyre containeren for footeren så den blir grid igjen */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
  width: 100%;
}

.footer-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #888;
  line-height: 1.6;
}

.footer-grid h4 {
  font-size: 0.9rem;
  color: var(--electric-purple);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  color: #aaa;
}
.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
.social-link:hover {
  border-color: var(--electric-purple);
  background: rgba(157, 50, 168, 0.1);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #1a1a1a;
  text-align: center;
  color: #555;
}

/* Responsiv */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
/* --- AKTIVER SILKEMYK RULLING --- */

html {
  scroll-behavior: smooth;

  /* Gjør at den faste headeren ikke kutter toppen av overskriftene når du ruller ned */

  scroll-padding-top: 100px;

  /* Hindrer horisontal scroll fra den skjulte mobil-navmenyen (fixed + transform) */
  overflow-x: hidden;
}

/* --- DETALJSEKSJONER BASE --- */

.details-page-section {
  width: 100%;

  padding: 120px 0;

  border-bottom: 1px solid #1a1a1a;

  box-sizing: border-box;
}

/* Annethvert felt har litt mørkere bakgrunn for variasjon */

.details-page-section.alt-bg {
  background-color: #0d0d0d;

  border-top: 1px solid rgba(157, 50, 168, 0.05);

  border-bottom: 1px solid rgba(157, 50, 168, 0.05);
}

.details-grid {
  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: 60px;

  align-items: center;

  width: 100%;
}

/* Snur rekkefølgen på midterste kort (Grupper) for en kul layout */

.details-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
}

/* --- TEKSTSTYLING --- */

.section-tag {
  font-family: "Orbitron", sans-serif;

  color: #9d32a8;

  font-size: 0.85rem;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 2px;

  display: block;

  margin-bottom: 10px;
}

.details-text h2 {
  font-family: "Orbitron", sans-serif;

  font-size: clamp(1.6rem, 5vw, 3rem);

  font-weight: 900;

  letter-spacing: 1px;

  margin: 0 0 25px 0;

  overflow-wrap: break-word;
}

.purple-glow {
  color: #9d32a8;

  text-shadow: 0 0 15px rgba(157, 50, 168, 0.5);
}

.details-text p {
  color: #ccc;

  font-size: 1.1rem;

  line-height: 1.7;

  margin-bottom: 30px;
}

/* --- LISTER --- */

.details-list {
  list-style: none;

  padding: 0;

  margin: 0;
}

.details-list li {
  font-size: 1.05rem;

  color: #aaa;

  margin-bottom: 15px;

  line-height: 1.5;
}

.details-list strong {
  color: #fff;
}

/* --- VISUELLE BOKSER / PRISKORT (HØYRESIDE) --- */

.details-stats-box {
  display: flex;

  gap: 20px;

  width: 100%;
}

.details-stats-box.horizontal {
  flex-direction: column;
}

.stat-card {
  flex: 1;

  background: #111;

  border: 1px solid #222;

  border-radius: 16px;

  padding: 30px 20px;

  text-align: center;

  position: relative;
}

.stat-card h3 {
  font-family: "Orbitron", sans-serif;

  margin: 0 0 10px 0;

  font-size: 1.4rem;
}

.stat-price {
  font-size: 2rem;

  font-weight: 900;

  color: #9d32a8;

  margin: 0;
}

/* Spesialstyling for det "populære" kortet */

.stat-card.popular {
  border: 1px solid #9d32a8;

  background: linear-gradient(180deg, #151117 0%, #111 100%);

  box-shadow: 0 0 20px rgba(157, 50, 168, 0.15);
}

.stat-badge {
  position: absolute;

  top: -12px;

  left: 50%;

  transform: translateX(-50%);

  background: #9d32a8;

  color: white;

  padding: 3px 12px;

  font-size: 0.75rem;

  font-weight: 900;

  text-transform: uppercase;

  border-radius: 12px;
}

/* Event-kort */

.package-info-card {
  background: #111;

  border: 1px solid #222;

  border-radius: 20px;

  padding: 40px;
}

.package-info-card h4 {
  font-family: "Orbitron", sans-serif;

  font-size: 1.6rem;

  margin: 0 0 15px 0;

  color: white;
}

.package-info-card p {
  font-size: 1rem;

  color: #888;

  margin-bottom: 25px;
}

.pack-price {
  font-family: "Orbitron", sans-serif;

  font-size: 1.3rem;

  font-weight: 900;

  color: #9d32a8;
}

/* Bedriftsboks */

.corporate-box {
  width: 100%;

  background: #141414;

  border: 1px solid #252525;

  padding: 40px;

  border-radius: 20px;

  text-align: center;
}

.corporate-box h3 {
  font-family: "Orbitron", sans-serif;

  margin: 0 0 15px 0;
}

.corporate-btn {
  display: inline-block;

  background: #9d32a8;

  color: white;

  text-decoration: none;

  padding: 15px 30px;

  border-radius: 10px;

  font-weight: 900;

  text-transform: uppercase;

  margin-top: 20px;

  transition: 0.3s;
}

.corporate-btn:hover {
  background: #bd3cc9;

  box-shadow: 0 0 15px rgba(157, 50, 168, 0.6);
}

/* --- MOBILRESPONSIVITET --- */

@media (max-width: 768px) {
  .details-grid,
  .details-grid.reverse {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .details-page-section {
    padding: 70px 0;
  }
}
/* Fjerner den automatiske understrekingen på logo-lenken */
a.logo {
  text-decoration: none !important;
}

/* For sikkerhets skyld, hvis nettleseren prøver å understreke teksten inni */
a.logo * {
  text-decoration: none !important;
}
/* ==========================================================================
   LIVE STREAM & 10-SEKUNDERS SPILL STYLING
   ========================================================================== */

/* Felles avstand for de nye seksjonene */
.live-stream-section,
.game-section {
  padding: 80px 0;
  width: 100%;
  text-align: center;
}

/* --- LIVE STREAM --- */
.live-stream-section h2,
.game-section h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.video-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Sørger for perfekt 16:9 format på alle skjermer */
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(157, 50, 168, 0.4);
  box-shadow: 0 0 30px rgba(157, 50, 168, 0.25);
  background-color: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- 10-SEKUNDERS SPILL --- */
.game-box {
  background: #151515; /* Samme mørke bakgrunn som pakkekortene dine */
  border: 1px solid #333;
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

/* Hvis man vinner får hele boksen en syk grønn glød */
.game-box.winner {
  border-color: #00ffcc !important;
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.2) !important;
}

.game-box p {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Den store fete timeren */
#timer-display {
  font-family: "Orbitron", sans-serif;
  font-size: 5.5rem;
  font-weight: 900;
  color: white;
  margin: 20px 0 35px 0;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  font-variant-numeric: tabular-nums; /* Hindrer at tallene "hopper" når de teller */
}

/* Spill-knappen */
#game-btn {
  background: #9d32a8;
  color: white;
  border: none;
  padding: 20px 50px;
  border-radius: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(157, 50, 168, 0.4);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 300px;
}

#game-btn:hover {
  background: #bc3fd0;
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(157, 50, 168, 0.6);
}

#game-btn:active {
  transform: scale(0.98);
}

/* Resultatmeldingen */
#game-message {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 30px;
  min-height: 30px; /* Holder plassen så boksen ikke hopper */
  line-height: 1.5;
}

.attempt-counter {
  margin-top: 18px;
  color: #888;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.hidden {
  display: none !important;
}

.win-form-section {
  padding: 0 0 100px;
  width: 100%;
}

.win-form-panel {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(180deg, #151515 0%, #111 100%);
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 0 35px rgba(157, 50, 168, 0.12);
}

.win-form-panel h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 10px 0 15px;
}

.win-form-panel p {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 30px;
}

.win-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.win-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.win-form input,
.win-form select {
  width: 100%;
  background: #080808;
  border: 1px solid #333;
  padding: 18px;
  color: white;
  border-radius: 12px;
  font-size: 1rem;
}

.win-form input::placeholder {
  color: #777;
}

.win-form .btn-confirm {
  width: 100%;
  background: #9d32a8;
  padding: 20px;
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
}

.win-form .btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.win-status {
  min-height: 24px;
  margin: 0;
  color: #bbb;
}

@media (max-width: 768px) {
  .win-form-panel {
    padding: 28px 22px;
  }

  .win-form .form-row {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   OM OSS SEKSJON STYLING
   ========================================================================== */

.about-section {
  padding: 100px 0;
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.about-text h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 10px 0 25px 0;
}

.about-text p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Høyre side: Statistikk-kort */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.about-stat-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
}

.about-stat-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 5px;
}

.about-stat-card p {
  color: #888;
  font-size: 0.95rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Det "populære/uthevede" kortet tar hele bredden i bunnen av sin grid */
.about-stat-card.highlight {
  grid-column: span 2;
  border-color: #9d32a8;
  background: linear-gradient(180deg, #151117 0%, #111 100%);
  box-shadow: 0 0 25px rgba(157, 50, 168, 0.15);
}

.about-stat-card.highlight h3 {
  color: #9d32a8;
  text-shadow: 0 0 15px rgba(157, 50, 168, 0.4);
}

/* Mobilresponsivitet */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    text-align: center;
  }
}

/* ==========================================================================
   HEADER / NAV MOBILRESPONSIVITET
   ========================================================================== */

@media (max-width: 880px) {
  .main-header .container {
    padding: 12px 16px;
  }

  .hamburger-btn {
    display: flex;
  }

  .main-header .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(78vw, 320px);
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(157, 50, 168, 0.3);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    padding: 110px 30px 40px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1001;
  }

  .main-header .nav-menu.open {
    transform: translateX(0);
  }

  .main-header .nav-menu ul {
    flex-direction: column;
    gap: 28px;
  }

  .main-header .nav-menu ul li a {
    font-size: 1.15rem;
  }

  .nav-backdrop.open {
    display: block;
    opacity: 1;
  }

  .main-header .btn-lilla {
    padding: 9px 16px;
    font-size: 0.7rem;
  }

  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .main-header .logo {
    gap: 6px;
  }

  .main-header .btn-lilla {
    padding: 8px 12px;
    font-size: 0.62rem;
  }

  .hamburger-btn {
    width: 32px;
    height: 32px;
  }

  .hamburger-line {
    width: 20px;
  }
}

body.nav-locked {
  overflow: hidden;
}

/* ==========================================================================
   ØVRIG MOBILRESPONSIVITET (HERO, SPILL, KORT)
   ========================================================================== */

@media (max-width: 600px) {
  .hero {
    height: auto;
    min-height: 85vh;
    padding: 100px 0 60px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .btn-lilla-lg,
  .btn-outline {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 16px 20px;
  }

  .feature-card {
    padding: 30px 24px;
  }

  .game-box {
    padding: 35px 22px;
  }

  #timer-display {
    font-size: 3.4rem;
  }

  #game-btn {
    padding: 18px 30px;
    font-size: 1.15rem;
  }
}
