/* ═══════════════════════════════════════════════════════════════════════════
   ONEflow Sports · Shared Premium Design Layer
   Included by all pages — do not modify inline per-page styles here.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── LANGUAGE VISIBILITY ────────────────────────────────────────────────── */
html[lang="en"] .de { display:none !important; }
html[lang="de"] .en { display:none !important; }

/* ─── EXTRA TOKENS (augment per-page :root) ──────────────────────────────── */
:root {
  --lime-10:  rgba(200,224,55,0.10);
  --lime-20:  rgba(200,224,55,0.20);
  --lime-glow:0 0 40px rgba(200,224,55,0.22), 0 0 80px rgba(200,224,55,0.08);
  --dark-deep:#080f18;
  --glass:    rgba(255,255,255,0.04);
  --glass-b:  rgba(255,255,255,0.07);
  --ease2:    cubic-bezier(0.22, 1, 0.36, 1);
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --r:        4px;
}

/* ─── GLOBAL LINK RESET ───────────────────────────────────────────────────── */
a:visited { color:inherit; }

/* ─── LANGUAGE SHOW/HIDE ──────────────────────────────────────────────────── */
html[lang="en"] .de { display:none !important; }
html[lang="de"] .en { display:none !important; }

/* ─── PAGE REVEAL ─────────────────────────────────────────────────────────── */
#page-reveal {
  position:fixed; inset:0; z-index:10001;
  background:var(--dark-deep,#080f18);
  animation:sharedRevealUp 1.05s cubic-bezier(0.76,0,0.24,1) 0.1s forwards;
  pointer-events:none;
}
#page-reveal::after {
  content:''; position:absolute; inset:0;
  background:#C8E037;
  transform:scaleX(0); transform-origin:left;
  animation:sharedLimeSlash 0.9s cubic-bezier(0.16,1,0.3,1) 0s forwards;
}
@keyframes sharedRevealUp  { 0%{transform:translateY(0)} 100%{transform:translateY(-100%)} }
@keyframes sharedLimeSlash {
  0%  { transform:scaleX(0); transform-origin:left  }
  50% { transform:scaleX(1); transform-origin:left  }
  100%{ transform:scaleX(0); transform-origin:right }
}

/* ─── GRAIN OVERLAY ───────────────────────────────────────────────────────── */
.grain {
  position:fixed; inset:-3%; z-index:9000; pointer-events:none; opacity:.038;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:220px 220px;
  animation:sharedGrain .7s steps(3) infinite;
}
@keyframes sharedGrain {
  0%,100%{transform:translate(0,0)}
  20%{transform:translate(-1%,-2%)}
  40%{transform:translate(2%,1%)}
  60%{transform:translate(-2%,2%)}
  80%{transform:translate(1%,-1%)}
}

/* ─── SCROLL PROGRESS ─────────────────────────────────────────────────────── */
#progress-bar {
  position:fixed; top:0; left:0; right:0; height:2px;
  background:#C8E037; z-index:2001;
  transform-origin:left; transform:scaleX(0);
  box-shadow:0 0 10px rgba(200,224,55,.55);
  transition:transform .08s linear;
}

/* ─── CUSTOM CURSOR ───────────────────────────────────────────────────────── */
.c-cursor            { position:fixed; top:0; left:0; pointer-events:none; z-index:9500; }
.c-cursor__dot       {
  position:fixed; top:0; left:0; width:7px; height:7px;
  background:#C8E037; border-radius:50%;
  transform:translate(-50%,-50%);
  transition:width .2s cubic-bezier(0.16,1,0.3,1),
             height .2s cubic-bezier(0.16,1,0.3,1), background .2s;
  will-change:top,left;
}
.c-cursor__ring      {
  position:fixed; top:0; left:0; width:36px; height:36px;
  border:1.5px solid rgba(200,224,55,.4); border-radius:50%;
  transform:translate(-50%,-50%);
  transition:width .4s cubic-bezier(0.16,1,0.3,1),
             height .4s cubic-bezier(0.16,1,0.3,1),
             border-color .3s, background .3s, opacity .3s;
  will-change:top,left;
}
.c-cursor.hover .c-cursor__ring { width:56px; height:56px; border-color:#C8E037; background:rgba(200,224,55,.05); }
.c-cursor.hover .c-cursor__dot  { width:5px; height:5px; }
.c-cursor.click .c-cursor__ring { width:24px; height:24px; }
.c-cursor.click .c-cursor__dot  { background:#fff; }
@media (hover:none),(max-width:768px){ .c-cursor { display:none; } }

/* ─── BODY CURSOR OVERRIDE ────────────────────────────────────────────────── */
@media (hover:hover) and (min-width:769px) {
  body, button, a, [role="button"] { cursor:none !important; }
}

/* ─── GLASSMORPHISM NAV OVERRIDE ──────────────────────────────────────────── */
#nav-panel {
  background:rgba(8,15,24,0.93) !important;
  backdrop-filter:blur(40px) !important;
  -webkit-backdrop-filter:blur(40px) !important;
  border-left:1px solid rgba(255,255,255,.07) !important;
  transition:transform .65s cubic-bezier(0.16,1,0.3,1) !important;
}
#nav-panel a {
  transition:color .3s, transform .4s cubic-bezier(0.16,1,0.3,1) !important;
  position:relative;
}
#nav-panel a::after {
  content:''; position:absolute; bottom:.1em; left:0;
  height:2px; width:0; background:#C8E037;
  transition:width .35s cubic-bezier(0.16,1,0.3,1);
}
#nav-panel a:hover { transform:translateX(10px) !important; }
#nav-panel a:hover::after { width:36px; }

/* ─── GLASSMORPHISM WA POPUP ──────────────────────────────────────────────── */
#wa-popup {
  background:rgba(8,15,24,0.96) !important;
  backdrop-filter:blur(24px) !important;
  -webkit-backdrop-filter:blur(24px) !important;
  border-radius:16px !important; border-color:rgba(255,255,255,.1) !important;
  box-shadow:0 24px 64px rgba(0,0,0,.45) !important;
  padding:14px 14px 10px !important;
  gap:0 !important;
  min-width:260px !important;
}
/* Card per person */
.wa-card { padding:10px 0 12px; }
.wa-card + .wa-card { border-top:1px solid rgba(255,255,255,0.08); padding-top:12px; }
.wa-card-name {
  font-size:0.9rem; font-weight:700; color:#fff; letter-spacing:-0.01em;
  padding:0 8px; margin-bottom:2px;
}
.wa-card-role {
  font-size:0.68rem; color:var(--lime,#C8E037); letter-spacing:0.06em;
  text-transform:uppercase; padding:0 8px; margin-bottom:6px;
}
#wa-popup .wa-card a {
  display:flex; align-items:center; gap:8px;
  color:rgba(255,255,255,0.8); text-decoration:none;
  font-size:0.82rem; padding:6px 8px; border-radius:8px;
  border:1px solid transparent; transition:background .2s, border-color .2s;
}
#wa-popup .wa-card a:hover {
  background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.09);
  color:#fff;
}
#wa-popup .wa-card a svg { flex-shrink:0; }
/* Legacy single-link style kept for fallback */
#wa-popup > a { border:1px solid transparent; border-radius:10px !important; }
#wa-popup > a:hover { border-color:rgba(255,255,255,.09) !important; }

/* ─── WA BUTTON PULSE ─────────────────────────────────────────────────────── */
#wa-btn { position:relative; }
#wa-btn::before {
  content:''; position:absolute; inset:-6px; border-radius:50%;
  background:rgba(37,211,102,.18);
  animation:sharedWaPulse 2.5s ease-in-out infinite;
}
#wa-btn svg { position:relative; z-index:1; }
@keyframes sharedWaPulse { 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.35);opacity:0} }

/* ─── HAMBURGER LIME HOVER ────────────────────────────────────────────────── */
#menu-btn:hover span { background:#C8E037 !important; }

/* ─── FOOTER LIME ACCENT ──────────────────────────────────────────────────── */
footer { position:relative; }
footer::after {
  content:''; position:absolute; top:0;
  left:0; right:0;
  height:2px;
  background:linear-gradient(to right, #C8E037 0%, rgba(200,224,55,.3) 40%, transparent 100%);
  pointer-events:none;
}

/* ─── TEASER BTN FILL EFFECT ──────────────────────────────────────────────── */
.teaser-btn-fill {
  display:inline-flex; align-items:center; gap:14px;
  font-size:.72rem; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color:#C8E037; text-decoration:none;
  padding:14px 26px;
  border:1px solid rgba(200,224,55,.28); border-radius:4px;
  position:relative; overflow:hidden;
  transition:color .32s, gap .4s cubic-bezier(0.16,1,0.3,1), border-color .32s;
}
.teaser-btn-fill::before {
  content:''; position:absolute; inset:0;
  background:#C8E037; transform:translateX(-101%);
  transition:transform .42s cubic-bezier(0.16,1,0.3,1);
}
.teaser-btn-fill span { position:relative; z-index:1; }
.teaser-btn-fill:hover { color:#0D1B2A; border-color:#C8E037; gap:22px; }
.teaser-btn-fill:hover::before { transform:translateX(0); }

/* ─── SECTION LABEL LINE ──────────────────────────────────────────────────── */
.section-label-line {
  display:flex; align-items:center; gap:12px;
}
.section-label-line::before {
  content:''; width:28px; height:1px; background:#C8E037; flex-shrink:0;
}

/* ─── SOCIAL ICON LIFT ────────────────────────────────────────────────────── */
.footer-social-btn {
  transition:border-color .25s, color .25s, background .25s,
             transform .35s cubic-bezier(0.16,1,0.3,1) !important;
}
.footer-social-btn:hover { transform:translateY(-3px) !important; }

/* ─── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  #page-reveal { display:none !important; }
  .grain       { animation:none !important; }
}

/* ─── TEXT SELECTION ──────────────────────────────────────────────────────── */
::selection { background:rgba(200,224,55,.25); color:inherit; }

/* ─── PRICE CARD HIGHLIGHTED GLOW ────────────────────────────────────────── */
.price-card.best,
.price-card.featured {
  box-shadow:0 0 0 1.5px rgba(200,224,55,.45), 0 16px 48px rgba(200,224,55,.09) !important;
}
.price-card.best:hover,
.price-card.featured:hover {
  box-shadow:0 0 0 2px rgba(200,224,55,.7), 0 24px 64px rgba(200,224,55,.16) !important;
  transform:translateY(-6px) !important;
}

/* ─── MOBILE GLOBAL TWEAKS ────────────────────────────────────────────────── */
@media (max-width:600px) {
  /* Section labels: tighter letter-spacing so long labels don't wrap */
  .section-label {
    letter-spacing:.18em !important;
    font-size:.6rem !important;
  }
  /* Footer bottom row stacks on very small screens */
  .footer-bottom {
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:12px !important;
  }
  /* Footer main: single column on very small screens */
  .footer-main {
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  /* Pricing inner padding */
  .pricing-inner {
    padding:48px 20px !important;
  }
}

/* ─── LANGUAGE TOGGLE ─────────────────────────────────────────────────────── */
.nav-lang { display:none; } /* DE temporarily disabled */
.lang-btn {
  background:none; border:none; padding:0;
  font-family:var(--font-body); font-size:.72rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase;
  color:rgba(255,255,255,.28); cursor:pointer;
  transition:color .25s;
}
.lang-btn.active { color:#C8E037; }
.lang-btn:hover  { color:rgba(255,255,255,.72); }
.lang-sep { color:rgba(255,255,255,.15); font-size:.65rem; }
