/* ─────────────────────────────────────────────
   BDE SHOT — CODE COULEUR BY LKS
   Colors: #000 / #0a0a0a / #111  (background)
           #C9A227 / #FFD700 / #B8860B  (gold)
           #1a1a1a / #222  (cards)
───────────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #C9A227;
  --gold-light:  #FFD700;
  --gold-dark:   #8B6914;
  --gold-glow:   rgba(201,162,39,.35);
  --bg:          #000;
  --bg2:         #0a0a0a;
  --bg3:         #111;
  --card:        #111114;
  --card2:       #18181c;
  --border:      rgba(201,162,39,.18);
  --text:        #e8e8e8;
  --text-dim:    #888;
  --font-title:  'Orbitron', sans-serif;
  --font-mono:   'Share Tech Mono', monospace;
  --font-body:   'Rajdhani', sans-serif;
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

.gold { color: var(--gold-light); }
strong.gold { font-weight: 700; }

/* ── Mobile nav overlay ── */
#mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 58px;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
#mobile-nav-overlay.open {
  display: flex;
}
#mobile-nav-overlay .nav-link {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: .18em;
  color: #fff;
  text-transform: uppercase;
  transition: color .25s;
}
#mobile-nav-overlay .nav-link:hover,
#mobile-nav-overlay .nav-link.active {
  color: var(--gold-light);
}

/* ── Noise overlay ── */
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ── Canvases ── */
#matrix-canvas, #particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#matrix-canvas { z-index: 0; opacity: .18; }
#particle-canvas { z-index: 1; opacity: .55; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .9rem 3rem;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background .4s, padding .4s;
}

#navbar.scrolled {
  padding: .6rem 3rem;
  background: rgba(0,0,0,.92);
}

.nav-brand { flex-shrink: 0; }

.nav-logo-text {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  transition: color .25s;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active { color: var(--gold-light); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #4ade80; }
  50% { opacity: .5; box-shadow: 0 0 14px #4ade80; }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 8rem;
  overflow: hidden;
  z-index: 2;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Scanline */
.hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(201,162,39,.012) 50%,
    transparent 100%);
  background-size: 100% 4px;
  animation: scanlines 8s linear infinite;
  pointer-events: none;
}

@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: .35rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  background: rgba(201,162,39,.06);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 4px var(--gold); }
  50% { box-shadow: 0 0 12px var(--gold-light); }
}

/* ── Glitch Title ── */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 1.5rem;
  gap: .1em;
}

.title-bde {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: .05em;
  position: relative;
  display: inline-block;
}

.title-shot {
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 18vw, 13rem);
  font-weight: 900;
  color: transparent;
  letter-spacing: .06em;
  position: relative;
  display: inline-block;
  -webkit-text-stroke: 2px var(--gold);
  text-shadow:
    0 0 40px rgba(201,162,39,.5),
    0 0 80px rgba(201,162,39,.2);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 40px rgba(201,162,39,.5), 0 0 80px rgba(201,162,39,.2); }
  50% { text-shadow: 0 0 60px rgba(255,215,0,.7), 0 0 120px rgba(201,162,39,.4), 0 0 200px rgba(201,162,39,.15); }
}

/* Glitch effect */
.title-bde::before, .title-bde::after,
.title-shot::before, .title-shot::after {
  content: attr(data-glitch);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
}

.title-bde::before { color: #ff0040; animation: glitch-1 4s infinite steps(1); clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
.title-bde::after  { color: #00f0ff; animation: glitch-2 4s infinite steps(1) .5s; clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
.title-shot::before { -webkit-text-stroke: 2px #ff0040; color: transparent; animation: glitch-1 5s infinite steps(1) 1s; clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%); }
.title-shot::after  { -webkit-text-stroke: 2px #00f0ff; color: transparent; animation: glitch-2 5s infinite steps(1) .2s; clip-path: polygon(0 65%, 100% 65%, 100% 85%, 0 85%); }

@keyframes glitch-1 {
  0%, 92%, 100% { transform: translate(0); opacity: 0; }
  93% { transform: translate(-3px, 1px); opacity: .7; }
  95% { transform: translate(3px, -1px); opacity: .7; }
  97% { transform: translate(-2px, 0); opacity: .6; }
}
@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  91% { transform: translate(4px, -2px); opacity: .6; }
  93% { transform: translate(-3px, 1px); opacity: .6; }
  96% { transform: translate(2px, 0); opacity: .5; }
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(.85rem, 2vw, 1.05rem);
  color: var(--text-dim);
  margin-bottom: 2rem;
  min-height: 1.5em;
  letter-spacing: .06em;
}

.cursor-blink {
  color: var(--gold);
  animation: blink .8s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Acronym ── */
.hero-acronym {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.acro-item {
  font-family: var(--font-title);
  font-size: clamp(.75rem, 2vw, .9rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  animation: acro-in .5s var(--ease-out) forwards;
}
.acro-item[data-delay="0"] { animation-delay: .8s; }
.acro-item[data-delay="1"] { animation-delay: 1.0s; }
.acro-item[data-delay="2"] { animation-delay: 1.2s; }
.acro-item[data-delay="3"] { animation-delay: 1.4s; }

@keyframes acro-in {
  to { opacity: 1; transform: translateY(0); }
}

.acro-letter {
  color: var(--gold-light);
  font-size: 1.3em;
  font-weight: 900;
}
.acro-word { color: var(--text); }
.acro-sep { color: var(--gold-dark); font-size: .7em; }

/* ── CTA ── */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold);
  color: #000;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: color .3s, background .3s, box-shadow .3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-110%) skewX(-15deg);
  transition: transform .4s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(110%) skewX(-15deg); }
.btn-primary:hover { box-shadow: 0 0 30px var(--gold-glow), 0 0 60px rgba(201,162,39,.2); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border: 1px solid var(--border);
  transition: border-color .3s, box-shadow .3s, color .3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(201,162,39,.15);
}

.btn-full { width: 100%; justify-content: center; }

.btn-icon { font-size: .9em; transition: transform .3s; }
.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon { transform: translateX(4px); }

/* ── Hero stats ── */
.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--border);
  background: rgba(10,10,10,.8);
  backdrop-filter: blur(10px);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 3rem;
  gap: .2rem;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 3;
  animation: float-scroll 2s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--text-dim);
  writing-mode: horizontal-tb;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes float-scroll {
  0%, 100% { opacity: .5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

@keyframes scroll-drop {
  0% { background-position: 0 -40px; }
  100% { background-position: 0 40px; }
}

/* ─────────────────────────────────────────────
   SECTIONS COMMON
───────────────────────────────────────────── */
section {
  position: relative;
  z-index: 2;
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.1;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
#about { background: none; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.05rem;
}
.about-text p:last-of-type { margin-bottom: 1.5rem; }

.about-lead {
  font-size: 1.15rem !important;
  color: #ccc !important;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  border: 1px solid var(--border);
  padding: .25rem .75rem;
  color: var(--gold);
  background: rgba(201,162,39,.05);
  transition: background .25s, border-color .25s;
}
.tag:hover {
  background: rgba(201,162,39,.12);
  border-color: var(--gold);
}

/* ── Terminal ── */
.about-terminal {
  border: 1px solid var(--border);
  background: #0d0d0f;
  box-shadow: 0 0 60px rgba(201,162,39,.07), inset 0 0 30px rgba(0,0,0,.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  background: #1a1a1e;
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.t-dot.red    { background: #ff5f57; }
.t-dot.orange { background: #ffbd2e; }
.t-dot.green  { background: #28c940; }

.t-title {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-dim);
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 1.2rem 1.4rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.8;
  min-height: 280px;
  color: #ccc;
}

.t-line { display: block; }
.t-line.cmd { color: var(--gold-light); }
.t-line.out { color: #8a9;  padding-left: 1rem; }
.t-line.err { color: #f87171; padding-left: 1rem; }
.t-line.dim { color: var(--text-dim); padding-left: 1rem; }
.t-line.head { color: var(--gold); font-weight: bold; }

/* ─────────────────────────────────────────────
   VALUES
───────────────────────────────────────────── */
#values {
  background: linear-gradient(180deg, transparent 0%, rgba(201,162,39,.03) 50%, transparent 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem 1.5rem;
  transition: border-color .35s, transform .35s var(--ease-spring), box-shadow .35s;
  overflow: hidden;
  cursor: default;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,162,39,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.value-card:hover::before { opacity: 1; }
.value-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 30px rgba(201,162,39,.1);
}

.value-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: filter .35s;
}
.value-card:hover .value-icon { filter: drop-shadow(0 0 8px var(--gold)); }

.value-letter {
  position: absolute;
  top: .5rem; right: 1rem;
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(201,162,39,.06);
  line-height: 1;
  transition: color .35s;
}
.value-card:hover .value-letter { color: rgba(201,162,39,.12); }

.value-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .06em;
  margin-bottom: .7rem;
}

.value-desc {
  font-size: .92rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.value-bar {
  height: 2px;
  background: rgba(201,162,39,.12);
  border-radius: 1px;
  overflow: hidden;
}
.value-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  width: 0;
  transition: width 1.2s var(--ease-out);
  border-radius: 1px;
}
.value-card.visible .value-fill { width: var(--target-width, 100%); }

/* ─────────────────────────────────────────────
   TIMELINE / EVENTS
───────────────────────────────────────────── */
#events { background: none; }

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dark) 10%, var(--gold-dark) 90%, transparent);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: relative;
  flex-shrink: 0;
  width: 0;
}

.marker-dot {
  position: absolute;
  left: -2.45rem;
  top: 1.4rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg);
  box-shadow: 0 0 10px var(--gold-glow);
  transition: box-shadow .3s;
}
.timeline-item:hover .marker-dot { box-shadow: 0 0 20px var(--gold), 0 0 40px var(--gold-glow); }

.timeline-card {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem 1.8rem;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-spring);
}
.timeline-card:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 10px 40px rgba(0,0,0,.4), 0 0 20px rgba(201,162,39,.07);
  transform: translateX(6px);
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .7rem;
}

.tl-date {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .1em;
}

.tl-badge {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .15rem .6rem;
  border-radius: 2px;
}
.tl-badge.ctf      { background: rgba(168,85,247,.15); color: #a855f7; border: 1px solid rgba(168,85,247,.3); }
.tl-badge.conf     { background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }
.tl-badge.workshop { background: rgba(201,162,39,.12); color: var(--gold); border: 1px solid var(--border); }
.tl-badge.gala     { background: rgba(244,63,94,.15); color: #fb7185; border: 1px solid rgba(244,63,94,.3); }

.tl-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}

.tl-desc {
  font-size: .95rem;
  color: var(--text-dim);
  margin-bottom: .8rem;
}

.tl-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.tl-tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,.08);
  padding: .15rem .6rem;
}

/* ─────────────────────────────────────────────
   TEAM
───────────────────────────────────────────── */
#team {
  background: linear-gradient(180deg, transparent 0%, rgba(201,162,39,.03) 50%, transparent 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .35s var(--ease-spring), border-color .35s;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,39,.1), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.team-card:hover .card-glow { opacity: 1; }
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-dark);
}

.team-avatar {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 1.2rem;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: rotate-ring 8s linear infinite;
}
.team-card:hover .avatar-ring { border-color: var(--gold-dark); }

@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}

.avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid var(--border);
}
.avatar-inner svg { width: 52px; height: 52px; }

.avatar-badge {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 22px; height: 22px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.team-name {
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}

.team-role {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.team-bio {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.team-skills {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .06em;
  border: 1px solid var(--border);
  padding: .2rem .6rem;
  color: var(--text-dim);
  background: rgba(255,255,255,.03);
  transition: background .25s, color .25s, border-color .25s;
}
.team-card:hover .skill-tag {
  border-color: rgba(201,162,39,.4);
  color: var(--gold);
  background: rgba(201,162,39,.06);
}

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
#contact { background: none; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  padding: 8px;
  transition: border-color .3s, box-shadow .3s;
}
.contact-item:hover .contact-icon {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: .15rem;
}

.contact-val {
  font-size: .95rem;
  color: var(--text);
}

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
}

.form-input {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: #444; }
.form-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(201,162,39,.1), 0 0 20px rgba(201,162,39,.05);
}
.form-input:focus::placeholder { color: #555; }

.form-textarea { min-height: 120px; }

.form-feedback {
  font-family: var(--font-mono);
  font-size: .8rem;
  min-height: 1.2em;
  text-align: center;
  letter-spacing: .06em;
  transition: color .3s;
}
.form-feedback.success { color: #4ade80; }
.form-feedback.error   { color: #f87171; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 3rem;
  background: var(--bg2);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .06em;
  display: block;
  margin-bottom: .4rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .1em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .25s;
}
.footer-link:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.04);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: #444;
}

.footer-sec {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: #4ade80;
}

/* ─────────────────────────────────────────────
   CONTACT LOGO
───────────────────────────────────────────── */
.contact-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.contact-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
  filter:
    drop-shadow(0 0 20px rgba(201,162,39,.55))
    drop-shadow(0 0 60px rgba(201,162,39,.25))
    drop-shadow(0 0 120px rgba(201,162,39,.1));
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25%       { transform: translateY(-8px) rotate(.4deg); }
  75%       { transform: translateY(4px) rotate(-.3deg); }
}

/* ─────────────────────────────────────────────
   BDE DAYS
───────────────────────────────────────────── */
#bde-days {
  background: linear-gradient(180deg, transparent 0%, rgba(201,162,39,.04) 50%, transparent 100%);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-top: .8rem;
  line-height: 1.6;
}

.bde-days-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.bde-days-intro p { color: var(--text-dim); margin-bottom: .5rem; }
.bde-days-orga { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; color: var(--text-dim); }

.rounds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.round-card {
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.round-card:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 40px rgba(201,162,39,.08);
}

.round-header {
  padding: 1.8rem 2rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(201,162,39,.03);
}

.round-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: #000;
  background: var(--text-dim);
  padding: .2rem .7rem;
  margin-bottom: .7rem;
}
.round-badge.gold-badge { background: var(--gold); }

.round-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}

.round-day {
  font-size: .75em;
  color: var(--text-dim);
  font-weight: 400;
}

.round-sub {
  font-size: .9rem;
  color: var(--text-dim);
  font-style: italic;
}

.round-body {
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.schedule-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .6rem .8rem;
  border-left: 2px solid rgba(201,162,39,.15);
  transition: border-color .25s, background .25s;
}
.schedule-item:hover { border-color: var(--gold); background: rgba(201,162,39,.03); }
.schedule-item.highlight { border-color: var(--gold); background: rgba(201,162,39,.06); }

.sch-time {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--gold);
  white-space: nowrap;
  min-width: 75px;
  letter-spacing: .06em;
  padding-top: .1rem;
}

.sch-content { display: flex; flex-direction: column; gap: .2rem; }
.sch-content strong { font-size: .95rem; color: #e8e8e8; font-weight: 600; }
.sch-content span { font-size: .85rem; color: var(--text-dim); line-height: 1.5; }

.round-footer {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.bde-days-note {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   TEAM — CAPTAIN & RENFORTS
───────────────────────────────────────────── */
.team-captain-wrap {
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.team-captain {
  border-color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(201,162,39,.08) 0%, var(--card) 60%);
}

.captain-crown {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.team-grid { grid-template-columns: repeat(3, 1fr); }

.renforts-wrap {
  margin-top: 3rem;
  border: 1px dashed var(--border);
  padding: 1.8rem 2rem;
  text-align: center;
}

.renforts-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: .5rem;
}

.renforts-desc {
  font-size: .88rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.renforts-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.renfort-item {
  font-family: var(--font-title);
  font-size: .85rem;
  letter-spacing: .06em;
  color: #ccc;
  border: 1px solid var(--border);
  padding: .4rem 1.2rem;
  background: rgba(255,255,255,.02);
  transition: color .25s, border-color .25s;
}
.renfort-item:hover { color: var(--gold); border-color: var(--gold-dark); }

/* update nav link numbers in nav for new sections */

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .values-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .rounds-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  section { padding: 5rem 1.5rem; }

  #navbar { padding: .8rem 1.5rem; }
  #navbar.scrolled { padding: .6rem 1.5rem; }

  .hamburger { display: flex; }
  .nav-status { display: none; }

  .nav-links {
    display: none;
  }
  .nav-link {
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: .18em;
  }
  .nav-link:hover, .nav-link.active { color: var(--gold-light); }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero-stats { flex-direction: column; align-items: stretch; }
  .stat-divider { width: 60%; height: 1px; margin: 0 auto; }
  .stat-card { padding: 1rem; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .values-grid,
  .team-grid { grid-template-columns: 1fr; }

  .hero-title { gap: 0; }
  .footer-grid { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
