/* DZXN landing / homesite */
.home-page {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #070707;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-page a { text-decoration: none; }

.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(245, 166, 35, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(245, 166, 35, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(80, 40, 10, 0.18), transparent);
  pointer-events: none;
  z-index: -1;
}

.home-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 0;
}

.home-nav .home-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.home-logo-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.home-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  letter-spacing: 1px;
}

.home-brand-text .brand-powered {
  display: block;
  margin-top: 1px;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.35px;
  text-transform: none;
  color: rgba(245, 166, 35, 0.65);
  opacity: 0.72;
}

.home-logo-nav img {
  width: 46px;
  height: 46px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  background: none;
  border: none;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-nav-link {
  color: #9a9a9a;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.home-nav-link:hover {
  color: #f5a623;
  background: rgba(245, 166, 35, 0.08);
}

.home-nav-btn {
  background: #f5a623;
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.home-nav-btn:hover {
  background: #ffb84d;
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(245, 166, 35, 0.45);
  color: #000;
}

.home-nav-btn.ghost {
  background: transparent;
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-nav-btn.ghost:hover {
  border-color: #f5a623;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.08);
  box-shadow: none;
}

/* ANNOUNCEMENT BANNER */
.home-announce {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.16), rgba(245, 166, 35, 0.08) 50%, rgba(245, 166, 35, 0.14));
  border-bottom: 1px solid rgba(245, 166, 35, 0.4);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.08);
}

.home-announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  flex-wrap: wrap;
  padding: 14px 24px;
  text-align: center;
}

.home-announce-badge {
  display: inline-flex;
  align-items: center;
  background: #f5a623;
  color: #000;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.home-announce-text {
  margin: 0;
  color: #ffe8b8;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 720px;
}

.home-announce-cta {
  display: inline-flex;
  align-items: center;
  background: #f5a623;
  color: #000 !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.home-announce-cta:hover {
  background: #ffb84d;
  transform: translateY(-1px);
}

/* HERO */
.home-hero {
  padding: 70px 0 50px;
  text-align: center;
}

.home-hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 28px;
  border-radius: 0;
  display: block;
  box-shadow: none;
  transition: transform 0.4s ease;
  object-fit: contain;
  background: none;
  border: none;
}

.home-hero-logo:hover { transform: scale(1.06); }

.home-hero h1,
.home-hero-title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 20%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero .subtitle {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 600;
  color: #f5a623;
  margin-bottom: 18px;
}

.home-hero p {
  font-size: 1.1rem;
  color: #9a9a9a;
  max-width: 560px;
  margin: 0 auto 20px;
}

.home-hero .notice {
  display: inline-block;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #f5a623;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin: 0 auto 22px;
  letter-spacing: 0.3px;
}

.home-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f5a623;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 35px rgba(245, 166, 35, 0.45);
}

.home-cta-btn:hover {
  background: #ffb84d;
  transform: translateY(-3px);
  box-shadow: 0 12px 45px rgba(245, 166, 35, 0.45);
  color: #000;
}

.home-cta-btn.secondary {
  background: transparent;
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.5);
  box-shadow: none;
}

.home-cta-btn.secondary:hover {
  background: rgba(245, 166, 35, 0.1);
  color: #ffb84d;
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.2);
}

.home-cta-btn svg { width: 22px; height: 22px; }

/* SHOWCASE */
.home-showcase {
  position: relative;
  padding: 40px 0 80px;
  overflow: hidden;
}

.home-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 50% 55%, transparent 25%, rgba(0, 0, 0, 0.65) 100%),
    radial-gradient(ellipse 50% 30% at 50% 0%, rgba(245, 166, 35, 0.05), transparent);
  pointer-events: none;
  z-index: 0;
}

.home-showcase .home-wrap {
  position: relative;
  z-index: 1;
}

.home-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.home-section-header h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  color: #fff;
}

.home-section-header p {
  color: #9a9a9a;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.home-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 50px;
}

.home-feature-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #ddd;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
}

.home-feature-tag span { color: #f5a623; }

/* OM SERVEREN */
.home-about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 28px;
}

.home-about-card {
  background: linear-gradient(180deg, rgba(22, 16, 8, 0.75), rgba(10, 8, 6, 0.9));
  border: 1px solid rgba(245, 166, 35, 0.18);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: left;
}

.home-about-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5a623;
  margin: 0 0 10px;
}

.home-about-card p {
  margin: 0;
  color: #b5b5b5;
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-about-card strong {
  color: #e8e8e8;
}

.home-connect-box {
  max-width: 560px;
  margin: 0 auto 8px;
  padding: 18px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(245, 166, 35, 0.35);
  border-radius: 14px;
}

.home-connect-box.is-offline {
  border-color: rgba(231, 76, 60, 0.55);
  background: rgba(80, 12, 12, 0.35);
  box-shadow: 0 0 24px rgba(231, 76, 60, 0.12);
}

.home-connect-box.is-online {
  border-color: rgba(46, 204, 113, 0.45);
  background: rgba(10, 40, 22, 0.35);
}

.home-connect-status {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.home-connect-box.is-offline .home-connect-status {
  color: #ff6b5e;
}

.home-connect-box.is-online .home-connect-status {
  color: #2ecc71;
}

.home-connect-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 8px;
}

.home-connect-code {
  display: block;
  font-size: 1.05rem;
  color: #f5a623;
  font-weight: 600;
  letter-spacing: 0.3px;
  word-break: break-all;
}

.home-connect-box.is-offline .home-connect-code {
  color: #ff5c4d;
}

.home-connect-box.is-online .home-connect-code {
  color: #3ddc84;
}

.home-connect-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #777;
}

.home-connect-box.is-offline .home-connect-hint {
  color: #c07070;
}

@media (max-width: 720px) {
  .home-about-grid {
    grid-template-columns: 1fr;
  }
}

/* PHONE STAGE (unused on home — kept for possible reuse) */
.phone-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  perspective: 1400px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 10px 0 30px;
}

.phone-item {
  text-align: center;
  transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.phone-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.phone-item.center {
  z-index: 5;
  width: 310px;
  transform: translateY(-28px) scale(1.1);
}

.phone-item.center img {
  filter:
    drop-shadow(0 40px 55px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 55px rgba(245, 166, 35, 0.32))
    contrast(1.1) saturate(1.08) brightness(1.02);
}

.phone-item.side {
  width: 255px;
  z-index: 2;
  opacity: 0.88;
}

.phone-item.side.left {
  transform: rotateY(14deg) translateX(8px) scale(0.96);
}

.phone-item.side.right {
  transform: rotateY(-14deg) translateX(-8px) scale(0.96);
}

.phone-item.side img {
  filter:
    drop-shadow(0 28px 40px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 25px rgba(245, 166, 35, 0.12))
    contrast(1.06) saturate(1.03) brightness(0.94);
}

.phone-item:hover {
  z-index: 10;
  opacity: 1;
}

.phone-item:hover img {
  transform: translateY(-14px) scale(1.05);
  filter:
    drop-shadow(0 50px 60px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 70px rgba(245, 166, 35, 0.4))
    contrast(1.12) saturate(1.12) brightness(1.04) !important;
}

.phone-item.side:hover {
  transform: rotateY(0) translateX(0) scale(1.04);
}

.phone-label {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #e8e8e8;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.phone-item:hover .phone-label { color: #f5a623; }

.phone-desc {
  font-size: 0.82rem;
  color: #9a9a9a;
  margin-top: 5px;
  max-width: 210px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* INVENTORY */
.inventory-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1100px;
  padding: 10px 0 20px;
}

.inv-item {
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  max-width: 480px;
  width: 100%;
}

.inv-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter:
    drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 40px rgba(245, 166, 35, 0.18))
    contrast(1.06) saturate(1.05) brightness(0.97);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inv-item:hover img {
  transform: translateY(-10px) scale(1.02);
  filter:
    drop-shadow(0 40px 60px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 55px rgba(245, 166, 35, 0.3))
    contrast(1.1) saturate(1.1) brightness(1.02);
}

.inv-label {
  margin-top: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8e8e8;
  transition: color 0.3s ease;
}

.inv-item:hover .inv-label { color: #f5a623; }

.inv-desc {
  font-size: 0.85rem;
  color: #9a9a9a;
  margin-top: 4px;
}

.home-coming-soon {
  text-align: center;
  margin-top: 60px;
  padding: 34px 28px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.7), rgba(8, 8, 8, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.home-coming-soon h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #f5a623;
  font-weight: 600;
}

.home-coming-soon p {
  color: #9a9a9a;
  font-size: 0.96rem;
}

.home-coming-soon strong { color: #e8e8e8; }

/* DISCORD LIVE */
.home-discord-section {
  padding-top: 20px;
}

.discord-live-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.95), rgba(10, 9, 8, 0.98));
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(245, 166, 35, 0.08), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.discord-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(245, 166, 35, 0.06);
}

.discord-live-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.discord-hash {
  color: #f5a623;
  font-weight: 800;
}

.discord-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 10px rgba(61, 220, 151, 0.7);
  animation: discordPulse 1.6s ease-in-out infinite;
}

@keyframes discordPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.discord-live-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#discord-live-status {
  font-size: 0.82rem;
  color: #9a9a9a;
}

#discord-live-status[data-kind="ok"] { color: #3ddc97; }
#discord-live-status[data-kind="error"] { color: #f2708a; }
#discord-live-status[data-kind="loading"] { color: #f5a623; }

.discord-open-btn {
  display: inline-flex;
  align-items: center;
  background: #f5a623;
  color: #000 !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.discord-open-btn:hover {
  background: #ffb84d;
  transform: translateY(-1px);
}

.discord-channel-topic {
  margin: 0;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: #9a9a9a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

.discord-live-feed {
  height: min(520px, 60vh);
  overflow-y: auto;
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.discord-live-loading,
.discord-live-empty,
.discord-live-error {
  text-align: center;
  color: #9a9a9a;
  padding: 40px 16px;
  font-size: 0.95rem;
}

.discord-live-error strong {
  display: block;
  color: #f2708a;
  margin-bottom: 8px;
}

.discord-live-error p {
  margin: 6px 0;
  line-height: 1.5;
}

.discord-live-hint {
  font-size: 0.85rem !important;
  color: #777 !important;
  max-width: 520px;
  margin: 12px auto 0 !important;
}

.discord-msg {
  display: flex;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.15s;
}

.discord-msg:hover {
  background: rgba(255, 255, 255, 0.03);
}

.discord-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1612;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.discord-msg-avatar-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #f5a623;
  font-size: 0.95rem;
}

.discord-msg-body {
  min-width: 0;
  flex: 1;
}

.discord-msg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.discord-msg-author {
  color: #fff;
  font-size: 0.95rem;
}

.discord-bot-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #5865f2;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  vertical-align: middle;
}

.discord-msg-time {
  font-size: 0.75rem;
  color: #777;
}

.discord-msg-content {
  color: #d4d4d4;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.discord-msg-content a {
  color: #f5a623;
  text-decoration: underline;
}

.discord-msg-atts {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discord-att-img img {
  max-width: min(320px, 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-att-file {
  color: #f5a623;
  font-size: 0.88rem;
}

.discord-live-feed::-webkit-scrollbar { width: 8px; }
.discord-live-feed::-webkit-scrollbar-track { background: transparent; }
.discord-live-feed::-webkit-scrollbar-thumb {
  background: rgba(245, 166, 35, 0.25);
  border-radius: 4px;
}

/* 18+ FORKLARING */
.home-age-section {
  padding: 20px 0 70px;
}

.home-age-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 32px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(22, 16, 8, 0.85), rgba(10, 8, 6, 0.92));
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(245, 166, 35, 0.08);
}

.home-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 36px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #f5a623;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  box-shadow: 0 0 24px rgba(245, 166, 35, 0.4);
}

.home-age-box h2 {
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.3px;
}

.home-age-lead {
  color: #b5b5b5;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 28px;
}

.home-age-lead strong {
  color: #f5a623;
}

.home-age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
  margin-bottom: 24px;
}

.home-age-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 16px;
}

.home-age-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f5a623;
  margin-bottom: 8px;
}

.home-age-card p {
  font-size: 0.9rem;
  color: #9a9a9a;
  line-height: 1.55;
  margin: 0;
}

.home-age-note {
  font-size: 0.92rem;
  color: #c8c8c8;
  line-height: 1.6;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  margin: 0;
}

.home-age-note strong {
  color: #f5a623;
}

@media (max-width: 800px) {
  .home-age-grid {
    grid-template-columns: 1fr;
  }
  .home-age-box {
    padding: 28px 18px 22px;
  }
}

/* FOOTER */
.home-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 0;
  text-align: center;
  margin-top: auto;
}

.home-footer p {
  color: #9a9a9a;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.home-footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.home-footer-links a {
  color: #f5a623;
  font-weight: 500;
  transition: color 0.2s;
}

.home-footer-links a:hover { color: #ffb84d; }

@media (max-width: 900px) {
  .phone-stage {
    flex-direction: column;
    align-items: center;
    gap: 55px;
    perspective: none;
  }
  .phone-item.center,
  .phone-item.side {
    width: 280px !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .phone-item.side.left,
  .phone-item.side.right {
    transform: none !important;
  }
  .phone-item img {
    filter:
      drop-shadow(0 30px 45px rgba(0, 0, 0, 0.8))
      drop-shadow(0 0 35px rgba(245, 166, 35, 0.22))
      contrast(1.08) saturate(1.05) !important;
  }
  .inventory-stage { gap: 40px; }
  .inv-item { max-width: 420px; }
}

@media (max-width: 600px) {
  .home-hero { padding: 50px 0 40px; }
  .home-hero-logo { width: 130px; height: 130px; }
  .home-cta-btn { width: 100%; justify-content: center; }
  .phone-item.center,
  .phone-item.side { width: 250px !important; }
  .inv-item { max-width: 100%; }
  .home-nav-links .home-nav-link { display: none; }
}


/* ================= SCRIPTS SHOWCASE ================= */
.home-scripts-section {
  padding: 56px 0 70px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(245, 166, 35, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(100, 80, 200, 0.06), transparent 50%),
    #080808;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: visible;
}

.scripts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  overflow: visible;
  max-width: 1200px;
  margin: 0 auto 8px;
  align-items: stretch;
  /* hold phone-scale inde i cards, så det ikke dækker bokse nedenunder */
  position: relative;
  z-index: 1;
}

.script-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 12px 16px;
  align-items: center;
  /* samme look som før — bare to i en række */
  padding: 12px 14px 10px 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  overflow: visible;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.script-card--inventory {
  grid-template-columns: 0.9fr 1.1fr;
}

.script-inventory-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  overflow: visible;
}

.script-inventory-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.45));
}

.script-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #f5a623;
  margin-bottom: 10px;
}

.script-card-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.script-card-copy p {
  color: #9a9a9a;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 42ch;
}

.script-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.script-feature-list li {
  position: relative;
  padding-left: 18px;
  color: #cfcfcf;
  font-size: 0.95rem;
}

.script-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 0 10px rgba(245,166,35,0.55);
}

.script-slide-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.script-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.18);
  transition: transform 0.2s, background 0.2s;
}

.script-dot.active {
  background: #f5a623;
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(245,166,35,0.55);
}

.script-phone-stage {
  position: relative;
  /* lille layout-højde — billedet er større via scale */
  min-height: 280px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.script-phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.35) 0%, transparent 70%);
  filter: blur(30px);
  animation: script-glow 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.script-phone-float {
  position: relative;
  width: 260px;
  height: 300px;
  z-index: 1;
  animation: script-float 6s ease-in-out infinite;
  /* negativ margin = box bliver ikke kæmpe */
  margin: -20px 0 -40px;
}

.script-phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.7s ease;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.65));
  pointer-events: none;
  /* BILLEDER STØRRE — kun img, ikke box */
  transform: scale(2.15);
  transform-origin: center center;
}

.script-phone-slide.active {
  opacity: 1;
}

.script-phone-caption {
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245,166,35,0.85);
  font-weight: 600;
  z-index: 2;
}

@keyframes script-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes script-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.12); }
}

@media (max-width: 1000px) {
  .scripts-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

@media (max-width: 900px) {
  .scripts-grid { max-width: 100%; }
  .script-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 14px 12px 10px;
    max-width: 100%;
  }
  .script-card-copy p { margin-left: auto; margin-right: auto; }
  .script-feature-list { display: inline-grid; text-align: left; }
  .script-slide-dots { justify-content: center; }
  .script-phone-stage { min-height: 260px; height: 280px; }
  .script-phone-float {
    width: 220px;
    height: 260px;
    margin: -10px 0 -30px;
  }
  .script-phone-slide { transform: scale(1.9); }
  .script-inventory-img { max-width: min(380px, 92vw); margin: 0 auto; }
}

/* ── Feature explain: stash / biler / events ── */
.feature-explain {
  position: relative;
  z-index: 20;
  margin: 72px auto 0;
  max-width: 1200px;
  padding: 40px 20px 20px;
  clear: both;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  /* base so content stays readable if video fails */
  background:
    linear-gradient(180deg, rgba(8,8,8,0.4) 0%, #0a0a0a 40%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
/* Blurred silent video background (looting update) */
.feature-explain-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.feature-explain-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  height: 112%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.04);
  object-fit: cover;
  filter: blur(5px) saturate(1.12) brightness(0.78);
  opacity: 0.92;
}
.feature-explain-video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.28) 0%, rgba(7, 7, 7, 0.42) 50%, rgba(7, 7, 7, 0.62) 100%),
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(245, 166, 35, 0.1), transparent 65%);
}
.feature-explain-header,
.feature-carousel,
.feature-explain > *:not(.feature-explain-bg) {
  position: relative;
  z-index: 1;
}
.feature-explain-header {
  text-align: center;
  margin-bottom: 24px;
}
.feature-explain-header h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
}
.feature-explain-header p {
  margin: 0;
  color: #b0b0b0;
  font-size: 1rem;
}
.feature-explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-explain-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.feature-explain-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 1100px) {
  .feature-explain-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1200px;
  }
}
/* Interactive feature carousel — one highlighted card, user picks next */
.feature-carousel {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 4px 48px 8px;
  user-select: none;
}
.feature-carousel-stage {
  overflow: hidden;
  width: 100%;
  padding: 18px 0 8px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.feature-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.4);
  background: rgba(18, 15, 12, 0.92);
  color: #f5a623;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.feature-nav svg {
  width: 18px;
  height: 18px;
  display: block;
}
.feature-nav:hover {
  background: rgba(245, 166, 35, 0.16);
  border-color: rgba(245, 166, 35, 0.75);
  color: #ffc857;
}
.feature-nav:active {
  transform: translateY(-50%) scale(0.96);
}
.feature-nav--prev { left: 0; }
.feature-nav--next { right: 0; }
.feature-carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.feature-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: width .2s, background .2s, box-shadow .2s;
}
.feature-dot:hover {
  background: rgba(245, 166, 35, 0.55);
}
.feature-dot.is-active {
  width: 22px;
  background: #f5a623;
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.45);
}
.feature-carousel-hint {
  margin: 0;
  font-size: 0.75rem;
  color: #7a7a7a;
  letter-spacing: 0.02em;
}
.feature-carousel-hint span {
  color: #cfcfcf;
  font-weight: 650;
}

.feature-box {
  display: block;
  flex: 0 0 auto;
  width: min(248px, 72vw);
  padding: 16px 15px 14px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(32, 28, 22, 0.95), rgba(16, 14, 12, 0.98));
  border: 1px solid rgba(245, 166, 35, 0.18);
  box-shadow:
    0 10px 28px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transition:
    border-color .28s,
    transform .4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow .28s,
    opacity .28s,
    filter .28s;
  min-height: 220px;
  cursor: pointer;
  opacity: 0.42;
  filter: saturate(0.75);
  transform: scale(0.9);
}
.feature-box:hover {
  border-color: rgba(245, 166, 35, 0.4);
  opacity: 0.72;
}
.feature-box.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
  border-color: rgba(245, 166, 35, 0.7);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(245, 166, 35, 0.2),
    0 0 28px rgba(245, 166, 35, 0.12);
  cursor: default;
}
.feature-box.is-active:hover {
  opacity: 1;
}
.feature-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: #f5a623;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 60%),
    rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.28);
}
.feature-box-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.feature-box-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f5a623;
  margin-bottom: 5px;
}
.feature-box h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #f5f0e8;
}
.feature-box > p {
  margin: 0 0 10px;
  color: #9a9a9a;
  font-size: 0.82rem;
  line-height: 1.45;
}
.feature-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 5px;
}
.feature-box ul li {
  position: relative;
  padding-left: 14px;
  color: #cfcfcf;
  font-size: 0.78rem;
}
.feature-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 0 8px rgba(245,166,35,0.4);
}

@media (max-width: 900px) {
  .feature-explain-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .feature-explain { margin-top: 32px; }
  .feature-carousel {
    max-width: 100%;
    padding: 4px 42px 8px;
  }
  .feature-box {
    width: min(230px, 70vw);
    min-height: 210px;
  }
  .feature-nav {
    width: 36px;
    height: 36px;
  }
}

.home-footer-legal {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #8a8070;
}
.home-footer-legal a { color: #c4a35a; }
