html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Ubuntu', sans-serif;
  background: #f0f2f8;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
  }
  body {
    overscroll-behavior-x: contain;
  }
  .explore-mods-text {
    font-size: 0.92rem;
    margin-top: 0.7rem;
  }
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(4, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
  font-family: 'Ubuntu', sans-serif;
}

.site-footer {
  position: relative;
  margin-top: 2rem;
  background: linear-gradient(180deg, #07132b 0%, #060f24 100%);
  border-top: 1px solid rgba(255, 207, 90, 0.26);
  color: #dbe5ff;
}

.site-footer-inner {
  width: min(96vw, 1120px);
  margin: 0 auto;
  padding: 1.1rem 1rem 1.35rem;
}

.site-footer-title {
  margin: 0 0 0.55rem;
  color: #fff4cc;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer-title i {
  margin-right: 0.4rem;
}

.site-footer p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.9rem;
  color: #d6e2ff;
}

.site-footer-line i {
  color: #ffd97d;
  margin-right: 0.45rem;
  width: 1rem;
  text-align: center;
}

.site-footer p + p {
  margin-top: 0.45rem;
}

.notice-jump-link {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 95;
  display: block;
  padding: 0.2rem 0.9rem 0.1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(182, 190, 204, 0.86);
  text-decoration: none;
}

.notice-jump-link:hover {
  color: rgba(220, 226, 240, 0.95);
  text-decoration: underline;
}

#official-notice {
  scroll-margin-top: 96px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle i { font-size: 15px; }
.nav-link {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-link.active { background: rgba(255,255,255,0.12); color: #fff; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-badge {
  background: #1a3d6e;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #2a5aaa;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.1);
}

.nav-discord {
  background: rgba(88,101,242,0.2);
  border: 1px solid rgba(88,101,242,0.4);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}
.nav-discord:hover { background: rgba(88,101,242,0.35); color: #c7d2fe; }

.status-popup {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 220;
}

.status-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.status-popup-card {
  width: min(92vw, 460px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.33);
  padding: 1.1rem 1.15rem;
}

.status-popup-card h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #0f172a;
}

.status-popup-card p {
  margin: 0.65rem 0 0;
  color: #475569;
  line-height: 1.55;
  font-size: 0.95rem;
}

.status-popup-help {
  margin-top: 0.55rem !important;
  font-size: 0.88rem !important;
  color: #334155 !important;
}

.status-popup-help a {
  color: #1a3d6e;
  font-weight: 700;
}

.status-popup-help a:hover {
  color: #163460;
}

.status-popup-btn {
  margin-top: 0.95rem;
  border: 1px solid #1a3d6e;
  background: #1a3d6e;
  color: #ffffff;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.status-popup-btn:hover {
  background: #163460;
  border-color: #163460;
}

.community-bubble {
  position: fixed;
  top: 68px;
  right: 10px;
  width: fit-content;
  max-width: min(92vw, 320px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 16, 48, 0.95);
  border: 1px solid rgba(149, 170, 255, 0.35);
  border-radius: 13px;
  padding: 9px 11px;
  color: #eef2ff;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.38);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  overflow: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 140;
}

.community-bubble::after {
  content: '';
  position: absolute;
  top: -7px;
  right: 26px;
  width: 10px;
  height: 10px;
  background: rgba(12, 16, 48, 0.95);
  border-left: 1px solid rgba(149, 170, 255, 0.35);
  border-top: 1px solid rgba(149, 170, 255, 0.35);
  transform: rotate(45deg);
}

.community-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.community-bubble-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: normal;
}

.community-bubble-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: 8px;
  padding: 5px 8px;
}

.community-bubble-link:hover {
  background: rgba(88, 101, 242, 0.35);
  color: #e0e7ff;
}

@media (max-width: 900px) {
  .notice-jump-link {
    top: 68px;
    font-size: 0.68rem;
    padding: 0.2rem 0.7rem 0.08rem;
  }

  #official-notice {
    scroll-margin-top: 92px;
  }

  .site-footer-inner {
    padding: 1rem 0.8rem 1.2rem;
  }

  .site-footer-title {
    font-size: 0.86rem;
  }

  .site-footer p {
    font-size: 0.84rem;
  }

  .navbar {
    padding: 0 0.85rem;
  }

  .community-bubble {
    display: none;
  }

  .nav-logo span {
    font-size: 0.96rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-right {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 0.8rem 0.85rem 1rem;
    background: rgba(4, 6, 23, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links .nav-link {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    margin-right: 0 !important;
  }
}

/* voorkom dat hero achter navbar valt */
header.landing-hero { padding-top: 84px; }

/* ── Hero ──────────────────────────────────────────────────────── */
header.landing-hero {
  width: 100%;
  height: 100vh;
  min-height: 400px;
  display: flex;
  margin-bottom: -1px; /* elimineer eventuele gap */
  background: #040617;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

header.landing-hero::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: url('../image/bg.png') center center/cover no-repeat;
  filter: blur(10px);
  transform: scale(1.05);
  z-index: 0;
}

header.landing-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    transparent 60%
  );
  z-index: 1; /* onder de hero-fade */
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%; /* heel groot deel van de hero */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(240, 242, 248, 0.4) 50%,
    rgba(240, 242, 248, 0.85) 75%,
    #f0f2f8 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  position: relative;
}

.hero-cause-callout {
  position: absolute;
  top: -112px;
  left: 66%;
  width: min(360px, 74vw);
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 10, 40, 0.72);
  color: #eef2ff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-cause-callout::before {
  content: '';
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: rgba(6, 10, 40, 0.72);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transform: rotate(-45deg);
}

.hero-cause-callout p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.hero-cause-callout strong {
  color: #ffffff;
}

.particles-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: auto;
  z-index: 0;
}

.hero-logo {
  width: 200px;
  height: auto;
  z-index: 1;
  position: relative;
  animation: bounce 2.5s infinite;
}

@media (max-width: 900px) {
  .hero-cause-callout {
    top: -98px;
    left: 50%;
    transform: translateX(-50%);
    width: min(340px, 88vw);
    text-align: center;
  }

  .hero-cause-callout::before {
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
  }
}

.hero-community-line {
  margin: 1rem 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 3px 10px rgba(0,0,0,0.28);
}

.hero-no-login {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}

.hero-title {
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 3.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.explore-mods-text {
  margin-top: 1.7rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0.9;
  text-decoration: none;
}

.explore-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.18rem;
  user-select: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  30%       { transform: translateY(-10px); }
  50%       { transform: translateY(0); }
  70%       { transform: translateY(-5px); }
}

/* ── Mods section ──────────────────────────────────────────────── */
.mods-section {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ── Filter bar ────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e5f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f6fa;
  border: 1px solid #e2e5f0;
  border-radius: 8px;
  padding: 8px 14px;
  flex: 0 0 200px;
}
.filter-search i { color: #9ca3b8; font-size: 14px; }
.filter-search input {
  background: none;
  border: none;
  outline: none;
  color: #3a3d52;
  font-size: 13px;
  font-family: 'Ubuntu', sans-serif;
  width: 100%;
}
.filter-search input::placeholder { color: #b0b3c8; }

.pill {
  background: #f5f6fa;
  border: 1px solid #e2e5f0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Ubuntu', sans-serif;
  user-select: none;
}
.pill:hover { border-color: #c5cade; color: #3a3d52; background: #eceef5; }
.pill.active         { background: #1a3d6e; border-color: #1a3d6e; color: #ffffff; }
.pill.active-neutral { background: #eceef5; border-color: #c5cade; color: #3a3d52; font-weight: 500; }

.filter-count {
  margin-left: auto;
  background: #e8f0fe;
  border: 1px solid #c5d5f5;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: #1a3d6e;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Section letter ────────────────────────────────────────────── */
.section-letter-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e2e5f0;
}
.section-letter {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #1a3d6e;
}
.section-count { font-size: 12px; color: #9ca3b8; }

/* ── Mod grid ──────────────────────────────────────────────────── */
.mods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .mods-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .mods-grid { grid-template-columns: 1fr; } }

.mods-section-group + .mods-section-group { margin-top: 3rem; }

/* ── Mod card ──────────────────────────────────────────────────── */
.mod-card {
  background: #ffffff;
  border: 1px solid #e2e5f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mod-card:hover {
  border-color: #c5cade;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.card-thumb {
  position: relative;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f6fa;
}
.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Version badge */
.card-version {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 1;
}
.badge-fs22 { background: #1a3d6e; color: #ffffff; }
.badge-fs25 { background: #1a3d6e; color: #93c5fd; border: 1px solid #2a5aaa; }
.badge-fs19 { background: #7c3a10; color: #fed7aa; }

/* Card body */
.card-body { padding: 14px 16px 16px; }
.card-name {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #121528;
  margin-bottom: 8px;
}

.card-broken-note {
  margin: -2px 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 7px;
  padding: 5px 9px;
}

.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cat-tag {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 6px;
}
.cat-rides  { background: #e8f0fe; color: #1a3d6e; }
.cat-stalls { background: #f3e8ff; color: #7c3aed; }
.cat-trucks { background: #fff3e0; color: #9a3412; }
.cat-addons { background: #e6f7f0; color: #166534; }
.cat-others { background: #f3f4f6; color: #374151; }
.card-date  { font-size: 12px; font-weight: 500; color: #6b7280; }

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

.btn-download {
  flex: 1;
  background: #1a3d6e;
  border: 1px solid #1a3d6e;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Ubuntu', sans-serif;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-download:hover { background: #163460; border-color: #163460; }
.btn-download i { font-size: 14px; }

.btn-download-disabled {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-flag {
  width: 36px;
  height: 36px;
  background: #f5f6fa;
  border: 1px solid #e2e5f0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.btn-flag:hover { background: #fee2e2; border-color: #fca5a5; }
.btn-flag i { color: #ef4444; font-size: 14px; }

/* ── Loading / Error / No results ──────────────────────────────── */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4rem 0;
  color: #9ca3b8;
  font-size: 14px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e5f0;
  border-top-color: #1a3d6e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4rem 0;
  color: #ef4444;
  font-size: 14px;
}
.error-state i { font-size: 18px; }

.no-results {
  text-align: center;
  color: #9ca3b8;
  padding: 4rem 0;
  font-size: 14px;
}

/* ── Extra badges ───────────────────────────────────────────────── */
.badge-early {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff8e1;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #b45309;
  z-index: 1;
}

.badge-broken {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #dc2626;
  z-index: 1;
}

/* ── Jingles section ───────────────────────────────────────────── */
.jingles-section {
  width: 100%;
  background: linear-gradient(180deg, #f0f2f8 0%, #f2d8d8 30%, #efb4b4 58%, #f4d2d2 78%, #ffffff 100%);
  padding: 0 1.5rem 6rem;
}

.jingles-transition {
  display: none;
}

.jingles-shell {
  max-width: 1160px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dde4f3;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  padding: 1.4rem;
}

.jingles-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 1rem;
}

.jingles-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f0fe;
  border: 1px solid #c5d5f5;
  color: #1a3d6e;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.jingles-title-wrap h2 {
  margin: 0.6rem 0 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  color: #1a3d6e;
  letter-spacing: 0.02em;
}

.jingles-count {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

.jingles-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1.1rem;
}

.jingles-search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  background: #f5f6fa;
  border: 1px solid #e2e5f0;
  border-radius: 10px;
  padding: 9px 12px;
}

.jingles-search i { color: #9ca3b8; font-size: 13px; }

.jingles-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #3a3d52;
  font-family: 'Ubuntu', sans-serif;
}

.jingles-stop {
  border: 1px solid #efb3b3;
  background: #fde8e8;
  color: #991b1b;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jingles-state {
  color: #7b8191;
  text-align: center;
  padding: 1.2rem 0;
  font-size: 13px;
}

.jingles-error { color: #dc2626; }

.jingles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.jingle-card {
  border: 1px solid #e2e5f0;
  border-radius: 12px;
  background: #fbfcff;
  padding: 12px;
}

.jingle-meta {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.jingle-tag {
  background: #e8f0fe;
  border: 1px solid #c5d5f5;
  color: #1a3d6e;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
}

.jingle-card h3 {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  min-height: 2.6em;
}

.jingle-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jingle-play {
  flex: 1;
  border: 1px solid #b91c1c;
  background: #b91c1c;
  color: #ffffff;
  border-radius: 9px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.jingle-play.is-playing {
  background: #991b1b;
  border-color: #991b1b;
}

.jingle-play:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.jingle-download {
  width: 34px;
  height: 34px;
  border: 1px solid #efb3b3;
  border-radius: 9px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #991b1b;
  text-decoration: none;
  background: #fde8e8;
}

.jingle-missing {
  font-size: 12px;
  color: #9ca3b8;
}

@media (max-width: 900px) {
  .jingles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jingles-section {
    padding: 0 1rem 4rem;
  }

  .jingles-shell {
    padding: 1rem;
  }

  .jingles-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jingles-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

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

/* ── Launcher section ──────────────────────────────────────────── */
.launcher-section {
  width: 100%;
  background: #ffffff;
  padding: 4rem 1.5rem 6rem;
}

.launcher-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.launcher-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.launcher-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1a3d6e;
  background: #e8f0fe;
  border: 1px solid #c5d5f5;
  border-radius: 999px;
  padding: 5px 10px;
}

.launcher-header h2 {
  margin: 0.9rem 0 0.7rem;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
  color: #121528;
}

.launcher-header p {
  margin: 0;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
}

.launcher-main-btn {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #1a3d6e;
  color: #ffffff;
  border: 1px solid #1a3d6e;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.launcher-main-btn:hover {
  background: #163460;
  border-color: #163460;
}

.launcher-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 1.4rem;
}

.launcher-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
}

.launcher-feature-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.launcher-feature-card h3 {
  margin: 0 0 6px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.launcher-feature-card p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.launcher-security {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.launcher-security h3 {
  margin: 0 0 0.55rem;
  color: #0f172a;
  font-size: 1rem;
}

.launcher-security p {
  margin: 0;
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.55;
}

.launcher-vt-link {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #1a3d6e;
  font-weight: 700;
  font-size: 0.92rem;
}

.launcher-vt-link:hover {
  color: #163460;
}

@media (max-width: 1000px) {
  .launcher-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .launcher-section {
    padding: 3rem 1rem 4.2rem;
  }

  .launcher-feature-grid {
    grid-template-columns: 1fr;
  }

  .launcher-main-btn {
    width: 100%;
    justify-content: center;
  }
}