/* ===== MORSA Hockey Merch ===== */

:root {
  --bg: #0b0b0d;
  --bg-raised: #121216;
  --bg-card: #16161b;
  --line: #26262e;
  --text: #e9e7e2;
  --text-dim: #a8a49c;
  --gold: #c9a35c;
  --gold-bright: #e3c079;
  --radius: 18px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }

.gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--gold {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #1a1408;
  box-shadow: 0 4px 24px rgba(201, 163, 92, 0.25);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201, 163, 92, 0.4); }
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--small { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, 0.85);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}
.nav__brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav__brand span {
  font-weight: 800;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__brand em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__links a.btn { color: #1a1408; background: linear-gradient(160deg, var(--gold-bright), var(--gold)); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(201, 163, 92, 0.13), transparent 65%),
    var(--bg);
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 420px at 18% 78%, rgba(201, 163, 92, 0.06), transparent 70%),
    radial-gradient(circle 380px at 84% 24%, rgba(201, 163, 92, 0.05), transparent 70%);
}
.hero__inner { max-width: 820px; position: relative; }
.hero__logo {
  width: clamp(150px, 24vw, 230px);
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 0 80px rgba(201, 163, 92, 0.18);
}
.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero__lead {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  max-width: 620px;
  margin: 1.4rem auto 2.2rem;
}
.hero__cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  text-decoration: none;
  font-size: 1.3rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Sektioner ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head__kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.products { padding: 6rem 1.5rem; max-width: var(--maxw); margin: 0 auto; }
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

/* ===== Kort ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 163, 92, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.card__imgwrap { aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.card__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__imgwrap img { transform: scale(1.045); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--gold);
}
.card__body h3 { font-size: 1.3rem; }
.card__body p { color: var(--text-dim); font-size: 0.94rem; flex: 1; }
.card__link { color: var(--gold-bright); font-weight: 700; font-size: 0.9rem; margin-top: 0.4rem; }

/* ===== Feature-sektioner ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.feature--flip .feature__media { order: 2; }
.feature__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.feature__text > p { color: var(--text-dim); margin-top: 1rem; }
.feature__list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.65rem;
}
.feature__list li {
  padding-left: 1.7rem;
  position: relative;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
}
.feature__price {
  margin-top: 1.8rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ===== Citat ===== */
.quote {
  padding: 4.5rem 1.5rem;
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote blockquote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== CTA ===== */
.cta { padding: 6.5rem 1.5rem; }
.cta__inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(201, 163, 92, 0.1), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  padding: 3.2rem clamp(1.4rem, 5vw, 3.2rem);
}
.cta__logo { width: 88px; margin: 0 auto 1.4rem; border-radius: 50%; }
.cta__inner > p { color: var(--text-dim); margin-top: 0.8rem; }
.cta__form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta__form input {
  flex: 1 1 240px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.cta__form input:focus { border-color: var(--gold); }
.cta__done { margin-top: 1.4rem; color: var(--gold-bright); font-weight: 700; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ===== Reveal-animationer ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
}

/* ===== Mobil ===== */
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    background: rgba(11, 11, 13, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.6rem 0 1rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.85rem 1.5rem; }
  .nav__links a.btn { margin: 0.6rem 1.5rem 0; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .feature { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; }
  .feature--flip .feature__media { order: 0; }
}
