/* FuetePVP — Monochrome design (sort, grå, hvid) */
:root {
  --grey-1: #0a0a0a;   /* Mørkest */
  --grey-2: #141414;   /* Mellem */
  --grey-3: #1a1a1a;   /* Lyseste */
  --bg-dark: var(--grey-1);
  --bg-card: #1f1f1f;
  --bg-card-hover: #282828;
  --accent: #ffffff;
  --accent-muted: #b0b0b0;
  --text-white: #ffffff;
  --text-muted: #999999;
  --border-subtle: rgba(255, 255, 255, 0.15);
}

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

/* Skjul scrollbars — scroll virker stadig (hjul, touchpad, touch, piletaster) */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  background: 
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 55%),
    var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::-webkit-scrollbar {
  display: none;
}

/* Hero background — Bokeh + starfield (bag al indhold) */
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--grey-2) 0%, var(--grey-1) 70%);
}

/* Prikker – grå/hvid monokrom */
.stars::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(6px 6px at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 100%),
    radial-gradient(6px 6px at 60% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 100%),
    radial-gradient(6px 6px at 40% 70%, rgba(255, 255, 255, 0.11) 0%, transparent 100%),
    radial-gradient(6px 6px at 85% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 100%),
    radial-gradient(6px 6px at 15% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 100%),
    radial-gradient(6px 6px at 75% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  background-size: 100% 100%;
  opacity: 0.9;
  animation: dotsFloat 8s ease-in-out infinite;
}

@keyframes dotsFloat {
  0%, 100% { opacity: 0.9; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.95; transform: scale(1.02) translate(2%, -1%); }
  66% { opacity: 0.9; transform: scale(0.98) translate(-1%, 2%); }
}

/* Prikker – monokrom */
.stars::after {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 6px, transparent 6px);
  background-size: 48px 48px;
  background-position: 0 0;
  opacity: 0.8;
  animation: dotsDrift 8s ease-in-out infinite;
}

@keyframes dotsDrift {
  0%, 100% { background-position: 0 0; }
  20% { background-position: 60px 40px; }
  40% { background-position: -30px 70px; }
  60% { background-position: 50px -40px; }
  80% { background-position: -40px -20px; }
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: bokehFloat 6s ease-in-out infinite;
}

.bokeh-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
  top: -150px;
  left: 50%;
  animation: bokeh1Float 6s ease-in-out infinite;
  animation-delay: 0s;
}

.bokeh-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -80px;
  left: -80px;
  opacity: 0.4;
  animation-delay: -7s;
}

.bokeh-3 {
  width: 450px;
  height: 450px;
  background: rgba(255, 255, 255, 0.04);
  top: 55%;
  right: -100px;
  opacity: 0.3;
  animation-delay: -14s;
}

@keyframes bokehFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(12%, 8%) scale(1.08); }
  40% { transform: translate(-10%, -12%) scale(0.92); }
  60% { transform: translate(10%, -5%) scale(1.05); }
  80% { transform: translate(-8%, 10%) scale(0.96); }
}

@keyframes bokeh1Float {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  20% { transform: translate(calc(-50% + 12%), 8%) scale(1.08); }
  40% { transform: translate(calc(-50% - 10%), -12%) scale(0.92); }
  60% { transform: translate(calc(-50% + 10%), -5%) scale(1.05); }
  80% { transform: translate(calc(-50% - 8%), 10%) scale(0.96); }
}

/* Hero animation — langsom bevægelse fra begge sider mod midten */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Desktop: samme horisontale indflyvning som mobil — ingen translateY så top/right forbliver låst */
@keyframes slideInBattlepassDesktop {
  0% {
    opacity: 0;
    transform: translateX(72px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-animate .title.animate-item {
  opacity: 0;
  animation: slideInFromLeft 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.hero-animate .hero-logo-wrap.animate-item {
  opacity: 0;
  animation: slideInFromRight 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s forwards;
}

.hero-animate .buttons-stack.animate-item {
  opacity: 0;
  animation: slideInFromLeft 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.hero-animate .hero-featured-wrap.animate-item {
  opacity: 0;
  animation: slideInFromRight 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

@media (min-width: 768px) {
  .hero-animate .hero-featured-wrap.animate-item {
    animation-name: slideInBattlepassDesktop;
  }

  .hero-animate .hero-logo-wrap.animate-item {
    animation-name: slideInBattlepassDesktop;
  }
}

/* Hero Section — gennemsigtig så hero-bg (bokeh, stars) kan ses */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 3rem 0;
  z-index: 1;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding-inline-start: clamp(2rem, 9vw, 6.5rem);
  padding-inline-end: max(0.35rem, env(safe-area-inset-right, 0px));
}

.hero-content {
  position: relative;
  z-index: 2;
  justify-self: start;
  width: fit-content;
  max-width: min(1200px, 100%);
}

/* Tablet + desktop: to kolonner så logoet forbliver til højre (undgår “logo under knapper” ved 768–900px) */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, min(48rem, 56vw));
    column-gap: clamp(1.25rem, 4vw, 2.75rem);
    align-items: center;
    align-content: center;
    min-height: calc(100svh - 6rem);
    padding-inline-end: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-right, 0px));
  }

  .hero-content {
    justify-self: start;
    align-self: center;
    min-width: 0;
    max-width: min(1200px, 100%);
    width: 100%;
  }

  .hero-logo-wrap {
    position: relative;
    justify-self: stretch;
    align-self: center;
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0;
  }

  .hero-logo-wrap .hero-logo {
    width: min(100%, 42rem);
    max-width: min(640px, 100%);
  }
}

.hero-content.hero-centered {
  display: block;
}

.hero-centered {
  text-align: left;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  min-width: 0;
}

/* Forside — logo til højre (desktop: absolut; mobil: under indhold, højrejusteret) */
.hero-logo-wrap {
  justify-self: end;
  line-height: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-logo-wrap .hero-logo {
  width: min(28rem, 80vw);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.86;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.title-fuete {
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 25%, #808080 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-pvp {
  color: var(--text-white);
}

.buttons-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-muted);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: var(--text-white);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}

/* Forside — featured produktkort (grid-kolonne / desktop: absolute mod højre) */
.hero-featured-wrap {
  justify-self: end;
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate .hero-featured-wrap.animate-item,
  .hero-animate .hero-logo-wrap.animate-item {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.hero-featured-card {
  position: relative;
  width: min(100%, 280px);
  cursor: default;
}

.hero-featured-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Temporary: red ribbon + overlay, purchase disabled */
.hero-featured-card--soon:hover {
  border-color: var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-featured-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
  border-radius: inherit;
  background: rgba(100, 10, 10, 0.32);
  overflow: hidden;
}

.hero-featured-soon-ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  padding: 0.42rem 0;
  margin: 0;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #c61f28;
  border-top: 1px solid #e64a53;
  border-bottom: 1px solid #8f151c;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  transform: translate3d(-50%, -50%, 0) rotate(-12deg);
  backface-visibility: hidden;
}

.hero-featured-buy {
  cursor: pointer;
  width: calc(100% - 2.5rem);
  max-width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}

.hero-featured-buy:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-featured-buy--disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.hero-featured-buy--disabled:hover {
  background: #3a3a3a;
  box-shadow: none;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Stats Section — Grey 2 (mellem) */
.stats-section {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem;
  background: var(--grey-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stats-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.stat-icon {
  color: var(--accent);
}

.stat-icon svg {
  display: block;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Connect Section — Grey 1 (mørkest, bunden) */
.connect-section {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem 5rem;
  background: var(--grey-1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.connect-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

.connect-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.connect-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.connect-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.connect-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--grey-1);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
}

.connect-code {
  flex: 1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  color: var(--accent);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.connect-code::-webkit-scrollbar {
  display: none;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #0a0a0a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--accent-muted);
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

.copy-btn:active {
  transform: scale(0.98);
}

.copy-btn.copied {
  background: var(--accent-muted);
}

.connect-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 50%;
}

/* Store Section — FueteCoins shop */
.store-section {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem 6rem;
  background: var(--grey-1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.store-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Dedikeret shop-side — flad mørk baggrund (ingen lys kant/glow i bunden) */
.shop-page {
  min-height: 100vh;
  position: relative;
}

body.shop-page {
  background: var(--grey-1);
}

.shop-page .stars {
  background: var(--grey-1);
}

.shop-page .stars::before,
.shop-page .stars::after {
  display: none;
}

.shop-page .bokeh {
  display: none;
}

.shop-page .store-section.store-section--page {
  opacity: 1;
  transform: none;
  border-top: none;
  padding-top: 1rem;
  background: transparent;
}

.shop-header {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
}

.shop-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.shop-back:hover {
  color: var(--accent);
}

.shop-main {
  position: relative;
  z-index: 2;
}

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  padding: 0 0.5rem;
}

.shop-tab {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.shop-tab:hover {
  color: var(--text-white);
}

.shop-tab:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.shop-tab.is-active,
.shop-tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-subtle);
  color: var(--text-white);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.shop-tab-panel[hidden] {
  display: none !important;
}

.shop-tab-panel .store-title--exclusive,
.shop-tab-panel .store-title--unban,
.shop-tab-panel .store-title--crews,
.shop-tab-panel .store-title--ranks,
.shop-tab-panel .store-title--more {
  margin-top: 0.25rem;
}

.store-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.store-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.store-title--unban {
  margin-top: 2.75rem;
}

.store-subtitle--unban {
  margin-bottom: 1.25rem;
}

.store-title--crews {
  margin-top: 2.75rem;
}

.store-subtitle--crews {
  margin-bottom: 1.25rem;
}

.store-title--ranks {
  margin-top: 2.75rem;
}

.store-subtitle--ranks {
  margin-bottom: 1.25rem;
}

.store-title--exclusive {
  margin-top: 2.75rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.store-subtitle--exclusive {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 1.25rem;
}

.store-subtitle--cars-note {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  opacity: 0.88;
}

.store-card-title--exclusive {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Long CARS names — one line inside narrow cards */
.store-card-title--compact {
  font-size: clamp(0.55rem, 1.85vw, 0.78rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 1.25rem 0.4rem 0.25rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.store-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Shop page — entrance + hover polish */
@keyframes shopFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shopCardEnter {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.92);
    filter: brightness(0.85);
  }
  55% {
    filter: brightness(1.05);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes shopImgSettle {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .shop-page .shop-header .shop-back {
    opacity: 0;
    animation: shopFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter > .store-title:first-of-type {
    opacity: 0;
    animation: shopFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter > .store-subtitle:first-of-type {
    opacity: 0;
    animation: shopFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-card {
    opacity: 0;
    animation: shopCardEnter 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.25s ease,
      box-shadow 0.4s ease;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(1) {
    animation-delay: 0.2s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(2) {
    animation-delay: 0.28s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(3) {
    animation-delay: 0.36s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(4) {
    animation-delay: 0.44s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-card .store-product-img {
    transform: scale(1.12);
    animation: shopImgSettle 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(1) .store-product-img {
    animation-delay: 0.2s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(2) .store-product-img {
    animation-delay: 0.28s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(3) .store-product-img {
    animation-delay: 0.36s;
  }

  .shop-page .store-section--page .shop-tab-panel.shop-tab-panel--enter .store-grid .store-card:nth-child(4) .store-product-img {
    animation-delay: 0.44s;
  }

  .shop-page .store-section--page .store-card:hover {
    transform: translateY(-8px);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.35),
      0 0 24px rgba(255, 255, 255, 0.08);
  }

  .shop-page .store-section--page .store-card:hover .store-product-img {
    transform: scale(1.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-page .shop-header .shop-back,
  .shop-page .store-section--page .store-title,
  .shop-page .store-section--page .store-subtitle,
  .shop-page .store-section--page .store-card,
  .shop-page .store-section--page .store-card .store-product-img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.store-card-image {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #222222 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.store-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HYCADE URUS — pan crop (nudged back toward center) */
.store-product-img--hycade-urus {
  object-position: 48% 40%;
}

/* VIP MAY promo art — keep full frame and improve perceived sharpness */
.store-product-img--vip-may {
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.store-coin-amount {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.store-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  padding: 1.25rem 1.25rem 0.25rem;
}

.coin-amount {
  color: var(--accent);
}

.store-card-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-white);
  padding: 0 1.25rem;
  margin-bottom: 1.25rem;
}

.store-card-price .currency {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Same width as one coin card in a 4-column row (1100px − 3 gaps) / 4 — Unbans, Crews, CARS */
.store-grid--unban,
.store-grid--crews,
.store-grid--more,
.store-grid--cars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

/* MORE — keep same tight flex layout as UNBAN/CREWS */
#shop-panel-more .store-grid.store-grid--more {
  display: flex;
}

/* CARS — horizontal scroll row + prev/next arrows (grid keeps both arrows on-screen) */
#shop-panel-exclusive {
  padding-inline: clamp(0.5rem, 3vw, 1.25rem);
  box-sizing: border-box;
}

.store-cars-scroll-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  max-width: min(100%, calc(1100px + 5.5rem));
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

.store-cars-scroll {
  width: 100%;
  min-width: 0;
  direction: ltr;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  container-type: inline-size;
  container-name: cars-scroll;
}

.store-cars-scroll::-webkit-scrollbar {
  display: none;
}

.store-cars-scroll:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

#shop-panel-exclusive .store-grid--cars.store-grid--cars-row {
  --cars-col-gap: 1.5rem;
  /* Must match padding-inline: 4 columns + 3 gaps + side padding must equal 100cqw or box 4 clips */
  --cars-inline-pad: 0.35rem;
  /* Shaves a few px so rounding/subpixel never makes row wider than the scroll viewport */
  --cars-fit-fudge: 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(
    0,
    calc(
      (100cqw - 3 * var(--cars-col-gap) - 2 * var(--cars-inline-pad) - var(--cars-fit-fudge)) / 4
    )
  );
  column-gap: var(--cars-col-gap);
  row-gap: 0;
  align-items: stretch;
  width: max-content;
  max-width: none;
  margin: 0;
  padding-inline: var(--cars-inline-pad);
}

.store-cars-scroll-btn {
  flex-shrink: 0;
  place-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--text-white);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.store-cars-scroll-btn:hover:not(:disabled) {
  background: #3a3a3a;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.store-cars-scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.store-card--unban,
.store-card--crews,
.store-grid--cars .store-card--exclusive,
#shop-panel-more .store-grid--more > .store-card {
  flex: 0 1 auto;
  width: min(100%, calc((1100px - 3 * 1.5rem) / 4));
  max-width: calc((1100px - 3 * 1.5rem) / 4);
}

/* CARS row cards: width comes from grid tracks — equal column-gap between all boxes */
#shop-panel-exclusive .store-grid--cars-row .store-card--exclusive {
  width: auto;
  min-width: 0;
  max-width: none;
}

@supports not (container-type: inline-size) {
  #shop-panel-exclusive .store-grid--cars.store-grid--cars-row {
    grid-auto-columns: minmax(
      0,
      calc(
        (min(1100px, 100vw) - 6rem - 2 * var(--cars-inline-pad, 0.35rem) - var(--cars-fit-fudge, 8px)) / 4
      )
    );
  }
}

.store-card-title--unban,
.store-card-title--crews,
.store-card-title--rank {
  padding-bottom: 0.35rem;
}

/* RANKS — same tile width + same gutter as coins (flex so gap is between card edges, not wide grid cells) */
#shop-panel-ranks .store-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

#shop-panel-ranks .store-card {
  flex: 0 1 auto;
  width: min(100%, calc((1100px - 3 * 1.5rem) / 4));
  max-width: calc((1100px - 3 * 1.5rem) / 4);
}

/* Thin tier outline on rank cards (1px; keeps color on hover via inherit above) */
#shop-panel-ranks .store-card--rank-bronze {
  border-color: rgba(184, 115, 51, 0.75);
}

#shop-panel-ranks .store-card--rank-gold {
  border-color: rgba(220, 188, 78, 0.8);
}

#shop-panel-ranks .store-card--rank-silver {
  border-color: rgba(168, 176, 188, 0.8);
}

#shop-panel-ranks .store-card--rank-bronze:hover {
  border-color: rgba(205, 140, 75, 0.95);
}

#shop-panel-ranks .store-card--rank-gold:hover {
  border-color: rgba(236, 205, 110, 0.95);
}

#shop-panel-ranks .store-card--rank-silver:hover {
  border-color: rgba(198, 206, 218, 0.95);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 1.25rem 1.25rem;
  padding: 0.5rem 0.875rem;
  background: #3a3a3a;
  border-radius: 999px;
  color: var(--text-white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}

.store-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.store-btn:hover .store-btn-icon {
  background: rgba(255, 255, 255, 0.2);
}

button.store-btn {
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.shop-page .store-section--page .store-card {
  cursor: pointer;
}

/* Coins + CARS + Unbans + CREWS + MORE: no product modal — cards and Buy are not interactive */
#shop-panel-coins .store-card,
#shop-panel-exclusive .store-card,
#shop-panel-unbans .store-card,
#shop-panel-crews .store-card,
#shop-panel-more .store-card {
  cursor: default;
}

#shop-panel-coins .store-card .store-btn,
#shop-panel-unbans .store-card .store-btn,
#shop-panel-crews .store-card .store-btn,
#shop-panel-more .store-card .store-btn {
  cursor: pointer;
  pointer-events: auto;
}

#shop-panel-exclusive .store-card .store-btn {
  cursor: pointer;
  pointer-events: auto;
}

#shop-panel-coins .store-card:hover,
#shop-panel-exclusive .store-card:hover,
#shop-panel-unbans .store-card:hover,
#shop-panel-crews .store-card:hover,
#shop-panel-more .store-card:hover {
  border-color: var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  #shop-panel-coins .store-card:hover,
  #shop-panel-exclusive .store-card:hover,
  #shop-panel-unbans .store-card:hover,
  #shop-panel-crews .store-card:hover,
  #shop-panel-more .store-card:hover {
    transform: none;
  }

  #shop-panel-coins .store-card:hover .store-product-img,
  #shop-panel-exclusive .store-card:hover .store-product-img,
  #shop-panel-unbans .store-card:hover .store-product-img,
  #shop-panel-crews .store-card:hover .store-product-img,
  #shop-panel-more .store-card:hover .store-product-img {
    transform: none;
  }
}

/* Product detail modal */
body.product-modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

@media (prefers-reduced-motion: reduce) {
  .product-modal-backdrop {
    backdrop-filter: none;
  }
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
  background: #1a1a1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.product-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
}

.product-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8e8e8;
  padding: 1.35rem 3rem 0.75rem 1.25rem;
  margin: 0;
  line-height: 1.25;
}

.product-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1.25rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-modal-scroll::-webkit-scrollbar {
  display: none;
}

.product-modal-lead {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.product-modal-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.65rem;
}

.product-modal-perks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-modal-perks li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-modal-perks li:last-child {
  border-bottom: none;
}

.product-modal-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.product-modal-perk--kit {
  padding: 0.45rem 0 0.45rem 1.15rem;
}

.product-modal-kit-block {
  width: 100%;
}

/* Samme stil som øvrige perk-linjer (punkt + tekst, ingen ramme) */
.product-modal-kit-header {
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  padding: 0;
  margin: 0 0 0.35rem;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.product-modal-kit-items {
  list-style: none;
  margin: 0 0 0.15rem;
  padding: 0;
  border: 0;
  margin-left: 0;
}

.product-modal-kit-items li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  border-bottom: none;
}

.product-modal-kit-items li.product-modal-kit-item--icon {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0.35rem;
}

.product-modal-kit-items li.product-modal-kit-item--icon::before {
  display: none;
}

.product-modal-kit-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-modal-kit-label {
  flex: 1;
  min-width: 0;
}

.product-modal-kit-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.product-modal-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.product-modal-checkout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 320px;
}

.product-modal-price {
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #4ade80;
  letter-spacing: 0.02em;
  text-align: center;
}

.product-modal-footer .store-btn {
  margin: 0;
  width: 100%;
  max-width: 220px;
  justify-content: center;
}

.product-modal-buy-extra {
  width: 100%;
  padding: 0.75rem 0.65rem 0.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-modal-buy-extra[hidden] {
  display: none !important;
}

.product-modal-buy-extra-text {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.product-modal-buy-confirm {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.product-modal-buy-confirm:hover {
  background: rgba(74, 222, 128, 0.22);
  border-color: rgba(74, 222, 128, 0.5);
}

/* Responsive — hero “stack” kun på smalle skærme (≤767px), så 768–900px får grid med logo til højre */
@media (max-width: 767px) {
  .hero-inner {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    padding-inline-start: clamp(1.25rem, 4vw, 2rem);
    padding-inline-end: clamp(1.25rem, 4vw, 2rem);
  }

  .hero-content {
    justify-self: start;
    width: 100%;
    max-width: none;
  }

  .hero-left {
    width: 100%;
  }

  .hero-logo-wrap {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }

  .hero-logo-wrap .hero-logo {
    width: min(30rem, 84vw);
  }

  .hero-featured-wrap {
    position: relative;
    right: auto;
    top: auto;
    justify-self: end;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0;
  }

  .title {
    font-size: 2.5rem;
  }

  .buttons-row {
    flex-direction: column;
    width: 100%;
    max-width: 260px;
  }

  .buttons-row .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-section,
  .connect-section,
  .store-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-grid--unban,
  .store-grid--crews,
  .store-grid--more,
  .store-grid--cars:not(.store-grid--cars-row) {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .store-card--unban,
  .store-card--crews,
  #shop-panel-more .store-grid--more > .store-card,
  .store-grid--cars:not(.store-grid--cars-row) .store-card--exclusive {
    width: 100%;
    max-width: none;
  }

  #shop-panel-ranks .store-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  #shop-panel-ranks .store-card {
    width: 100%;
    max-width: none;
  }
}
