/* Page styles (public/index.php). */
    html { scroll-behavior: smooth; }
    body{
      font-family: var(--font-body);
      color: var(--white);
      background: var(--dark);
      overflow-x: hidden;
    }
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--dark); }
    ::-webkit-scrollbar-thumb{
      background: var(--primary);
      border-radius: 10px;
    }

/* HEADER */
.site-header {
  padding: 0 48px;
  height: 72px;
  background: rgba(var(--dark-rgb), 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-wrap{
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img{
  height: var(--logo-standalone);
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}
.logo-text-fallback {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--white);
  text-shadow: 0 0 20px var(--primary-glow);
  display: none;
}
.logo-text-fallback span { color: var(--primary); }
.nav-links{
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links > a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  padding: 8px 4px;
}
.nav-links > a:hover { color: var(--white); }
.btn-nav-signup {
  background: var(--primary) !important;
  color: var(--on-brand) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 1.5px !important;
  transition: all 0.3s !important;
  box-shadow: 0 0 20px var(--primary-glow);
}
.btn-nav-signup:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px var(--primary-glow) !important;
}

/* LANGUAGE SWITCHER: the menu itself is views/components/language-menu.php; this only places it */
.lang-switcher{
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 4px;
}

/* MOBILE NAV */
#nav-toggle{display:none;background:none;border:none;color:var(--white);font-size:1.3rem;cursor:pointer;padding:8px;line-height:1;flex-shrink:0;}
#mobile-nav{
  display:none;flex-direction:column;
  /* Fixed, like the sticky header above it, so the open menu stays under the header as the page scrolls; scrolls itself when the screen is shorter than the menu. */
  position:fixed;top:72px;left:0;right:0;
  max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px);overflow-y:auto;
  background:rgba(var(--dark-rgb), 0.97);backdrop-filter:blur(24px);
  border-bottom:1px solid var(--border);
  padding:12px 20px 20px;z-index:999;gap:4px;
}
#mobile-nav.open{display:flex;}
#mobile-nav > a{
  color:rgba(var(--white-rgb), 0.7);text-decoration:none;font-weight:600;
  font-size:0.88rem;text-transform:uppercase;letter-spacing:1px;
  padding:12px 14px;border-radius:8px;transition:background 0.2s,color 0.2s;
}
#mobile-nav > a:hover{background:rgba(var(--white-rgb), 0.06);color:var(--white);}
#mobile-nav .mob-signup{background:var(--primary);color:var(--on-brand) !important;font-weight:800;text-align:center;margin-top:4px;box-shadow:0 0 16px var(--primary-glow);}
#mobile-nav .mob-lang{padding:12px 4px 4px;border-top:1px solid var(--border);margin-top:8px;}
@media(max-width:768px){
  .nav-links{display:none;}
  #nav-toggle{display:block;}
  .site-header{padding:0 20px;}
}

/* HERO */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(var(--black-rgb), 0.70), rgba(var(--black-rgb), 0.70)),
    url('/assets/images/background.png') center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -5%;
  width: 55%; height: 55%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 55%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.05) 0%, transparent 65%);
  pointer-events: none;
}
/* The page's one main heading: what RI Scouts is. The three role hooks below it are second-level headings with the look the first-level ones had. */
.hero-umbrella {
  max-width: 1400px; margin: 54px auto 4px; width: 100%; text-align: center;   /* clears the fixed top bar */
  font-size: clamp(1.15rem, 2.1vw, 1.75rem); letter-spacing: 3px; text-transform: uppercase;
  color: rgba(var(--white-rgb), 0.92);
}
.hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* one column per role, as the sections below: players, scouts, representatives */
  gap: 2px;
  min-height: 70vh;
}
.hero-pane{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 60px 8%;
  position: relative;
}
.player-pane { background: rgba(var(--dark-rgb), 0.05); }
.scout-pane{
  background: rgba(var(--dark-rgb), 0.45);
  border-left: 1px solid var(--border);
}
.rep-pane{
  background: rgba(var(--dark-rgb), 0.05);
  border-left: 1px solid var(--border);
}
.persona-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.persona-tag::after{
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
}
.hero-pane h2 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-pane h2 em{
  color: var(--primary);
  font-style: normal;
}
/* Three columns need a smaller headline than two did; below 1001px the panes stack and keep their size. */
@media(min-width: 1001px) {
  .hero-pane { padding: 60px 6%; }
  .hero-pane h2 { font-size: clamp(2.6rem, 4.2vw, 4.6rem); }
}
.hero-sub{
  font-size: 1.05rem;
  max-width: 420px;
  margin-bottom: 48px;
  color: rgba(var(--white-rgb), 0.78);
  line-height: 1.7;
  font-weight: 300;
}
.hero-btns{
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 330px;   /* the three buttons are longer than "Get started": where one still does not fit, its words wrap */
  margin-top: auto;
}
.btn-hero-primary {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 56px; padding: 8px 14px; background: var(--primary); color: var(--on-brand);
  font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.8px;
  border-radius: 6px; text-decoration: none; transition: all 0.4s;
  box-shadow: 0 8px 30px var(--primary-glow); cursor: pointer; border: none; width: 100%;
}
.btn-hero-primary:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--primary-glow);
}
.btn-hero-secondary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; border: 2px solid rgba(var(--white-rgb), 0.3); color: var(--white);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
  border-radius: 6px; background: transparent; transition: all 0.4s; cursor: pointer; width: 100%;
}
.btn-hero-secondary:hover{
  border-color: var(--white);
  transform: translateY(-4px);
}
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: var(--text-xs); letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); animation: float 2s ease-in-out infinite;
}
.scroll-hint i{
  font-size: 1rem;
  color: var(--primary);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* BETA BANNER */
.beta-banner {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.07) 0%, rgba(var(--dark2-rgb), 0.99) 100%);
  border-top: 1px solid rgba(var(--primary-rgb), 0.45);
  border-bottom: 1px solid var(--border);
  padding: 26px 48px;
  position: relative;
  overflow: hidden;
}
.beta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 120% at 0% 50%, rgba(var(--primary-rgb), 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.beta-banner-inner{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.beta-pill {
  background: var(--primary); color: var(--on-brand);
  font-size: var(--text-xs); font-weight: 900; letter-spacing: 4px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px; flex-shrink: 0; white-space: nowrap;
}
.beta-divider{
  width: 1px;
  height: 28px;
  background: rgba(var(--primary-rgb), 0.2);
  flex-shrink: 0;
}
.beta-live-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--primary); border-radius: 50%;
  margin-right: 9px; vertical-align: middle; flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.55); }
  55% { box-shadow: 0 0 0 7px rgba(var(--primary-rgb), 0); }
}
.beta-copy{
  font-size: 0.88rem;
  color: rgba(var(--white-rgb), 0.72);
  line-height: 1.55;
  font-weight: 400;
  flex: 1;
}
.beta-copy strong{
  color: var(--white);
  font-weight: 700;
}
.beta-copy em{
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}

/* URGENCY STRIP */
.urgency-strip{
  background: rgba(var(--primary-rgb), 0.03);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  overflow: hidden;
}
.urgency-inner{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.urgency-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.79rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  justify-content: center;
  padding: 0 28px;
  flex: 1;
}
.urgency-item:not(:last-child){ border-right: 1px solid var(--border); }
.urgency-item i{
  color: var(--primary);
  font-size: 0.85rem;
}
.urgency-item strong{
  color: rgba(var(--white-rgb), 0.85);
  font-weight: 700;
}

/* SECTION EYEBROW */
.section-eyebrow{
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before{
  content: '';
  width: 32px;
  height: 1px;
  background: var(--primary);
}

/* PLAYER CARDS */
.players-section{
  max-width: 1400px;
  margin: 64px auto;
  padding: 0 48px;
}
.section-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.section-header h2{
  font-family: var(--font-display);
  font-size: clamp(2.5rem,4vw,4rem);
  letter-spacing: 2px;
  line-height: 1;
}
.section-header-sub{
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}
.view-all-link{
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
  white-space: nowrap;
}
.view-all-link:hover { gap: 14px; }
.cards-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.player-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}
.player-card:hover{
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(var(--black-rgb), 0.5), 0 0 40px var(--primary-dim);
}
.card-img{
  height: 280px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-img-top), var(--card-img-bottom));
}
.card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  pointer-events: none;
  transform: scale(1.08);
  transition: transform 0.6s;
}
.player-card:hover .card-img img { transform: scale(1.13); }
.card-img-fallback{
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--card-ph-top), var(--card-ph-bottom));
}
.card-img-fallback svg{
  width: 90px;
  height: 90px;
  opacity: 0.3;
}
.card-img-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--dark-rgb), 0.95) 0%, rgba(var(--dark-rgb), 0.1) 55%, transparent 100%);
  pointer-events: none;
}
.card-badges{
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}
.badge-vetted{
  background: var(--primary);
  color: var(--on-brand);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(var(--black-rgb), 0.5);
  z-index: 11;
}
.badge-pos{
  background: rgba(var(--black-rgb), 0.75);
  border: 1px solid rgba(var(--white-rgb), 0.2);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 11;
}
.card-body { padding: 22px 24px 24px; }
.player-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.flag-emoji { font-size: 1.1rem; }
.player-pos{
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.card-body h3{
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
  color: var(--white);
}
.card-specs{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(var(--white-rgb), 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.spec-item{
  background: rgba(var(--dark2-rgb), 0.8);
  padding: 12px 8px;
  text-align: center;
}
.spec-val{
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.spec-key{
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.top-attribute{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.75rem;
}
.top-attribute-label{
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.top-attribute-value{
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-card{
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-card:hover{
  background: var(--primary);
  color: var(--on-brand);
}

/* HOW IT WORKS */
.how-section{
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 48px;
}
.how-inner{
  max-width: 1400px;
  margin: 0 auto;
}
.how-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
}
.how-side-label{
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 36px;
  padding: 8px 20px;
  border-radius: 4px;
  display: inline-block;
}
.player-label{
  background: var(--primary-dim);
  color: var(--primary);
}
.scout-label{
  background: var(--accent-dim);
  color: var(--accent);
}
.steps{
  display: flex;
  flex-direction: column;
}
.step{
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-num.p{
  background: var(--primary-dim);
  color: var(--primary);
}
.step-num.s{
  background: var(--accent-dim);
  color: var(--accent);
}
.step-body h4{
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.step-body p{
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* MISSION */
.mission-section{
  max-width: 900px;
  margin: 64px auto;
  padding: 0 48px;
  text-align: center;
}
.mission-section h2{
  font-family: var(--font-display);
  font-size: clamp(2.5rem,5vw,5rem);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 20px;
}
.mission-quote{
  font-size: 1.3rem;
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.6;
}
.mission-section p{
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 48px;
}
.btn-mission{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--primary);
  color: var(--on-brand);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 8px 40px var(--primary-glow);
}
.btn-mission:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 50px var(--primary-glow);
}

/* SAFETY */
.safety-lede{color:var(--text-muted);max-width:760px;margin:12px 0 30px;font-size:1rem;line-height:1.7;}
.safety-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;}
.safety-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;}
.safety-card i{font-size:1.4rem;color:var(--primary);margin-bottom:14px;display:block;}
.safety-card h4{font-size:1rem;margin-bottom:8px;color:var(--white);}
.safety-card p{font-size:0.88rem;color:var(--text-muted);line-height:1.65;}
.safety-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:30px;}
.safety-links .btn-mission{padding:14px 28px;}
.safety-link{color:var(--primary);font-weight:700;text-decoration:none;font-size:0.92rem;}
.safety-link:hover{text-decoration:underline;}

/* TRUST BAR */
.trust-bar{
  padding: 40px 48px;
  background: rgba(var(--dark2-rgb), 0.6);
  border-top: 1px solid var(--border);
}
.trust-inner{
  max-width: 1400px;
  margin: 0 auto;
}
.trust-title{
  font-size: var(--text-xs);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}
.trust-items{
  display: flex;
  justify-content: center;
  align-items: center;
  /* One row while it fits the screen (English does from 1280px); German and Spanish, longer,
     take a second row instead of running off both sides of it. */
  flex-wrap: wrap;
  gap: 14px 0;
}
/* On wide screens the row may use the whole screen before it wraps: the bar's side padding
   and the inner max width only centre it, and English already ran into that padding at
   1280-1366px. Narrower screens keep their own wrapping (1200px rule below). */
@media(min-width: 1201px) {
  .trust-bar { padding-left: 0; padding-right: 0; }
  .trust-inner { max-width: none; }
}
.trust-item{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(var(--white-rgb), 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 28px;
}
.trust-item:not(:last-child) { border-right: 1px solid var(--border); }
.trust-item i{
  color: var(--primary);
  font-size: 1rem;
}

/* FOOTER */
footer{
  background: rgba(var(--dark-rgb), 0.98);
  border-top: 1px solid var(--border);
  padding: 48px 48px 32px;
}
.footer-inner{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p{
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 16px;
}
.footer-tagline{
  display: block;
  margin-top: 14px;
  font-size: 0.7rem;
  color: rgba(var(--primary-rgb), 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-col h4{
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-col a{
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.3s;
  cursor: pointer;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.social-links{
  display: flex;
  gap: 16px;
}
.social-links a{
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s;
  text-decoration: none;
}
.social-links a:hover { color: var(--primary); }

/* ANIMATIONS */
@keyframes fadeUp{
  from { opacity: 0;
  transform: translateY(30px);
  } to { opacity: 1;
  transform: translateY(0);
  };
}
.fade-up{
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* FEATURE SECTIONS — Scouts & Representatives */
.feature-section{
  padding: 64px 48px;
  border-top: 1px solid var(--border);
}
.feature-section.alt{
  background: var(--dark2);
}
.feature-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-inner.reverse{ direction: rtl; }
.feature-inner.reverse > *{ direction: ltr; }
.feature-copy .persona-tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.feature-copy .persona-tag.scout-tag{
  background: var(--accent-dim);
  color: var(--accent);
}
.feature-copy .persona-tag.rep-tag{
  background: var(--primary-dim);
  color: var(--primary);
}
/* Players share the representatives' teal. That is deliberate and matches
   the hero, which already groups "Players & Representatives" in teal and
   reserves the orange accent for scouts. */
.feature-copy .persona-tag.player-tag{
  background: var(--primary-dim);
  color: var(--primary);
}
.feature-copy h2{
  font-family: var(--font-display);
  font-size: clamp(2.2rem,3.5vw,3.4rem);
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.feature-copy p{
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.feature-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s;
}
.feature-cta.scout-cta{
  background: var(--accent);
  color: var(--on-brand);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}
.feature-cta.scout-cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px rgba(var(--accent-rgb), 0.4); }
.feature-cta.rep-cta{
  background: var(--primary);
  color: var(--on-brand);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.feature-cta.rep-cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px rgba(var(--primary-rgb), 0.4); }
.feature-cta.player-cta{
  background: var(--primary);
  color: var(--on-brand);
  box-shadow: 0 8px 30px var(--primary-glow);
}
.feature-cta.player-cta:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px rgba(var(--primary-rgb), 0.4); }
.feature-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card{
  background: rgba(var(--white-rgb), 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover{ transform: translateY(-3px); }
.feature-card.scout-card:hover{ border-color: rgba(var(--accent-rgb), 0.35); }
.feature-card.rep-card:hover{ border-color: rgba(var(--primary-rgb), 0.35); }
.feature-card.player-card:hover{ border-color: rgba(var(--primary-rgb), 0.35); }
.feature-card-icon{
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.scout-icon{ background: var(--accent-dim); color: var(--accent); }
.rep-icon{ background: var(--primary-dim); color: var(--primary); }
.player-icon{ background: var(--primary-dim); color: var(--primary); }
.feature-card h4{
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--white);
}
.feature-card p{
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
  .trust-items{
    flex-wrap: wrap;
    gap: 16px;
  }
  .trust-item{
    border-right: none !important;
    padding: 6px 18px;
  }
}
@media(max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .scout-pane, .rep-pane{
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .cards-grid{
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .how-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-header, .hero, .players-section, .how-section, .trust-bar, footer, .beta-banner, .urgency-strip, .feature-section{
    padding-left: 24px;
    padding-right: 24px;
  }
  .feature-inner, .feature-inner.reverse{
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
}
@media(max-width: 600px) {
  /* Two columns of ~160px is too narrow for a card title plus body on a
     phone. One column below 600px, for all three feature sections. */
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom{
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .beta-banner-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  /* The divider parts the badge from the text when they sit side by side; stacked, it was
     an empty bar between them. */
  .beta-divider { display: none; }
  /* One perk per row, left-aligned under the beta text, the icons in one column and a line
     between rows. flex:1 sizes from zero, so the rows used to pair up two by two at uneven
     heights, and the desktop dividers (:not(:last-child)) outranked the plain selector. */
  .urgency-inner { gap: 0; }
  .urgency-item, .urgency-item:not(:last-child) { flex-basis: 100%; justify-content: flex-start; text-align: left; padding: 10px 0; border-right: none; }
  .urgency-item:not(:last-child) { border-bottom: 1px solid var(--border); }
  .urgency-item i { width: 1.25em; text-align: center; flex-shrink: 0; }
  /* A trust item longer than the screen ("Erziehungsberechtigten-Schutz für Minderjährige")
     wraps onto a second line instead of running off it; shorter ones stay on one line. */
  .trust-item { white-space: normal; }
}

/* ── Page elements ── */
.btn-hero-primary.btn-hero-accent { background:var(--accent); box-shadow:0 8px 30px rgba(var(--accent-rgb), 0.35); }
.home-pill-ico { margin-right:6px; }
.home-h2 { font-family:var(--font-display); font-size:clamp(2.5rem,4vw,4rem); letter-spacing:2px; }
.eyebrow-center { justify-content:center; }
.footer-logo-img { filter:brightness(1.05); }
.footer-logo-text { font-size:20px; }

/* Cards, steps and the urgency strip rise into view as the page scrolls to them (home.js).
   While they rise these win over the elements' own transition and hover movement; home.js
   removes them once the element is in place. */
.reveal    { opacity:0 !important; transform:translateY(20px) !important; transition:opacity 0.6s ease, transform 0.6s ease !important; }
.reveal.in { opacity:1 !important; transform:translateY(0) !important; }
@media (pointer: coarse) {
  #nav-toggle { min-width:var(--tap); min-height:var(--tap); }
  #mobile-nav > a { min-height:var(--tap); display:flex; align-items:center; }
}
@media (pointer: coarse) {
  .footer-col a { display:flex; align-items:center; min-height:var(--tap); }
  .safety-link { display:inline-flex; align-items:center; min-height:var(--tap); }
}
