@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --accent:       #0353df;
  --accent-dark:  #0240b0;
  --accent-dim:   rgba(3, 83, 223, 0.10);
  --accent-glow:  rgba(3, 83, 223, 0.25);
  --purple:       #6333ff;
  --text:         #0a0e1a;
  --text-muted:   #5a6078;
  --text-faint:   #9099b2;
  --bg:           #ffffff;
  --bg-soft:      #f7f8fc;
  --bg-blue:      #f0f5ff;
  --border:       rgba(3, 83, 223, 0.10);
  --border-solid: #e4e9f5;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --nav-h:        68px;
  --max-w:        1200px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', 'Noto Sans', sans-serif;
  --shadow-sm:    0 2px 12px rgba(3,83,223,0.08);
  --shadow:       0 8px 32px rgba(3,83,223,0.12);
  --shadow-lg:    0 20px 60px rgba(3,83,223,0.18);
  --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1{
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

/* ── Section headers ───────────────────────────────────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.sec-label::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 16px;
}
.sec-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  transition: opacity var(--transition);
}
.sec-link:hover { opacity: 0.7; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-solid);
}
.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Badges / Tags ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.badge-blue     { background: rgba(3,83,223,0.10); color: var(--accent); }
.badge-green    { background: rgba(22,163,74,0.10); color: #16a34a; }
.badge-gray     { background: #f1f5f9; color: #64748b; }
.badge-purple   { background: rgba(99,51,255,0.10); color: var(--purple); }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(3,83,223,0.08);
  color: var(--accent-dark);
}

/* ── GitHub source chip ────────────────────────────────────── */
.gh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border-solid);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.gh-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3fb950;
  flex-shrink: 0;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(3,83,223,0.2);
}
.card-accent-top {
  position: relative;
  overflow: hidden;
}
.card-accent-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--accent); background: var(--accent-dim); }
.nav-link.active { color: var(--accent); font-weight: 600; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-solid);
  border-radius: 20px;
  overflow: hidden;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.lang-btn.active { background: var(--accent); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-solid);
  background: var(--bg);
  gap: 5px;
  transition: all var(--transition);
  z-index: 1100;
}
.hamburger:hover { border-color: var(--accent); }
.ham-line {
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-solid);
  z-index: 999;
  padding: 20px 24px 28px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}
.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-drawer .mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.mobile-drawer .mobile-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: block;
}
.mobile-drawer .mobile-link:hover,
.mobile-drawer .mobile-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.mobile-drawer .mobile-footer {
  border-top: 1px solid var(--border-solid);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eef3ff 0%, var(--bg) 45%, #f5f0ff 100%);
  padding: 100px 0 90px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(3,83,223,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3,83,223,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 0%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}
.hero-orb-1 {
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(3,83,223,0.13) 0%, transparent 65%);
}
.hero-orb-2 {
  bottom: -80px; left: 5%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(99,51,255,0.09) 0%, transparent 65%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3,83,223,0.07);
  border: 1px solid rgba(3,83,223,0.18);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 26px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero-title { margin-bottom: 20px; max-width: 680px; }
.hero-title .titleText {
  color: #0353de;
}
h1.hero-title .titleText {
  color: #0353de;
}
.hero-sub {
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  overflow: hidden;
  max-width: 560px;
}
.hero-stat {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-right: 1px solid var(--border-solid);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.hero-stat-l {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ── News cards ────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.news-card {
  display: flex;
  flex-direction: column;
}
.news-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.news-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.news-meta {
  font-size: 12px;
  color: var(--text-faint);
}
.news-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 12px;
}

/* ── Project cards ─────────────────────────────────────────── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.proj-card { display: flex; gap: 18px; align-items: flex-start; }
.proj-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(3,83,223,0.10), rgba(99,51,255,0.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.proj-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.proj-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.proj-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.proj-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ── Competition rows ──────────────────────────────────────── */
.comp-list { display: flex; flex-direction: column; gap: 8px; }
.comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  gap: 16px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.comp-row:hover {
  transform: translateX(4px);
  border-color: rgba(3,83,223,0.2);
  box-shadow: var(--shadow-sm);
}
.comp-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.comp-sub {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 3px;
}

/* ── Sponsors ──────────────────────────────────────────────── */
.sponsor-tiers { display: flex; flex-direction: column; gap: 40px; }
.tier-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  padding: 20px 32px;
  background: var(--bg);
  transition: all var(--transition);
  min-width: 140px;
  flex: 1;
}
.sponsor-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.sponsor-card img { max-height: 40px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: all var(--transition); }
.sponsor-card:hover img { filter: none; opacity: 1; }
.sponsor-card-name { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.sponsor-cta {
  border: 1.5px dashed rgba(3,83,223,0.28);
  background: linear-gradient(135deg, rgba(3,83,223,0.03), rgba(99,51,255,0.03));
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.sponsor-cta:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ── Team ──────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.team-card { text-align: center; padding: 28px 20px; }
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); }
.team-role { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.team-social { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.team-social a {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-solid);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--text-faint);
  transition: all var(--transition);
}
.team-social a:hover { border-color: var(--accent); color: var(--accent); }

/* ── Contact / Forms ───────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(3,83,223,0.12);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6078' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}
.form-error {
  display: none;
  padding: 16px 20px;
  background: rgba(220,38,38,0.07);
  border: 1px solid rgba(220,38,38,0.18);
  border-radius: var(--radius-sm);
  color: #dc2626;
  font-size: 14px;
  margin-top: 16px;
}

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #eef3ff 0%, #fff 60%);
  padding: 60px 0 56px;
  border-bottom: 1px solid var(--border-solid);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(3,83,223,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3,83,223,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 10%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(160deg, #0a0e1a 0%, #0d1535 100%);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 16px 0 10px;
  letter-spacing: -0.03em;
}
.footer-brand-desc { font-size: 13px; line-height: 1.65; max-width: 260px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-right {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  margin-left: auto;
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}
.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-logo-img { height: 32px; width: auto; }

/* ── Loading states ────────────────────────────────────────── */
.loading-grid {
  display: grid;
  gap: 16px;
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 160px; border-radius: var(--radius); }
.skeleton-row { height: 64px; border-radius: var(--radius-sm); }

/* ── Empty / error states ──────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
}
.empty-state-icon { font-size: 40px; margin-bottom: 16px; opacity: 0.4; }
.empty-state-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.empty-state-sub { font-size: 14px; }

/* ── Scroll reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1), transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ── Page transition ───────────────────────────────────────── */
.page-fade {
  animation: pageFadeIn 0.35s ease forwards;
}
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Greek language font overrides ─────────────────────────── */
:lang(el) .hero-title,
:lang(el) h1,
:lang(el) h2 {
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border-solid); }

/* ── Utility ───────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }

/* ── Responsive ────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { gap: 2px; }
  .nav-link { font-size: 12px; padding: 6px 9px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

/* Mobile nav breakpoint */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .hero { padding: 60px 0 56px; }
  .hero-stats {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .hero-stat {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid var(--border-solid);
  }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--border-solid); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .news-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .comp-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-badge { font-size: 11px; }
}

/* Very small screens */
@media (max-width: 380px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-stat { flex: 1 1 100%; border-right: none !important; }
}

/* ── Social icons ──────────────────────────────────────────── */
.social-icon {
  width: 16px; height: 16px;
  display: block;
  fill: currentColor;
}
.footer-social-link svg,
.team-social a svg {
  width: 14px; height: 14px;
  fill: currentColor;
}

/* ── Sponsor logo display ──────────────────────────────────── */
.sponsor-card-logo {
  max-height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all var(--transition);
}
.sponsor-card:hover .sponsor-card-logo {
  filter: none;
  opacity: 1;
}

/* ── News card image support ───────────────────────────────── */
.news-card { padding: 0 !important; overflow: hidden; }
.news-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  flex-shrink: 0;
}
.news-card-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); }

/* ── News overlay ──────────────────────────────────────────── */
.news-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--nav-h) 16px 32px;
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.news-overlay.open { opacity: 1; }
.news-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: -1;
}
.news-overlay-panel {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  margin: auto;
}
.news-overlay.open .news-overlay-panel { transform: translateY(0); }
.news-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10,14,26,0.45);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
  line-height: 1;
}
.news-overlay-close:hover { background: rgba(10,14,26,0.75); }
.news-overlay-img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
}
.news-overlay-content {
  padding: 32px 36px 36px;
}
.news-overlay-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-overlay-date {
  font-size: 13px;
  color: var(--text-faint);
}
.news-overlay-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.news-overlay-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}
.news-overlay-body p { margin-bottom: 16px; }
.news-overlay-body p:last-child { margin-bottom: 0; }
.news-overlay-list {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}
.news-overlay-list li {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}
.news-overlay-links {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-solid);
}
.news-overlay-links-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.news-overlay-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-right: 20px;
  transition: opacity var(--transition);
}
.news-overlay-link:hover { opacity: 0.7; }
.news-overlay-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 18px;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.news-overlay-back:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

@media (max-width: 640px) {
  .news-overlay { padding: var(--nav-h) 0 0; align-items: flex-end; }
  .news-overlay-panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 100%;
    width: 100%;
  }
  .news-overlay-img { height: 200px; }
  .news-overlay-content { padding: 24px 20px 32px; }
  .news-overlay.open .news-overlay-panel { transform: translateY(0); }
  .news-overlay-panel { transform: translateY(100%); }
}

/* ── Events ────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.events-grid-past {
  opacity: 0.85;
}
.event-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.event-card-past .event-card-img,
.event-card-past .event-card-img-placeholder {
  filter: grayscale(40%);
}
.event-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.event-card-img-placeholder {
  height: 120px;
  background: linear-gradient(135deg, var(--bg-blue), var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}
.event-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.event-type-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.event-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.event-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
}
.event-meta-item svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
}
.event-cta {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: opacity var(--transition);
  margin-top: auto;
}
.event-cta:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .events-grid { grid-template-columns: 1fr; }
}
a.event-card-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1.5px solid var(--border-solid);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
a.event-card-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg);
}
a.event-card-link .event-card-body {
  position: relative;
}
a.event-card-link .event-card-body::after {
  content: '↗';
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  transition: opacity var(--transition);
}
a.event-card-link:hover .event-card-body::after {
  opacity: 1;
}
