/* ═══════════════════════════════════════════
   CLUB BRUGGE KV — Stylesheet
   Aesthetic: Dark luxury editorial football
═══════════════════════════════════════════ */

:root {
  --black:   #05080d;
  --dark:    #080c14;
  --navy:    #0a1628;
  --blue:    #1a6bff;
  --blue-hi: #4d8fff;
  --blue-lo: #0d3d99;
  --gold:    #c9a84c;
  --white:   #f0f4ff;
  --grey:    #8090a8;
  --border:  rgba(26,107,255,.2);
  --cond:    'Barlow Condensed', sans-serif;
  --body:    'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5,8,13,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
#nav.scrolled { background: rgba(5,8,13,.97); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 2rem; height: 64px; gap: 2rem;
}

.nav-logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--white);
  font-family: var(--cond); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .08em;
  white-space: nowrap;
}
.nav-logo em { color: var(--blue); font-style: normal; }

.nav-links {
  display: flex; list-style: none; gap: .2rem; margin-left: auto;
}
.nav-links a {
  display: block; padding: .4rem .9rem;
  color: var(--grey); text-decoration: none;
  font-family: var(--cond); font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }

.nav-tickets {
  padding: .45rem 1.2rem;
  background: var(--blue); color: #fff;
  text-decoration: none; border-radius: 2px;
  font-family: var(--cond); font-weight: 700;
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  transition: background .15s; white-space: nowrap;
}
.nav-tickets:hover { background: var(--blue-hi); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all .2s;
}
.nav-mobile {
  display: none; flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
}
.nav-mobile a {
  padding: .6rem 0; color: var(--grey);
  text-decoration: none; font-family: var(--cond);
  font-size: 1.1rem; letter-spacing: .08em;
  text-transform: uppercase; border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.nav-mobile a:hover, .nav-mobile a:last-child { color: var(--white); border: none; }
.mob-tickets { color: var(--blue) !important; font-weight: 700; }

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 64px;
}

.hero-bg { position: absolute; inset: 0; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26,107,255,.18) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: .7; }
}

.hero-stadium {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--black) 35%, transparent 65%),
    linear-gradient(to top, var(--black) 0%, transparent 40%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 2rem 8rem;
  width: 100%;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--cond); font-size: .85rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

.hero-title {
  display: flex; flex-direction: column;
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: .9; letter-spacing: -.01em;
  margin-bottom: 1.8rem;
}
.ht-line { color: var(--white); }
.ht-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(30px);
  animation: revealUp .7s cubic-bezier(.16,1,.3,1) var(--d, 0s) forwards;
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.05rem; color: var(--grey);
  max-width: 440px; line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block; padding: .75rem 2rem;
  background: var(--blue); color: #fff;
  text-decoration: none; border-radius: 2px;
  font-family: var(--cond); font-weight: 700;
  font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  transition: all .2s; border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hi); border-color: var(--blue-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,107,255,.4);
}

.btn-ghost {
  display: inline-block; padding: .75rem 2rem;
  background: transparent; color: var(--white);
  text-decoration: none; border-radius: 2px;
  font-family: var(--cond); font-weight: 700;
  font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.2);
  transition: all .2s;
}
.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Score ticker */
.hero-score-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--blue); padding: .55rem 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex; gap: 2rem; white-space: nowrap;
  font-family: var(--cond); font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  animation: ticker 20s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sep { opacity: .4; }

/* ── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  padding: 0 2rem;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 2.5rem 3.5rem;
}
.stat-num {
  font-family: var(--cond); font-weight: 900;
  font-size: 2.6rem; color: var(--blue);
  line-height: 1;
}
.stat-lbl {
  font-size: .75rem; color: var(--grey);
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: .25rem;
}
.stat-divider {
  width: 1px; height: 50px;
  background: var(--border); flex-shrink: 0;
}

/* ── NEXT MATCH ─────────────────────────────── */
.next-match { padding: 6rem 0; background: var(--dark); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-label {
  font-family: var(--cond); font-size: .8rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .6rem;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--blue);
}

.match-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px; background: var(--navy);
  padding: 3rem; display: flex;
  flex-direction: column; align-items: center; gap: 1.5rem;
}
.match-bg-stripe {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: linear-gradient(to bottom, rgba(26,107,255,.08), transparent);
  pointer-events: none;
}

.match-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-family: var(--cond); font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey);
}
.match-comp { color: var(--gold); }

.match-teams {
  display: flex; align-items: center; gap: 3rem; width: 100%;
  max-width: 600px; justify-content: center; flex-wrap: wrap;
}
.team {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-family: var(--cond); font-weight: 700;
  font-size: 1.2rem; letter-spacing: .06em;
  text-transform: uppercase;
}
.team-badge {
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 900; font-size: 1.1rem;
  letter-spacing: .06em;
}
.home-badge { background: var(--blue); color: #fff; }
.away-badge { background: #1a2438; color: var(--grey); border: 2px solid var(--border); }

.match-vs {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--cond); font-weight: 900;
  font-size: 1.5rem; color: var(--grey);
}
.match-divider-line {
  width: 60px; height: 1px; background: var(--border);
}

.match-venue {
  font-size: .8rem; color: var(--grey);
  letter-spacing: .06em;
}
.match-btn { margin-top: .5rem; }

/* ── NEWS ───────────────────────────────────── */
.news-section { padding: 6rem 0; background: var(--black); }

.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 2rem;
}
.see-all {
  font-family: var(--cond); font-size: .85rem;
  letter-spacing: .1em; color: var(--blue);
  text-decoration: none; text-transform: uppercase;
  transition: color .15s;
}
.see-all:hover { color: var(--blue-hi); }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.news-card {
  background: var(--navy); overflow: hidden;
  transition: background .2s;
}
.news-card:hover { background: #0e1a30; }
.news-featured {
  grid-column: 1; grid-row: 1 / 3;
}

.news-img {
  height: 220px; position: relative;
  background: var(--dark);
  overflow: hidden;
}
.news-featured .news-img { height: 320px; }

/* Gradient placeholders with blue tones */
.ni-1 { background: linear-gradient(135deg, #0a1a3a 0%, #1a4a99 50%, #0d2860 100%); }
.ni-2 { background: linear-gradient(135deg, #0d1f3c 0%, #0f3070 100%); }
.ni-3 { background: linear-gradient(135deg, #081828 0%, #1a3d7a 100%); }
.ni-4 { background: linear-gradient(135deg, #0a1520 0%, #0f2d5c 100%); }

/* Diagonal stripe overlay */
.news-img::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent, transparent 20px,
    rgba(26,107,255,.04) 20px, rgba(26,107,255,.04) 21px
  );
}

.news-cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  font-family: var(--cond); font-size: .72rem;
  letter-spacing: .15em; text-transform: uppercase;
  background: var(--blue); color: #fff;
  padding: .2rem .7rem; border-radius: 2px;
}

.news-body { padding: 1.2rem 1.4rem 1.6rem; }
.news-date {
  font-size: .72rem; color: var(--grey);
  letter-spacing: .08em; text-transform: uppercase;
  display: block; margin-bottom: .5rem;
}
.news-body h3 {
  font-family: var(--cond); font-weight: 700;
  font-size: 1.15rem; line-height: 1.3;
  color: var(--white); margin-bottom: .5rem;
}
.news-body p {
  font-size: .82rem; color: var(--grey);
  line-height: 1.6; margin-bottom: .8rem;
}
.news-read {
  font-family: var(--cond); font-size: .8rem;
  letter-spacing: .08em; color: var(--blue);
  text-decoration: none; text-transform: uppercase;
  transition: color .15s;
}
.news-read:hover { color: var(--blue-hi); }

/* ── SQUAD ──────────────────────────────────── */
.squad-section { padding: 6rem 0; background: var(--dark); }

.section-title {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1; margin-bottom: 2.5rem;
  color: var(--white);
}
.section-title em { color: var(--blue); font-style: normal; }

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden;
}
.player-card {
  background: var(--navy);
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  position: relative; overflow: hidden;
  transition: background .2s, transform .2s;
  cursor: default;
}
.player-card:hover { background: #0e1a30; }
.player-card:hover .player-bar { width: 100%; opacity: .08; }

.player-number {
  font-family: var(--cond); font-weight: 900;
  font-size: 2.2rem; color: var(--blue-lo);
  min-width: 2.5rem; line-height: 1;
  transition: color .2s;
}
.player-card:hover .player-number { color: var(--blue); }

.player-info {
  display: flex; flex-direction: column; gap: .15rem; flex: 1;
}
.player-pos {
  font-size: .7rem; color: var(--grey);
  text-transform: uppercase; letter-spacing: .1em;
}
.player-name {
  font-family: var(--cond); font-weight: 700;
  font-size: 1.1rem; color: var(--white); letter-spacing: .03em;
}
.player-nat { font-size: .78rem; color: var(--grey); }

.player-bar {
  position: absolute; bottom: 0; left: 0;
  height: 100%; width: 0; background: var(--blue);
  opacity: 0; transition: width .4s, opacity .4s;
  pointer-events: none;
}

.squad-cta { margin-top: 2rem; text-align: center; }

/* ── CLUB BANNER ────────────────────────────── */
.club-banner {
  padding: 7rem 0;
  background: var(--navy);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.banner-glow {
  position: absolute; top: -200px; left: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26,107,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.banner-content {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  position: relative; z-index: 1;
}
.banner-tag {
  font-family: var(--cond); font-size: .8rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.banner-content h2 {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .95; color: var(--white);
  margin-bottom: 1.5rem;
}
.banner-content h2 em { color: var(--blue); font-style: normal; }
.banner-content p {
  font-size: 1rem; color: var(--grey);
  max-width: 420px; line-height: 1.7;
  margin-bottom: 2rem;
}
.banner-stats {
  max-width: 1200px; margin: 4rem auto 0;
  padding: 0 2rem;
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.bs-item { display: flex; flex-direction: column; gap: .2rem; }
.bs-num {
  font-family: var(--cond); font-weight: 900;
  font-size: 2.4rem; color: var(--blue); line-height: 1;
}
.bs-lbl { font-size: .75rem; color: var(--grey); letter-spacing: .08em; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: #030508;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 3rem;
  display: flex; gap: 4rem; flex-wrap: wrap;
  align-items: flex-start;
}
.footer-logo {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--cond);
}
.footer-logo strong {
  display: block; font-size: 1rem;
  letter-spacing: .06em; color: var(--white);
}
.footer-logo span { font-size: .72rem; color: var(--grey); }

.footer-links {
  display: flex; gap: 3rem; flex-wrap: wrap; flex: 1;
}
.fl-col { display: flex; flex-direction: column; gap: .6rem; }
.fl-col strong {
  font-family: var(--cond); font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--white); margin-bottom: .3rem;
}
.fl-col a {
  font-size: .82rem; color: var(--grey);
  text-decoration: none; transition: color .15s;
}
.fl-col a:hover { color: var(--blue); }

.footer-social {
  display: flex; gap: .8rem; align-items: flex-start;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 2px;
  color: var(--grey); text-decoration: none;
  transition: all .15s;
}
.footer-social a:hover {
  border-color: var(--blue); color: var(--blue);
  background: rgba(26,107,255,.08);
}

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 1.2rem 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  font-size: .73rem; color: var(--grey);
  letter-spacing: .05em;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-featured { grid-column: 1 / 3; grid-row: 1; }
}

@media (max-width: 700px) {
  .nav-links, .nav-tickets { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-mobile.open { display: flex; }

  .hero-title { font-size: clamp(4rem, 18vw, 7rem); }
  .stats-inner { gap: 0; }
  .stat-item { padding: 1.8rem 1.5rem; }
  .stat-divider { display: none; }

  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-column: 1; grid-row: auto; }

  .match-teams { gap: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
