/* ---- Bounce Striker site ---- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap');

:root {
  --pitch: #17a34a;
  --pitch-deep: #0c7a37;
  --pitch-ink: #063d1e;
  --neon: #12c2e9;
  --neon-deep: #0a93b5;
  --gold: #ffc531;
  --gold-deep: #d99400;
  --ink: #10241a;
  --ink-soft: #4d6a5a;
  --bg: #ffffff;
  --bg-soft: #f2fbf5;
  --border: #dcefe3;
  --shadow: 0 10px 34px rgba(6, 61, 30, 0.10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.62;
  background: var(--bg);
}

.display {
  font-family: "Fredoka", -apple-system, system-ui, sans-serif;
  letter-spacing: 0.2px;
}

a { color: var(--neon-deep); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 76px 22px 60px;
  overflow: hidden;
  color: #eafff2;
  background:
    radial-gradient(1000px 460px at 50% -140px, rgba(18,194,233,0.28), rgba(18,194,233,0) 70%),
    linear-gradient(180deg, #0c7a37 0%, #15933f 52%, #17a34a 100%);
}
/* Pitch markings */
.pitch-line {
  position: absolute; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,0.16); z-index: 1;
}
.pitch-line.mid { top: 50%; }
.pitch-circle {
  position: absolute; top: 50%; left: 50%;
  width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border: 3px solid rgba(255,255,255,0.14); border-radius: 50%; z-index: 1;
}
.pitch-stripes {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 60px, rgba(0,0,0,0.03) 60px 120px);
}

h1.title {
  font-size: 46px;
  font-weight: 700;
  margin: 20px 0 8px;
  position: relative; z-index: 2;
  color: #ffffff;
  text-shadow: 0 3px 0 rgba(10,147,181,0.55), 0 10px 24px rgba(0,0,0,0.28);
}
.pitch {
  font-size: 19px;
  color: #d5f6e2;
  max-width: 560px;
  margin: 0 auto 26px;
  position: relative; z-index: 2;
}
.pitch em { color: #fff; font-style: normal; font-weight: 700; }

.soon { display:block; margin-top: 14px; font-size: 13px; color: #bfeecf; position: relative; z-index:2; }

/* Hero interactive icon — 3D tilt + bounce + GOAL bubble */
.hero-icon-scene { perspective: 800px; display: flex; justify-content: center; position: relative; z-index: 2; margin-bottom: 4px; }
.hero-icon { position: relative; width: 132px; height: 132px; cursor: pointer; transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.23,1,.32,1); will-change: transform; }
.hero-icon img { width: 132px; height: 132px; border-radius: 29px; display: block;
  box-shadow: 0 16px 40px rgba(0,0,0,.34); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.hero-icon:hover img { animation: heroBounce .62s ease-in-out infinite; }
@keyframes heroBounce { 0%,100%{transform:translateY(0) rotate(0)} 30%{transform:translateY(-14px) rotate(-4deg)} 60%{transform:translateY(-4px) rotate(3deg)} }
.hero-bubble { position: absolute; top: -10px; right: -40px; background: var(--gold); color: #5a3d00;
  font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 15px; padding: 6px 13px;
  border-radius: 13px 13px 13px 3px; box-shadow: 0 6px 14px rgba(0,0,0,.24);
  opacity: 0; transform: translateZ(40px) scale(.4); pointer-events: none;
  transition: opacity .25s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.hero-icon:hover .hero-bubble { opacity: 1; transform: translateZ(40px) scale(1); }

/* Chunky push button — pressable game-style */
.btn-chunky { display: inline-block; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 18px;
  cursor: pointer; border: 0; text-decoration: none; background: var(--gold); color: #5a3d00;
  padding: 15px 30px; border-radius: 16px; box-shadow: 0 6px 0 var(--gold-deep);
  transition: transform .08s ease, box-shadow .08s ease; }
.btn-chunky:hover { transform: translateY(-1px); box-shadow: 0 7px 0 var(--gold-deep); }
.btn-chunky:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--gold-deep); }
.btn-chunky.big { font-size: 21px; padding: 18px 46px; border-radius: 18px; box-shadow: 0 8px 0 var(--gold-deep); }
.btn-chunky.big:hover { transform: translateY(-1px); box-shadow: 0 9px 0 var(--gold-deep); }
.btn-chunky.big:active { transform: translateY(6px); box-shadow: 0 2px 0 var(--gold-deep); }
.hero-cta { position: relative; z-index: 2; margin-top: 8px; }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2.section {
  font-size: 27px; font-weight: 700; text-align: center; margin: 0 0 8px; color: var(--pitch-ink);
}
.sub { text-align: center; color: var(--ink-soft); margin: 0 auto 34px; max-width: 560px; }

/* Showcase — landscape device frame */
.showcase { display: flex; justify-content: center; }
.device-land {
  width: min(760px, 100%);
  border-radius: 30px;
  background: #101512;
  padding: 12px;
  box-shadow: 0 26px 60px rgba(6, 61, 30, 0.28);
}
.device-land img { width: 100%; display: block; border-radius: 20px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow);
}
.feature .ico { font-size: 34px; line-height: 1; }
.feature h3 { font-size: 17px; margin: 12px 0 6px; color: var(--pitch-ink); }
.feature p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* Modes strip */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px;
  background: var(--bg); box-shadow: var(--shadow); text-align: left;
}
.mode .tag {
  display: inline-block; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .6px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  margin-bottom: 12px; color: #fff;
}
.mode.classic .tag { background: var(--neon-deep); }
.mode.cup .tag { background: var(--gold-deep); }
.mode.mp .tag { background: var(--pitch-deep); }
.mode h3 { margin: 0 0 6px; font-size: 18px; color: var(--pitch-ink); }
.mode p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* Support / FAQ */
.faq { max-width: 660px; margin: 0 auto; }
details {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 4px 18px; margin: 12px 0; box-shadow: 0 4px 14px rgba(6,61,30,0.05);
}
details[open] { box-shadow: var(--shadow); }
summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--pitch); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }

.contact-cta { text-align: center; margin-top: 30px; }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 24px; }
.legal h1 { font-size: 30px; margin: 0 0 4px; color: var(--pitch-ink); }
.legal .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.legal h3 { font-size: 17px; margin: 26px 0 6px; color: var(--pitch-ink); }
.legal p, .legal li { color: #2c4a3a; }
.legal .card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 28px 24px; box-shadow: var(--shadow);
}
.back { font-size: 14px; display: inline-block; margin: 24px 0 0; }

/* ---------- Footer ---------- */
footer.site {
  text-align: center; padding: 40px 22px; color: var(--ink-soft); font-size: 14px;
  border-top: 1px solid var(--border); background: var(--bg-soft);
}
footer.site nav a { margin: 0 10px; color: var(--neon-deep); text-decoration: none; font-weight: 600; }
footer.site nav a:hover { text-decoration: underline; }
footer.site .copy { margin-top: 12px; opacity: .8; }

/* ---------- Language switch ---------- */
html[data-lang="en"] .lang-de { display: none !important; }
html[data-lang="de"] .lang-en { display: none !important; }

.lang-toggle {
  position: fixed; top: 12px; right: 12px; z-index: 60;
  display: inline-flex; gap: 2px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px;
  box-shadow: var(--shadow);
}
.lang-toggle button {
  font-family: inherit; font-weight: 700; font-size: 12.5px; letter-spacing: .3px;
  cursor: pointer; border: 0; background: transparent; color: var(--ink-soft);
  padding: 5px 12px; border-radius: 999px; line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.lang-toggle button.active { background: var(--pitch); color: #fff; }

/* longer legal content */
.legal h2 { font-size: 21px; margin: 28px 0 8px; color: var(--pitch-ink); }
.legal .card ul { margin: 6px 0 16px; padding-left: 20px; }
.legal .card li { margin: 5px 0; color: #2c4a3a; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  h1.title { font-size: 37px; }
  .features, .modes { grid-template-columns: 1fr; }
  section.block { padding: 44px 0; }
  .hero { padding: 60px 22px 48px; }
  .lang-toggle { top: 10px; right: 10px; }
}
