/* Tsapou site chrome — shared across all pages */
:root {
  --bg: #070B14;
  --ink: #F7F4EE;
  --muted: #B7B1A4;
  --line: rgba(247, 244, 238, 0.12);
  --gold: #E8C36A;
  --gold-deep: #C9A24A;
  --teal: #3ECFBE;
  --ok: #3ECFBE;
  --bad: #F07178;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-narrow { width: min(920px, calc(100% - 40px)); margin: 0 auto; }

/* Full-bleed AI multi-sport atmosphere (3-image crossfade loop) */
.stage {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #070B14;
}
.stage-slideshow {
  position: absolute;
  inset: -4%;
  transform: scale(1.04);
  animation: stageDrift 28s ease-in-out infinite alternate;
  filter: saturate(0.95) contrast(1.05);
}
.stage-slideshow span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: stageCrossfade 27s infinite;
}
.stage-slideshow .s1 {
  background-image: url("../images/hero-multisport.jpg");
  animation-delay: 0s;
}
.stage-slideshow .s2 {
  background-image: url("../images/hero-multisport-2.jpg");
  animation-delay: 9s;
}
.stage-slideshow .s3 {
  background-image: url("../images/hero-multisport-3.jpg");
  animation-delay: 18s;
}
/* legacy single-photo markup still works */
.stage-photo {
  position: absolute;
  inset: -4%;
  background: url("../images/hero-multisport.jpg") center/cover no-repeat;
  transform: scale(1.04);
  animation: stageDrift 22s ease-in-out infinite alternate;
  filter: saturate(0.95) contrast(1.05);
}
.stage-mosaic { display: none; }
.stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,20,0.42) 0%, rgba(7,11,20,0.78) 48%, #070B14 100%),
    radial-gradient(1000px 520px at 20% -10%, rgba(232,195,106,0.16), transparent 55%),
    radial-gradient(900px 480px at 85% 15%, rgba(62,207,190,0.12), transparent 50%),
    linear-gradient(90deg, rgba(7,11,20,0.5), transparent 28%, transparent 72%, rgba(7,11,20,0.5));
}
@keyframes stageCrossfade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  30% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}
.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.beam {
  position: fixed;
  top: -20%;
  left: 42%;
  width: 26vw;
  height: 140vh;
  z-index: -1;
  background: linear-gradient(180deg, rgba(232,195,106,0.12), transparent 70%);
  transform: rotate(18deg);
  filter: blur(18px);
  animation: beamPulse 7s ease-in-out infinite;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(232,195,106,0.35), 0 10px 30px rgba(0,0,0,0.35);
}
.brand span {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a.active { color: var(--gold); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(247,244,238,0.05);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: rgba(7,11,20,0.88);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.site-footer h3 {
  color: var(--gold);
  font-size: 0.92rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer p,
.site-footer a { color: var(--muted); font-size: 0.94rem; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: 0.2s ease;
}
.socials a:hover {
  background: var(--gold);
  color: #1A1408;
  border-color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Shared UI bits */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1A1408;
  box-shadow: 0 14px 40px rgba(232,195,106,0.22);
}
.btn-ghost {
  border-color: var(--line);
  background: rgba(247,244,238,0.05);
  color: var(--ink);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 32px);
  background: rgba(247,244,238,0.03);
}
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(62,207,190,0.35);
  background: rgba(62,207,190,0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero {
  padding: clamp(56px, 10vw, 96px) 0 28px;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.page-hero .lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 48ch;
}
.legal-body {
  padding: 0 0 80px;
}
.legal-body .panel + .panel { margin-top: 16px; }
.legal-body h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.legal-body h3 {
  font-size: 1.05rem;
  margin: 16px 0 8px;
  color: var(--gold);
}
.legal-body p,
.legal-body li { color: var(--muted); margin-bottom: 10px; }
.legal-body ul { padding-left: 1.2rem; margin-bottom: 12px; }

@keyframes stageDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.2%); }
}
@keyframes beamPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(7,11,20,0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .site-header .nav { position: relative; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap, .wrap-narrow { width: calc(100% - 28px); }
  .footer-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 1.2rem; }
}
