@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

/* ─── Design Tokens ─── */
:root {
  --red:    #D9000D;
  --red2:   #b0000a;
  --blue:   #0090DF;
  --blue2:  #006fb0;
  --dark:   #f4f5f7;
  --dark2:  #ffffff;
  --dark3:  #e8ebee;
  --dark4:  #c9cdd4;
  --white:  #111827;
  --off:    #374151;
  --muted:  #6b7280;
  --border: rgba(0,0,0,0.09);
  --border-b: rgba(0,144,223,0.25);
  --card-bg: #ffffff;

  --font-head: 'Antonio', 'Arial Narrow', sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --nav-h: 66px;
  --max-w: 1160px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--dark); color: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue2); }
img { display: block; max-width: 100%; }

/* ─── Layout ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; position: relative; z-index: 2; }
.section--alt { background: var(--dark2); }
.section--darker { background: var(--dark3); }

/* ─── Typography ─── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1; letter-spacing: 0.02em; }
.label {
  font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.18em;
  font-weight: 600; text-transform: uppercase; color: var(--blue);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-family: var(--font-body);
  font-size: .95rem; font-weight: 600; letter-spacing: 0.04em;
  border: none; cursor: pointer; border-radius: 3px;
  transition: all .18s; line-height: 1; text-decoration: none;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red2); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,0,13,.3); }
.btn--blue    { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue2); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,144,223,.25); }
.btn--outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(248,249,250,.95); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); z-index: 100;
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 16px;
}
.nav__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav__logo img { height: 36px; width: auto; }
.nav__logo-fallback { display: flex; align-items: center; gap: 10px; }
.nav__logo-badge { background: var(--red); color: #fff; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .06em; padding: 3px 9px; border-radius: 2px; }
.nav__logo-text { font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--white); white-space: nowrap; }

.nav__links { display: flex; list-style: none; margin-left: auto; flex-wrap: nowrap; }
.nav__links a { font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: var(--muted); padding: 6px 7px; border-radius: 3px; transition: all .15s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a.active { color: var(--blue); }

.nav__social { display: flex; align-items: center; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--border); flex-shrink: 0; }
.nav__social a { color: var(--muted); display: flex; padding: 6px; border-radius: 3px; transition: color .15s; }
.nav__social a:hover { color: var(--blue); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: none; border: none; margin-left: auto; flex-shrink: 0; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; }

.nav__mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--dark2); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; z-index: 99; flex-direction: column; gap: 3px; }
.nav__mobile.open { display: flex; }
.nav__mobile a { font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: .01em; color: var(--muted); padding: 10px 12px; border-radius: 3px; transition: all .15s; border-bottom: 1px solid rgba(0,0,0,.06); }
.nav__mobile a:hover { color: var(--white); background: rgba(0,0,0,.04); }
.nav__mobile .nav__mobile-social { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  background: transparent;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background-size: cover; background-position: center 30%;
  z-index: 0;
}
.hero__overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: linear-gradient(180deg,
    rgba(15,15,14,.28) 0%,
    rgba(15,15,14,.38) 40%,
    rgba(15,15,14,.45) 68%,
    rgba(15,15,14,.72) 82%,
    rgba(15,15,14,1)   95%
  );
  z-index: 1;
}

.hero__content {
  position: relative; z-index: 2; isolation: isolate;
  padding: 0 28px 0;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}

.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,1), 0 2px 12px rgba(0,0,0,0.9);
}
.hero__kicker::before {
  content: ''; display: block;
  width: 36px; height: 2px; background: var(--red); flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 1; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #fff;
}
.hero__title .line2 { color: var(--red); display: block; margin-top: 0.05em; }

.hero__meta {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.hero__date {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.88);
}
.hero__loc {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 400;
  font-size: 1rem; color: rgba(255,255,255,.88); letter-spacing: .01em;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 40px; }

/* ─── Amsterdam Skyline SVG ─── */
.skyline-wrap {
  position: relative; z-index: 3;
  line-height: 0; margin-top: auto;
}
.skyline-wrap svg { width: 100%; height: auto; display: block; }

@keyframes windmill-spin { to { transform: rotate(360deg); } }
.wm-blades-1 { transform-box: view-box; transform-origin: 82px 82px; animation: windmill-spin 14s linear infinite; }
.wm-blades-2 { transform-box: view-box; transform-origin: 1188px 80px; animation: windmill-spin 20s linear infinite reverse; }

/* ─── Countdown ─── */
.countdown-section {
  background: var(--dark); padding: 56px 0;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 2;
}
.countdown-inner {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 8px; flex-wrap: wrap;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-card {
  position: relative;
  background: var(--dark2); border: 1px solid var(--dark4);
  border-radius: 4px; overflow: hidden;
  min-width: clamp(80px, 14vw, 148px);
  display: flex; align-items: center; justify-content: center;
  padding: 14px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cd-card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--red); opacity: .5;
  pointer-events: none;
}
.cd-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 6rem);
  line-height: 1; letter-spacing: .02em;
  display: block; color: var(--white);
}
@keyframes cd-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.cd-num.animate { animation: cd-in .25s ease; }
.cd-label {
  font-family: var(--font-body); font-size: .75rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.cd-colon {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--red); line-height: 1;
  opacity: .7; margin-top: 12px;
  animation: colon-blink 1s step-end infinite;
}
@keyframes colon-blink { 0%,100% { opacity: .7; } 50% { opacity: .15; } }
.cd-event-label {
  text-align: center; margin-bottom: 28px;
}
.cd-event-label h2 {
  font-family: var(--font-head); font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: .15em; color: var(--white); margin-bottom: 4px;
}
.cd-event-label p { color: var(--muted); font-size: .85rem; }

/* ─── Page header (inner pages) ─── */
.page-header {
  padding: 100px 0 48px; background: var(--dark2);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 60%, transparent 100%);
  opacity: .6;
}
.page-header .container { position: relative; }
.page-title { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 6.5rem); }

/* ─── RSVP ─── */
.rsvp-section { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
.rsvp-section .inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 60px 0; }
.rsvp-section h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 6px; }
.rsvp-section p { color: var(--muted); font-size: .95rem; }

/* ─── Hashtag ─── */
.hashtag-section { background: var(--red); padding: 44px 0; position: relative; overflow: hidden; z-index: 2; }
.hashtag-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 50%, rgba(255,255,255,.1) 0%, transparent 50%); }
.hashtag-section .inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hashtag-section h2 { font-family: var(--font-head); font-size: clamp(2.2rem, 6vw, 4.5rem); color: #fff; letter-spacing: .02em; }
.hashtag-section .ig-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.25); color: #fff; padding: 11px 22px; border-radius: 3px; font-family: var(--font-head); font-size: .9rem; letter-spacing: .1em; transition: all .2s; }
.hashtag-section .ig-btn:hover { background: rgba(0,0,0,.4); color: #fff; transform: translateY(-2px); }

/* ─── Info editorial ─── */
.info-editorial {
  padding: 80px 0; background: var(--dark2);
  position: relative; z-index: 2;
}
.info-editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.info-editorial__item {
  padding: 40px;
  border: 1px solid var(--border);
  background: var(--dark);
  position: relative;
}
.info-editorial__item:hover { background: var(--dark2); }
.info-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1; color: var(--white);
  margin-bottom: 8px; display: block;
}
.info-num .unit { font-size: .45em; color: var(--muted); letter-spacing: .05em; }
.info-desc { color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 280px; }

/* ─── Cards (inner pages) ─── */
.card { background: var(--dark2); border: 1px solid var(--border); border-radius: 3px; transition: all .2s; }
.card:hover { border-color: rgba(0,144,223,.3); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }
.card__body { padding: 28px; }
.card__label { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; display: block; }
.card__title { font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .04em; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 8px; }
.section-subtitle { color: var(--muted); font-size: .95rem; font-weight: 300; margin-bottom: 40px; max-width: 580px; }
.aqua-line  { width: 48px; height: 3px; background: var(--blue); margin-bottom: 24px; }
.red-line   { width: 48px; height: 3px; background: var(--red);  margin-bottom: 24px; }

/* ─── Hotel cards ─── */
.hotel-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; transition: all .2s; }
.hotel-card:hover { border-color: rgba(0,144,223,.3); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }
.hotel-card__img { height: 180px; background: var(--dark3); background-size: cover; background-position: center; }
.hotel-card__body { padding: 22px; }
.hotel-card__name { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: .04em; margin-bottom: 12px; }
.hotel-card__info { display: flex; flex-direction: column; gap: 7px; }
.hotel-card__info-row { display: flex; align-items: flex-start; gap: 9px; font-size: .86rem; color: var(--muted); }
.hotel-card__info-row svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.hotel-card__info-row a { color: var(--blue); font-size: .84rem; }
.hotel-card__info-row a:hover { color: var(--blue2); }

/* ─── News ─── */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { background: var(--dark2); border: 1px solid var(--border); border-radius: 3px; padding: 28px 32px; transition: all .2s; position: relative; overflow: hidden; }
.news-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); opacity: 0; transition: opacity .2s; }
.news-item:hover { border-color: rgba(217,0,13,.25); transform: translateX(3px); }
.news-item:hover::before { opacity: 1; }
.news-item__date  { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.news-item__title { font-family: var(--font-head); font-size: 1.7rem; margin-bottom: 12px; line-height: 1; }
.news-item__body  { color: var(--muted); font-size: .92rem; line-height: 1.75; max-width: 640px; }
.news-item__clubs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.club-tag { background: rgba(0,144,223,.08); border: 1px solid rgba(0,144,223,.22); color: var(--blue); padding: 3px 10px; border-radius: 2px; font-size: .76rem; }

/* ─── Participants ─── */
.participants-table { width: 100%; border-collapse: collapse; }
.participants-table th { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); text-align: left; padding: 12px 20px; border-bottom: 2px solid var(--border); background: var(--dark3); }
.participants-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.participants-table tr:last-child td { border-bottom: none; }
.participants-table tr:hover td { background: rgba(0,144,223,.04); }
.country-cell { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; }
.country-flag { font-size: 1.1rem; }

/* ─── Team ─── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 16px; }
.team-card { background: var(--dark2); border: 1px solid var(--border); border-radius: 3px; padding: 28px 20px; text-align: center; transition: all .2s; }
.team-card:hover { border-color: rgba(217,0,13,.25); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.team-card__avatar { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--red); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.4rem; color: var(--red); background: var(--dark3); background-size: cover; background-position: center top; overflow: hidden; }
.team-card__name { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 4px; }
.team-card__role { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* ─── Media ─── */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.media-placeholder { aspect-ratio: 4/3; background: var(--dark3); border-radius: 2px; border: 1px solid var(--border); background-size: cover; background-position: center; transition: all .2s; cursor: pointer; }
.media-placeholder:hover { opacity: .82; transform: scale(1.02); border-color: rgba(0,144,223,.35); }

/* ─── Placeholder pages ─── */
.placeholder-section { display: flex; align-items: center; justify-content: center; min-height: 50vh; text-align: center; }
.placeholder-section .inner { max-width: 460px; }
.placeholder-icon { width: 64px; height: 64px; margin: 0 auto 22px; background: rgba(0,144,223,.08); border: 1px solid var(--border-b); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue); }

/* ─── Registration ─── */
.reg-info { background: var(--dark2); border: 1px solid var(--border); border-radius: 3px; padding: 36px; margin-bottom: 24px; }
.reg-info p { color: var(--muted); margin-bottom: 14px; font-size: .95rem; }
.reg-form-placeholder { background: rgba(0,144,223,.05); border: 2px dashed rgba(0,144,223,.2); border-radius: 3px; padding: 52px 36px; text-align: center; color: var(--muted); font-size: .88rem; }
.reg-form-placeholder strong { display: block; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .06em; margin-bottom: 6px; color: var(--muted); }

/* ─── Footer ─── */
.footer { background: var(--dark3); border-top: 1px solid var(--border); padding: 26px 0; position: relative; z-index: 2; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer__left { display: flex; align-items: center; gap: 16px; }
.footer__logo img { height: 26px; width: auto; opacity: .8; }
.footer__logo-badge { background: var(--red); color: #fff; font-family: var(--font-head); font-size: .85rem; padding: 2px 7px; border-radius: 2px; }
.footer__copy { font-size: .78rem; color: var(--muted); opacity: .7; }
.footer__right { display: flex; align-items: center; gap: 16px; }
.footer__hashtag { font-family: var(--font-body); font-size: .9rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.footer__ig { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); transition: color .2s; }
.footer__ig:hover { color: var(--blue); }

/* ─── Grids ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .nav__links, .nav__social { display: none; }
  .nav__burger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .info-editorial__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .rsvp-section .inner { flex-direction: column; text-align: center; padding: 44px 0; }
  .hero { min-height: 80vh; }
  .hero__badge { display: none; }
  .hero__actions { flex-direction: column; padding-bottom: 12px; }
  .btn { max-width: 100%; white-space: normal; word-break: break-word; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .news-item { padding: 20px; }
  .reg-info { padding: 22px; }
  .countdown-inner { gap: 4px; }
  .cd-colon { display: none; }
}

/* ─── Animations ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .5s ease forwards; opacity: 0; }
.fade-up:nth-child(1) { animation-delay: .05s; }
.fade-up:nth-child(2) { animation-delay: .12s; }
.fade-up:nth-child(3) { animation-delay: .19s; }
.fade-up:nth-child(4) { animation-delay: .26s; }
.fade-up:nth-child(5) { animation-delay: .33s; }
.fade-up:nth-child(6) { animation-delay: .40s; }
.fade-up:nth-child(7) { animation-delay: .47s; }
.fade-up:nth-child(8) { animation-delay: .54s; }

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