/* ============================================
   TDZ – Modern Onepager
   Clean interpretation inspired by the 2019 site
   ============================================ */

:root {
  --blue: #1976d2;
  --blue-dark: #0d47a1;
  --blue-soft: #e3f2fd;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.nav-bar {
  position: relative;
  z-index: 102;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.nav-logo-sub {
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  height: 64px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s, background 0.2s;
  padding: 8px 14px;
  border-radius: 6px;
  display: block;
}

.nav-links > li > a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

/* Bridge: invisible area under has-mega so mouse can reach panel */
.nav-links > li.has-mega::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
  z-index: 103;
}

/* no global highlight of all mega parents when open */

/* ===== FULL-WIDTH MEGA PANEL ===== */
.mega-panel {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 101;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  /* Start slightly open for bridge; visual height controlled by inner */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease;
}

.nav:has(.has-mega:hover) .mega-panel,
.nav:has(.mega-panel:hover) .mega-panel {
  max-height: 380px;
  opacity: 1;
  pointer-events: auto;
}


/* Header logo disappears when mega opens (slides into panel) */
.nav-logo {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav:has(.has-mega:hover) .nav-logo,
.nav:has(.mega-panel:hover) .nav-logo {
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  pointer-events: none;
}

.mega-panel-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.mega-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  min-width: 220px;
  max-width: 280px;
  text-decoration: none;
  color: var(--dark);
  /* start above (from header) */
  opacity: 0;
  transform: translateY(-56px) scale(0.55);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.05s;
}

.nav:has(.has-mega:hover) .mega-brand,
.nav:has(.mega-panel:hover) .mega-brand {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mega-brand img {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 20px rgba(25, 118, 210, 0.25));
}

.mega-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

.mega-brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mega-brand-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  margin-top: 6px;
}


.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  flex: 1;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 24px 0 32px;
}

.mega-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-soft);
}

.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-col ul li a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.15s, padding-left 0.15s;
}

.mega-col ul li a:hover {
  color: var(--blue);
  padding-left: 6px;
}

.mega-col ul li a.coming-soon {
  color: #94a3b8;
  cursor: default;
  pointer-events: none;
}

.mega-col ul li a.coming-soon span {
  font-size: 0.7rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-left: 4px;
}

.mega-col ul li a.coming-soon:hover {
  color: #94a3b8;
  padding-left: 0;
}

/* ===== BACKDROP ===== */
.mega-backdrop {
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 99;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.nav:has(.has-mega:hover) ~ .mega-backdrop,
.nav:has(.mega-panel:hover) ~ .mega-backdrop {
  opacity: 1;
  visibility: visible;
  /* allow clicks on backdrop to "close" by not blocking nav */
  pointer-events: auto;
}

/* Discord CTA */
.nav-cta {
  background: #5865F2;
  color: white !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.nav-cta:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.nav-cta .discord-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--dark);
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  z-index: 120;
  position: relative;
}

.btn-discord {
  background: #5865F2;
  color: white !important;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord .discord-icon {
  flex-shrink: 0;
}

.btn-discord-lg {
  padding: 18px 40px;
  font-size: 1.15rem;
  border-radius: 12px;
  gap: 12px;
}

.btn-discord-lg .discord-icon {
  width: 24px;
  height: 24px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* ========== FULLSCREEN INTRO ========== */
.intro {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a0e17;
}

.intro-panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.intro-panel {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(1.08);
  animation: panelIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-panel:nth-child(1) { animation-delay: 0.1s; }
.intro-panel:nth-child(2) { animation-delay: 0.18s; }
.intro-panel:nth-child(3) { animation-delay: 0.26s; }
.intro-panel:nth-child(4) { animation-delay: 0.34s; }
.intro-panel:nth-child(5) { animation-delay: 0.42s; }
.intro-panel:nth-child(6) { animation-delay: 0.5s; }
.intro-panel:nth-child(7) { animation-delay: 0.58s; }
.intro-panel:nth-child(8) { animation-delay: 0.66s; }

@keyframes panelIn {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(1.12);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.panel-bg {
  position: absolute;
  inset: 0;
  transition: transform 8s ease-out;
  animation: panelSettle 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.8s;
  transform: scale(1.15);
}

@keyframes panelSettle {
  to { transform: scale(1); }
}

/* Game images + dark overlay for text readability */
.panel-1 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-apex.jpg') center / cover no-repeat;
}
.panel-2 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-fortnite.jpg') center / cover no-repeat;
}
.panel-3 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-cod.jpg') center / cover no-repeat;
}
.panel-4 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-r6.jpg') center / cover no-repeat;
}
.panel-5 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-valorant.jpg') center / cover no-repeat;
}
.panel-6 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-wardogs.jpg') center / cover no-repeat;
}
.panel-7 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-wow.jpg') center / cover no-repeat;
}
.panel-8 .panel-bg {
  background:
    linear-gradient(160deg, rgba(10,14,23,0.25) 0%, rgba(10,14,23,0.65) 100%),
    url('images/games/game-rocket.jpg') center / cover no-repeat;
}

.panel-label {
  position: absolute;
  bottom: 20px;
  left: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 1.2s;
  text-align: center;
  line-height: 1.3;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Text overlay */
.intro-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(10,14,23,0.15) 0%, rgba(10,14,23,0.55) 100%);
  pointer-events: none;
}

.intro-text {
  padding: 0 24px;
  max-width: 900px;
}

.intro-title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: white;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: textReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.4s;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.intro-title span {
  color: #64b5f6;
}

.intro-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: textReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.75s;
}

@keyframes textReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards, bounce 2s ease-in-out infinite;
  animation-delay: 2.2s, 2.2s;
  transition: color 0.2s;
}

.scroll-hint:hover {
  color: white;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Buttons (shared) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 14px rgba(25,118,210,0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25,118,210,0.35);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  background: var(--light);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== SECTION COMMON ========== */
section {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
  padding: 0;
  background: transparent;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: 480px;
}

.about-left,
.about-right {
  padding: 80px 0;
  display: flex;
}

.about-left {
  background: var(--blue);
  color: white;
  justify-content: flex-end;
}

.about-right {
  background: white;
  justify-content: flex-start;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Content sits towards the center logo */
.about-content {
  width: 100%;
  max-width: 560px;
  padding: 0 40px;
}

.about-left .about-content {
  padding-right: 140px; /* space for large logo */
}

.about-right .about-content {
  padding-left: 140px; /* space for large logo */
}

.about-left h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: white;
}

.about-left p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 14px;
}

.about-left p:last-child {
  margin-bottom: 0;
}

.about-right > .about-content > h2,
.about-right h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 20px;
}

/* Logo sits on the seam between both halves */
.about-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 220px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  pointer-events: none;
}

.about-center img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(15, 23, 42, 0.2));
}

.about-acc {
  border-bottom: 1px solid var(--border);
}

.about-acc:last-child {
  border-bottom: none;
}

.about-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.15s;
}

.about-acc summary::-webkit-details-marker {
  display: none;
}

.about-acc summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
}

.about-acc[open] summary::after {
  content: '−';
}

.about-acc summary:hover {
  color: var(--blue-dark);
}

.about-acc p {
  padding: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray);
}

/* ========== STATS / HITLIST ========== */
.stats {
  background: var(--dark);
  color: white;
}

.stats .section-label {
  color: #60a5fa;
}

.stats .section-title {
  color: white;
}

.stats .section-desc {
  color: #94a3b8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.stat-card .number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #60a5fa;
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.hitlist {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.hitlist-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

.hitlist-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.hitlist-row:last-child {
  border-bottom: none;
}

.hitlist-row:hover {
  background: rgba(255,255,255,0.03);
}

.hitlist-row .rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hitlist-row .rank.gold { background: rgba(251,191,36,0.2); color: #fbbf24; }
.hitlist-row .rank.silver { background: rgba(148,163,184,0.2); color: #94a3b8; }
.hitlist-row .rank.bronze { background: rgba(180,83,9,0.2); color: #d97706; }

.hitlist-row img,
.hitlist-row .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hitlist-row .avatar {
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
}

.hitlist-row .name {
  flex: 1;
  font-weight: 500;
  font-size: 0.95rem;
}

.hitlist-row .points {
  font-weight: 700;
  font-size: 0.95rem;
  color: #60a5fa;
}

/* ========== TEAMS ========== */
.teams {
  background: var(--light);
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}

.team-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(25,118,210,0.1);
}

.team-card .emoji {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ========== MATCHES ========== */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s;
}

.match-card:hover {
  border-color: #bfdbfe;
}

.match-info {
  flex: 1;
}

.match-info .game {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 4px;
}

.match-info .teams {
  font-weight: 600;
  font-size: 0.975rem;
}

.match-info .teams .us {
  color: var(--blue);
}

.match-score {
  background: var(--dark);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  min-width: 60px;
  text-align: center;
}


/* ========== ZAHLEN ========== */
.zahlen {
  position: relative;
  background: var(--light);
  padding: 90px 0;
}

.zahlen-header {
  text-align: center;
  margin-bottom: 48px;
}

.zahlen .section-label {
  color: var(--blue);
}

.zahlen-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 10px 0 14px;
}

.zahlen-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 420px;
  margin: 0 auto;
}

.zahlen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.zahlen-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 20px 32px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.zahlen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(25, 118, 210, 0.1);
  border-color: #bfdbfe;
}

.zahlen-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 10px;
}

.zahlen-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta .btn-primary {
  background: white;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--light);
  color: var(--gray);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.footer-brand img {
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s, transform 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .zahlen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-left,
  .about-right {
    justify-content: center;
    padding: 60px 0 70px;
  }

  .about-left .about-content,
  .about-right .about-content {
    max-width: 520px;
    padding: 0 24px;
  }

  .about-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -28px auto;
    width: 140px;
    height: auto;
    order: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .about-split {
    display: flex;
    flex-direction: column;
  }

  .about-center {
    order: 2;
  }

  .about-left {
    order: 1;
    padding-bottom: 50px;
  }

  .about-right {
    order: 3;
    padding-top: 50px;
  }
}

@media (max-width: 700px) {
  .nav-links,
  .mega-panel,
  .mega-backdrop {
    display: none !important;
  }

  .nav-cta {
    display: none;
  }

  .mobile-btn {
    display: block;
  }

  .intro-panels {
    grid-template-columns: repeat(4, 1fr);
  }

  .intro-panel:nth-child(n+5) {
    display: none;
  }

  .panel-label {
    font-size: 0.6rem;
    bottom: 16px;
    left: 10px;
    right: 10px;
  }

  section {
    padding: 70px 0;
  }

  .stats-grid,
  .teams-grid {
    grid-template-columns: 1fr 1fr;
  }

  .match-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .zahlen-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .teams-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Mobile menu ===== */
.mobile-menu {
  display: none !important;
}

.mobile-menu[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .mobile-menu {
    display: block !important;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 110;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .mobile-menu.open {
    display: block !important;
    max-height: min(85vh, 640px);
    opacity: 1;
    overflow-y: auto;
  }

  .mobile-menu.open[hidden] {
    display: block !important;
  }

  .mobile-menu-inner {
    padding: 16px 20px 28px;
  }

  .mobile-link {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
  }

  .mobile-link:hover {
    color: var(--blue);
  }

  .mobile-group {
    padding: 16px 0 8px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-bottom: 10px;
  }

  .mobile-soon {
    display: block;
    padding: 6px 0;
    font-size: 0.875rem;
    color: #94a3b8;
  }

  .mobile-discord {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .nav-logo-name {
    font-size: 0.8rem;
  }

  .nav-logo-sub {
    font-size: 0.65rem;
  }

  .nav-logo img {
    height: 40px;
  }
}

/* ===== Inner pages ===== */
.page-inner {
  background: #f3f4f6;
}

.page-main {
  padding: 100px 0 80px;
  min-height: 60vh;
}

.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 8px 0 10px;
}

.page-desc {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ===== Squad list ===== */
.squad-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.squad-item {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}

.squad-banner {
  list-style: none;
  display: grid;
  grid-template-columns: 72px 64px minmax(160px, 240px) 1fr;
  align-items: stretch;
  min-height: 140px;
  cursor: pointer;
  position: relative;
  background: white;
}

.squad-banner::-webkit-details-marker {
  display: none;
}

.squad-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  position: relative;
}

.squad-arrow::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6b7280;
  transition: transform 0.2s;
}

.squad-item[open] .squad-arrow::before {
  transform: rotate(180deg);
}

.squad-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  align-self: center;
  margin-left: 8px;
  justify-self: center;
}

.squad-name {
  align-self: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b5563;
  padding: 0 16px;
  white-space: nowrap;
}

.squad-art {
  min-height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
  position: relative;
}

.squad-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.15) 28%, transparent 55%);
  pointer-events: none;
}

.squad-detail {
  padding: 20px 24px 24px;
  border-top: 1px solid #eee;
  background: #fafafa;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.squad-detail p + p {
  margin-top: 10px;
}

.mobile-sublink {
  display: block;
  padding: 8px 0 8px 4px !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  border-bottom: none !important;
  color: var(--dark) !important;
}

@media (max-width: 700px) {
  .squad-banner {
    grid-template-columns: 60px 52px 1fr;
    grid-template-rows: auto auto;
    min-height: 120px;
  }

  .squad-art {
    grid-column: 1 / -1;
    min-height: 120px;
  }

  .squad-art::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 40%);
  }

  .page-main {
    padding: 88px 0 60px;
  }
}

/* Squad members (Discord) */
.squad-intro {
  margin-bottom: 18px;
}

.squad-members-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 14px;
}

.squad-members-status {
  color: var(--gray);
  font-size: 0.95rem;
}

.squad-members-error {
  color: #b91c1c;
}

.squad-members-count {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
}

.member-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.25;
}

.member-user {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ========== FAQ ========== */
.faq {
  background: white;
  padding: 90px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 10px 0 12px;
}

.faq-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 12px 20px;
  align-items: start;
}

.faq-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.08);
  background: white;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--blue);
  color: white;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
  padding-top: 2px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

@media (max-width: 700px) {
  .faq {
    padding: 70px 0;
  }

  .faq-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 0.95rem;
  }
}

/* ========== Timeline (Geschichte) ========== */
.page-header-center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 20px auto 80px;
  padding: 20px 24px 40px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue) 0%, #93c5fd 50%, #e2e8f0 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 28px 0;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-year {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
  min-width: 64px;
  text-align: center;
}

.timeline-year-now {
  background: var(--dark);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.timeline-card {
  width: min(42%, 380px);
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.timeline-left {
  margin-right: auto;
  margin-left: 0;
}

.timeline-right {
  margin-left: auto;
  margin-right: 0;
}

.timeline-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: #e2e8f0;
  display: block;
}

.timeline-body {
  padding: 16px 18px 18px;
}

.timeline-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.timeline-body p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray);
  margin: 0;
}

@media (max-width: 800px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-year {
    left: 20px;
    top: 0;
    transform: translate(-50%, 0);
  }

  .timeline-item {
    padding: 36px 0 24px 48px;
  }

  .timeline-card {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .timeline-left,
  .timeline-right {
    margin: 0;
  }
}

/* ========== Join Us Form ========== */
.join-wrap {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: calc(1rem * var(--join-font-scale, 1));
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.join-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.join-step-title {
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.join-hint {
  font-size: 0.9em;
  color: var(--gray);
  margin-bottom: 14px;
}

.join-label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.join-range {
  width: 100%;
  accent-color: var(--blue);
  margin: 8px 0 4px;
}

.join-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8em;
  color: var(--gray);
}

.join-style-labels span:last-child {
  text-align: right;
  max-width: 45%;
}

.join-style-current {
  margin-top: 12px;
  font-weight: 600;
  color: var(--blue);
}

.join-age-preview {
  margin-top: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  transition: font-size 0.15s ease;
}

.join-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 500;
}

.join-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.join-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.join-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
  background: var(--light);
  transition: border-color 0.15s, background 0.15s;
}

.join-pill:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.join-pill input {
  margin-right: 6px;
}

.join-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

.join-field input[type="text"] {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
}

.join-field input[type="text"]:focus {
  outline: 2px solid var(--blue-soft);
  border-color: var(--blue);
}

.join-hours-msg {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: #9a3412;
  font-weight: 500;
  font-size: 0.95em;
}

.join-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 1.05em;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  transition: background 0.15s;
}

.join-submit:hover {
  background: var(--blue-dark);
}

.join-loading {
  text-align: center;
  padding: 48px 24px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.join-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--blue-soft);
  border-top-color: var(--blue);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: join-spin 0.8s linear infinite;
}

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

.join-loading-text {
  font-weight: 600;
  color: var(--dark);
  min-height: 1.5em;
  margin-bottom: 20px;
}

.join-loading-bar {
  height: 8px;
  background: var(--light);
  border-radius: 999px;
  overflow: hidden;
}

.join-loading-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.join-result {
  text-align: center;
  padding: 40px 28px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(25, 118, 210, 0.08);
}

.join-result-badge {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.join-result-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.join-result-text {
  color: var(--gray);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 28px;
}

.join-again {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}

.join-again:hover {
  color: var(--blue);
}

/* Volume panel (hearing aid) */
.join-volume-panel {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 90;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  min-width: 200px;
}

.join-volume-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.join-volume-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray);
}

.join-volume-panel input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  pointer-events: none;
  opacity: 0.95;
}

.join-volume-pct {
  font-weight: 800;
  color: var(--blue);
  font-size: 1.1rem;
}

.join-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--dark);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  max-width: 90vw;
}

.join-subtitles {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  background: rgba(0,0,0,0.85);
  color: #fde68a;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  max-width: min(560px, 92vw);
  text-align: center;
}

body.join-hearing-on {
  font-weight: 550;
}

body.join-hearing-on .join-step-title,
body.join-hearing-on .page-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Magnifier */
.join-vision-on,
.join-vision-on * {
  cursor: none !important;
}

.join-magnifier {
  position: fixed;
  width: 150px;
  height: 150px;
  margin-left: -75px;
  margin-top: -75px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  box-shadow:
    0 0 0 6px rgba(25, 118, 210, 0.15),
    0 12px 32px rgba(15, 23, 42, 0.2);
  pointer-events: none;
  z-index: 120;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(0px);
}

.join-magnifier::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.4);
  pointer-events: none;
}

.join-magnifier-lens {
  position: absolute;
  inset: -25%;
  background: transparent;
  transform: scale(1.65);
  transform-origin: center center;
  pointer-events: none;
}

/* Loupe handle */
.join-magnifier::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 36px;
  background: #64748b;
  border-radius: 4px;
  right: 8px;
  bottom: -22px;
  transform: rotate(-40deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@media (max-width: 700px) {
  .join-volume-panel {
    left: 12px;
    right: 12px;
    bottom: 64px;
    min-width: 0;
  }

  .join-style-labels {
    flex-direction: column;
    gap: 4px;
  }

  .join-style-labels span:last-child {
    text-align: left;
    max-width: 100%;
  }

  .join-magnifier {
    width: 110px;
    height: 110px;
    margin-left: -55px;
    margin-top: -55px;
  }
}
