/*
  Snabb anpassning: justera designvariablerna nedan.
  När logotypen har granskats kan färgerna här bytas för en exakt matchning.
*/
:root {
  --bg: #00142c;
  --surface: rgba(3, 34, 75, 0.82);
  --surface-strong: #06295a;
  --text: #effaff;
  --muted: #9cc7e8;
  --lime: #00eaff;
  --cyan: #1d78ff;
  --violet: #ff38d1;
  --pink: #ff38d1;
  --gold: #ffbd42;
  --border: rgba(68, 192, 255, 0.35);
  --radius-large: 28px;
  --radius-small: 12px;
  --page-width: 1120px;
  --neon-shadow: 0 0 24px rgba(0, 234, 255, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Archivo", Arial, sans-serif;
  background:
    linear-gradient(rgba(0, 13, 37, 0.8), rgba(0, 13, 37, 0.9)),
    url("Timer_bakgrund.jpeg") center 33% / cover fixed,
    var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, transparent 24%, rgba(0, 4, 15, 0.6) 100%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 38vw;
  max-width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.13;
  pointer-events: none;
}

.page-glow--left {
  top: 130px;
  left: -220px;
  background: var(--violet);
}

.page-glow--right {
  right: -170px;
  bottom: -100px;
  background: var(--cyan);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.site-footer span span {
  color: var(--lime);
}

.brand-name {
  display: grid;
  line-height: 0.93;
}

.brand-name strong {
  color: var(--pink);
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-shadow: 0 0 14px rgba(255, 56, 209, 0.48);
}

.brand-name small {
  color: #86cbff;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(0, 234, 255, 0.8);
  border-radius: 10px;
  background: #06285a;
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.46);
  place-items: center;
}

.brand-mark img {
  position: absolute;
  top: 0;
  left: 0;
  width: 391.875%;
  max-width: none;
  height: auto;
  transform: translate(-72.57%, -1.99%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link--active {
  color: var(--text);
  background: rgba(0, 234, 255, 0.12);
}

/* Ta bort denna regel när framtida flikar ska visas för besökare. */
.nav-link--future {
  display: none;
}

main {
  display: grid;
  min-height: calc(100vh - 194px);
  place-items: center;
}

.view {
  width: 100%;
}

.hero {
  display: flex;
  min-height: calc(100vh - 194px);
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 17vh, 210px) 0 0;
  transform: translateY(clamp(75px, 9vh, 135px));
}

.eyebrow,
.card-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot,
.live-indicator span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.12), 0 0 12px var(--lime);
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2,
.countdown strong {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 760px;
  margin-block: 22px 21px;
  font-size: clamp(4rem, 10vw, 8.7rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

h1 span {
  color: var(--pink);
  text-shadow: 0 0 40px rgba(255, 56, 209, 0.34);
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.65;
}

.countdown-card {
  position: relative;
  width: min(100%, 880px);
  max-width: 880px;
  padding: clamp(24px, 4.5vw, 42px);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: linear-gradient(125deg, rgba(3, 65, 136, 0.88), rgba(1, 23, 55, 0.91));
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.07);
}

.countdown-card::after {
  position: absolute;
  top: -80px;
  right: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 56, 209, 0.24), transparent 67%);
  content: "";
  pointer-events: none;
}

.countdown-card__topline {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 18px;
}

.countdown-card h2 {
  margin: 7px 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  letter-spacing: -0.04em;
}

.live-indicator {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(0, 234, 255, 0.4);
  border-radius: 999px;
  color: #b8f9ff;
  background: rgba(0, 234, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-indicator span {
  width: 6px;
  height: 6px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 2.1vw, 22px);
  margin-top: clamp(31px, 5vw, 48px);
}

.time-unit {
  display: grid;
  min-width: 0;
  gap: 4px;
  justify-items: center;
}

.time-unit strong {
  color: var(--text);
  font-size: clamp(2rem, 7.5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.time-unit span {
  color: var(--muted);
  font-size: clamp(0.63rem, 1.7vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.time-separator {
  margin-top: -14px;
  color: var(--pink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 6vw, 4.4rem);
  font-weight: 500;
}

.hero-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 26px;
  margin-top: 28px;
  color: #acb4c6;
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-top: 1px solid rgba(206, 220, 255, 0.1);
  color: #778197;
  font-size: 0.78rem;
}

.site-footer > span:first-child {
  color: #bac2d2;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-header {
    min-height: 82px;
  }

  .hero {
    min-height: calc(100vh - 162px);
    padding-top: clamp(80px, 14vh, 120px);
    transform: translateY(clamp(45px, 7vh, 75px));
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 5.6rem);
  }

  .hero-copy {
    margin-bottom: 37px;
  }

  .countdown-card {
    border-radius: 21px;
  }

  .countdown-card__topline {
    display: grid;
  }

  .live-indicator {
    position: static;
    margin-top: 0;
  }

  .countdown {
    justify-content: space-between;
    gap: 4px;
  }

  .time-separator {
    margin-top: -12px;
  }

  .site-footer {
    min-height: 80px;
  }
}

@media (max-width: 390px) {
  .countdown-card {
    padding: 21px 18px;
  }

  .time-unit strong {
    font-size: 2.1rem;
  }

  .time-separator {
    font-size: 1.8rem;
  }
}
