/* ============================================
   APEROMATIC — Dark Neon LED Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

/* --- Accessibility: skip-to-content --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--neon-blue);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-to-content:focus {
  top: 0;
}

/* --- Breadcrumb styling --- */
nav[aria-label="Fil d'Ariane"] ol {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

nav[aria-label="Fil d'Ariane"] a {
  color: var(--neon-blue);
  transition: var(--transition);
}

nav[aria-label="Fil d'Ariane"] a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 0, 170, 0.3);
}

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-muted: #555570;
  --neon-blue: #00d4ff;
  --neon-pink: #ff00aa;
  --neon-green: #00ff88;
  --neon-orange: #ff6600;
  --neon-purple: #aa44ff;
  --neon-yellow: #ffee00;
  --glow-blue: 0 0 10px #00d4ff, 0 0 40px #00d4ff44, 0 0 80px #00d4ff22;
  --glow-pink: 0 0 10px #ff00aa, 0 0 40px #ff00aa44, 0 0 80px #ff00aa22;
  --glow-green: 0 0 10px #00ff88, 0 0 40px #00ff8844, 0 0 80px #00ff8822;
  --glow-orange: 0 0 10px #ff6600, 0 0 40px #ff660044, 0 0 80px #ff660022;
  --glow-purple: 0 0 10px #aa44ff, 0 0 40px #aa44ff44, 0 0 80px #aa44ff22;
  --border-radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Animated Background Grid --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 2rem;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.nav-logo:hover {
  filter: brightness(1.3);
  text-shadow: var(--glow-blue);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 2px;
  transition: var(--transition);
  box-shadow: 0 0 6px var(--neon-blue);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(255, 0, 170, 0.06) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 2%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.5rem;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-blue);
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.05);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.05); }
  50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 30px rgba(0, 212, 255, 0.1); }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .neon-text {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
  -webkit-text-fill-color: var(--neon-blue);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-neon {
  background: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15), inset 0 0 15px rgba(0, 212, 255, 0.05);
}

.btn-neon:hover {
  background: var(--neon-blue);
  color: var(--bg-primary);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-solid:hover {
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.5);
  transform: translateY(-3px);
}

.btn-pink {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 15px rgba(255, 0, 170, 0.15), inset 0 0 15px rgba(255, 0, 170, 0.05);
}

.btn-pink:hover {
  background: var(--neon-pink);
  color: var(--bg-primary);
  box-shadow: var(--glow-pink);
}

.btn-green {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-green:hover {
  background: var(--neon-green);
  color: var(--bg-primary);
  box-shadow: var(--glow-green);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Sections --- */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

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

.section-header .overline {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--neon-pink);
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 .highlight {
  color: var(--neon-blue);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* --- Neon Cards --- */
.neon-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.neon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 212, 255, 0.03) 100%);
  transition: var(--transition);
  pointer-events: none;
}

.neon-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.05);
}

.neon-card:hover::before {
  background: linear-gradient(135deg, transparent 20%, rgba(0, 212, 255, 0.06) 100%);
}

.neon-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid;
  position: relative;
}

.neon-card .card-icon.blue {
  color: var(--neon-blue);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.neon-card .card-icon.pink {
  color: var(--neon-pink);
  border-color: rgba(255, 0, 170, 0.3);
  background: rgba(255, 0, 170, 0.08);
  box-shadow: 0 0 20px rgba(255, 0, 170, 0.1);
}

.neon-card .card-icon.green {
  color: var(--neon-green);
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.neon-card .card-icon.orange {
  color: var(--neon-orange);
  border-color: rgba(255, 102, 0, 0.3);
  background: rgba(255, 102, 0, 0.08);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.1);
}

.neon-card .card-icon.purple {
  color: var(--neon-purple);
  border-color: rgba(170, 68, 255, 0.3);
  background: rgba(170, 68, 255, 0.08);
  box-shadow: 0 0 20px rgba(170, 68, 255, 0.1);
}

.neon-card .card-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.neon-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.neon-card:hover .card-img img {
  transform: scale(1.05);
}

.neon-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.neon-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  background: var(--bg-card);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Divider --- */
.neon-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  margin: 1rem 0;
  border: none;
}

/* --- Page Hero (Subpages) --- */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
}

.page-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.page-hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* --- Image Placeholder / Gallery --- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.img-placeholder:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.img-placeholder:hover::after {
  opacity: 1;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Feature Block (Text + Image side by side) --- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.feature-text ul {
  margin-bottom: 2rem;
}

.feature-text ul li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.feature-text ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 170, 0.06) 0%, transparent 60%);
}

.cta-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--neon-blue);
}

.footer ul li {
  margin-bottom: 0.8rem;
}

.footer ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Sponsor Section --- */
.sponsors {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.sponsor-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 238, 0, 0.15);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: min(250px, 100%);
  max-width: 350px;
  transition: var(--transition);
}

.sponsor-card:hover {
  border-color: rgba(255, 238, 0, 0.4);
  box-shadow: 0 0 30px rgba(255, 238, 0, 0.08);
  transform: translateY(-3px);
}

.sponsor-card .sponsor-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.sponsor-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-yellow);
  margin-bottom: 0.5rem;
}

.sponsor-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Social Page --- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.social-card:hover {
  transform: translateY(-5px);
}

.social-card.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 0 40px rgba(24, 119, 242, 0.15);
}

.social-card.tiktok:hover {
  border-color: #ff0050;
  box-shadow: 0 0 40px rgba(255, 0, 80, 0.15);
}

.social-card .social-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.social-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.social-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Floating Phone Button --- */
.floating-phone {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--neon-green);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 25px rgba(0, 255, 136, 0.4);
  transition: var(--transition);
}

.floating-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 35px rgba(0, 255, 136, 0.6);
}

.floating-phone .phone-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* ---- Tablet landscape (max 1024px) ---- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 2rem; }
  .feature-block.reverse { direction: ltr; }

  /* Reduce section vertical padding on smaller screens */
  section {
    padding: 4rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

  .page-hero {
    padding: 8rem 1.5rem 3rem;
  }
}

/* ---- Tablet portrait / large phone (max 768px) ---- */
@media (max-width: 768px) {
  /* --- Hamburger menu --- */
  .hamburger {
    display: flex;
    /* Ensure 44px minimum touch target */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  /* Mobile nav overlay backdrop */
  .nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
  }

  .nav-links.open::before {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh; /* dynamic viewport height for mobile browsers */
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 6rem 1.5rem 2rem;
    gap: 0.25rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(0, 212, 255, 0.1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  /* Ensure nav links are large enough for touch (min 44px height) */
  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 8px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(0, 212, 255, 0.08);
  }

  /* Remove the underline effect on mobile - use background instead */
  .nav-links a::after {
    display: none;
  }

  /* --- Grid layouts for mobile --- */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  /* Ensure footer links are touch-friendly */
  .footer ul li {
    margin-bottom: 0.5rem;
  }

  .footer ul li a {
    display: inline-block;
    padding: 0.35rem 0;
    min-height: 44px;
    line-height: 2.2;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-socials a {
    width: 44px;
    height: 44px;
  }

  /* --- Hero section --- */
  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.5rem;
  }

  /* --- Page hero (subpages) --- */
  .page-hero {
    padding: 7rem 1.25rem 2.5rem;
  }

  .page-hero .subtitle {
    font-size: 1rem;
  }

  /* --- Section header --- */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* --- Sections general --- */
  section {
    padding: 3rem 1.25rem;
  }

  .cta-section {
    padding: 3rem 1.25rem;
  }

  /* --- Feature block --- */
  .feature-text h3 {
    font-size: 1.25rem;
  }

  .feature-block {
    margin-bottom: 3rem;
  }

  /* --- Neon cards --- */
  .neon-card {
    padding: 1.75rem;
  }

  .neon-card h3 {
    font-size: 1rem;
  }

  /* --- Buttons - touch-friendly --- */
  .btn {
    padding: 0.85rem 2rem;
    font-size: 0.75rem;
    min-height: 44px;
  }

  .btn-group {
    gap: 0.75rem;
  }

  /* --- Contact form --- */
  .contact-form {
    max-width: 100%;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.9rem 1rem;
    font-size: 16px; /* Prevents iOS zoom on focus */
    min-height: 48px;
  }

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

  .form-group label {
    font-size: 0.7rem;
    margin-bottom: 0.4rem;
  }

  /* --- Social grid --- */
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-card {
    padding: 2rem 1.5rem;
  }

  /* --- Sponsor cards --- */
  .sponsor-card {
    min-width: 0;
    max-width: 100%;
  }

  /* --- Image placeholders --- */
  .img-placeholder {
    aspect-ratio: 16/10;
    font-size: 2.5rem;
  }

  /* --- Prevent horizontal overflow --- */
  .neon-divider {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
  }
}

/* ---- Small phone (max 480px) ---- */
@media (max-width: 480px) {
  /* Stats stack fully on small phones */
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-item {
    padding: 1.25rem 1rem;
  }

  /* Grid-3 (galleries) becomes 1 column on small phone */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Grid-4 becomes 1 column on small phone */
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Sponsors stack cleanly */
  .sponsors {
    flex-direction: column;
    align-items: stretch;
  }

  .sponsor-card {
    max-width: 100%;
    min-width: 0;
  }

  /* Hero adjustments for very small screens */
  .hero {
    padding: 6.5rem 1rem 2.5rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 9vw, 2.5rem);
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .page-hero {
    padding: 6.5rem 1rem 2rem;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  /* Section padding */
  section {
    padding: 2.5rem 1rem;
  }

  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-section h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-header .overline {
    font-size: 0.6rem;
    letter-spacing: 3px;
  }

  /* Cards smaller padding */
  .neon-card {
    padding: 1.5rem;
  }

  /* Feature text */
  .feature-text h3 {
    font-size: 1.15rem;
  }

  .feature-text p {
    font-size: 0.9rem;
  }

  .feature-block {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  /* Buttons full width on small screens */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 0.85rem;
  }

  /* Contact form on small screens */
  .form-group {
    margin-bottom: 1rem;
  }

  /* Navbar adjustments */
  .navbar {
    padding: 0 1rem;
  }

  .nav-container {
    height: 65px;
  }

  .nav-logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  /* Nav links panel padding */
  .nav-links {
    padding: 5rem 1.25rem 2rem;
  }

  /* Social cards */
  .social-card .social-icon {
    font-size: 2.5rem;
  }

  .social-card h3 {
    font-size: 1rem;
  }

  .social-card p {
    font-size: 0.9rem;
  }

  /* Image placeholders */
  .img-placeholder {
    font-size: 2rem;
  }

  /* Neon divider */
  .neon-divider {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* ---- Extra small screens (max 360px) ---- */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-badge {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .neon-card {
    padding: 1.25rem;
  }

  .btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.65rem;
  }
}
