﻿/* ===== CSS VARIABLES ===== */
:root {
  --blue: #00AAFF;
  --blue-dark: #0288d1;
  --blue-glow: rgba(0,170,255,0.4);
  --yellow: #FFB800;
  --yellow-dark: #f9a825;
  --yellow-glow: rgba(255,184,0,0.4);
  --dark-bg: #0a0e1a;
  --dark-surface: #0f1628;
  --dark-card: rgba(255,255,255,0.05);
  --dark-border: rgba(255,255,255,0.1);
  --text-primary: #ffffff;
  --text-secondary: #b0bec5;
  --glass-bg: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.15);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
[data-theme="light"] {
  --dark-bg: #f0f4ff;
  --dark-card: rgba(0,0,0,0.04);
  --dark-border: rgba(0,0,0,0.1);
  --text-primary: #0a0e1a;
  --text-secondary: #546e7a;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.1);
  --shadow: 0 8px 32px rgba(0,0,0,0.15);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}
/* CURSOR */
#cursor-glow {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent);
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  opacity: 0.8;
}
/* NAVBAR */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(10,14,26,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.6), 0 1px 0 rgba(0,170,255,0.15);
  border-bottom-color: rgba(0,170,255,0.2);
}
[data-theme="light"] #navbar { background: rgba(240,244,255,0.9); }
[data-theme="light"] #navbar.scrolled {
  background: rgba(240,244,255,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15), 0 1px 0 rgba(0,170,255,0.2);
}
.nav-logo {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  cursor: pointer; user-select: none;
  transition: transform 0.2s;
}
.nav-logo:hover { transform: scale(1.05); }
.logo-sus { color: var(--blue); }
.logo-amp { color: var(--text-primary); }
.logo-klus { color: var(--yellow); }
.logo-bv { color: var(--text-secondary); font-size: 0.8em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-link {
  color: var(--text-secondary); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--text-primary); font-weight: 700; }
.nav-controls { display: flex; align-items: center; gap: 0.75rem; }
.nav-controls button {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; padding: 0.4rem;
  border-radius: 8px; transition: var(--transition);
}
.nav-controls button:hover { background: var(--dark-card); transform: scale(1.1); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: white !important; border: none !important;
  padding: 0.5rem 1.2rem !important; border-radius: 25px !important;
  font-weight: 700 !important; font-size: 0.85rem !important;
  cursor: pointer; transition: var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 20px rgba(41,182,246,0.4) !important; }
.hamburger {
  display: none;
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--text-primary);
  padding: 0.4rem; border-radius: 8px;
  transition: var(--transition);
  min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
}
.hamburger:hover { background: var(--dark-card); }
.mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: rgba(10,14,26,0.97); backdrop-filter: blur(20px);
  padding: 1.5rem; z-index: 999;
  flex-direction: column; gap: 0.5rem;
  border-bottom: 1px solid var(--dark-border);
  overflow-y: auto;
}
[data-theme="light"] .mobile-menu { background: rgba(240,244,255,0.98); }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-primary); text-decoration: none;
  font-size: 1.1rem; font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--dark-border);
  border-radius: 8px;
  transition: var(--transition);
  min-height: 44px; display: flex; align-items: center;
}
.mobile-menu a:hover { background: var(--dark-card); padding-left: 1rem; }
/* SECTIONS */
.section { min-height: 100vh; padding: 6rem 2rem 4rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 1rem;
  background: linear-gradient(135deg, rgba(41,182,246,0.2), rgba(255,214,0,0.2));
  border: 1px solid rgba(41,182,246,0.3);
  border-radius: 20px; font-size: 0.85rem; font-weight: 700;
  color: var(--blue); margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase;
}
.section-header h2 { font-family: 'Exo 2', sans-serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 0.75rem; }
.section-sub { color: var(--text-secondary); font-size: 1.1rem; }
.highlight-blue { color: var(--blue); }
.highlight-yellow { color: var(--yellow); }
/* GLASS CARD */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }

/* ===== RESPONSIVE — NAVBAR & MOBILE MENU ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-controls { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 769px) {
  .hamburger { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ===== HERO SECTION ===== */

/* Layout */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 7rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Particle container */
#particles,
.hero-bg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Individual particles (generated by JS) */
@keyframes floatUp {
  0%   { transform: translateY(0) scale(1);   opacity: var(--p-opacity, 0.4); }
  80%  { opacity: var(--p-opacity, 0.4); }
  100% { transform: translateY(-110vh) scale(0.6); opacity: 0; }
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue);
  animation: floatUp linear infinite;
}

[data-theme="light"] .particle {
  background: var(--blue-dark);
}

/* ===== HERO CONTENT (left column) ===== */
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1 1 50%;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, rgba(0,170,255,0.2), rgba(255,184,0,0.2));
  border: 1px solid rgba(0,170,255,0.35);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  min-height: 1.3em; /* prevent layout shift while typing */
}

/* Blinking cursor — 1 Hz (0.5s on / 0.5s off) */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.cursor-blink {
  display: inline-block;
  color: var(--blue);
  font-weight: 400;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item > span:first-child,
.stat-num {
  font-family: 'Exo 2', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.stat-item > span:nth-child(2) {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 1px;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 1;
  user-select: none;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===== HERO VISUAL (right column) ===== */
.hero-visual {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 340px;
}

/* ===== SHIELD LOGO ===== */
.shield-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
}

/* Slow rotation applied to inner shield */
@keyframes shieldRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.shield-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--glass-bg), rgba(0,170,255,0.15));
  border: 2px solid rgba(0,170,255,0.4);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 32px var(--blue-glow), inset 0 0 16px rgba(0,170,255,0.1);
  animation: shieldRotate 20s linear infinite;
}

.drop-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
  filter: drop-shadow(0 0 8px var(--blue-glow));
}

.bolt-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--yellow);
  filter: drop-shadow(0 0 8px var(--yellow-glow));
}

/* Shield rings with staggered pulse */
@keyframes ringPulse1 {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
  50%       { transform: translate(-50%, -50%) scale(1.12); opacity: 0.2; }
}
@keyframes ringPulse2 {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.35; }
  50%       { transform: translate(-50%, -50%) scale(1.1);  opacity: 0.15; }
}
@keyframes ringPulse3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.2; }
  50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.08; }
}

.shield-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid var(--blue);
  pointer-events: none;
}

.ring1 {
  width: 160px;
  height: 160px;
  animation: ringPulse1 3s ease-in-out infinite;
}

.ring2 {
  width: 210px;
  height: 210px;
  animation: ringPulse2 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.ring3 {
  width: 260px;
  height: 260px;
  animation: ringPulse3 3s ease-in-out infinite;
  animation-delay: 1s;
}

/* ===== FLOATING ICONS ===== */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fi {
  position: absolute;
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Six unique float paths */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%       { transform: translate(8px, -14px) rotate(8deg); }
  66%       { transform: translate(-6px, -8px) rotate(-5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40%       { transform: translate(-10px, -18px) rotate(-10deg); }
  70%       { transform: translate(6px, -10px) rotate(6deg); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30%       { transform: translate(12px, -10px) rotate(12deg); }
  60%       { transform: translate(-4px, -16px) rotate(-8deg); }
}
@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%       { transform: translate(-8px, -20px) rotate(-12deg); }
}
@keyframes float5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  45%       { transform: translate(10px, -12px) rotate(10deg); }
  80%       { transform: translate(-5px, -6px) rotate(-4deg); }
}
@keyframes float6 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35%       { transform: translate(-12px, -16px) rotate(-14deg); }
  65%       { transform: translate(8px, -8px) rotate(8deg); }
}

.fi1 { top: 8%;  left: 10%;  animation: float1 4.2s ease-in-out infinite; animation-delay: 0s; }
.fi2 { top: 12%; right: 8%;  animation: float2 5.1s ease-in-out infinite; animation-delay: 0.7s; }
.fi3 { top: 45%; left: 4%;   animation: float3 4.7s ease-in-out infinite; animation-delay: 1.2s; }
.fi4 { top: 50%; right: 5%;  animation: float4 5.5s ease-in-out infinite; animation-delay: 0.4s; }
.fi5 { bottom: 12%; left: 12%; animation: float5 4.9s ease-in-out infinite; animation-delay: 1.8s; }
.fi6 { bottom: 8%;  right: 10%; animation: float6 4.4s ease-in-out infinite; animation-delay: 0.9s; }

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 1.25rem 3rem;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .stat-item {
    align-items: center;
  }

  .hero-visual {
    width: 260px;
    height: 260px;
  }

  .shield-inner {
    width: 90px;
    height: 90px;
  }

  .drop-icon,
  .bolt-icon {
    font-size: 1.5rem;
  }

  .ring1 { width: 120px; height: 120px; }
  .ring2 { width: 160px; height: 160px; }
  .ring3 { width: 200px; height: 200px; }

  .fi { font-size: 1.2rem; }
}

/* ===== BUTTONS ===== */

/* Primary button — gradient yellow → blue, dark text */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--yellow), var(--blue));
  color: #0a0e1a;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,184,0,0.45), 0 2px 8px rgba(0,170,255,0.3);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* Secondary button — transparent with border, hover fills */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--glass-border);
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(0,170,255,0.15), rgba(255,184,0,0.15));
  border-color: var(--blue);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,170,255,0.2);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Danger button — red gradient, for "Niet Klikken" */
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #ff3b3b, #c0392b);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,59,59,0.5);
  filter: brightness(1.1);
}

.btn-danger:active {
  transform: translateY(0);
  filter: brightness(0.9);
}

/* ===== CLICKER BUTTON PULSE ===== */

/* Triggered on :active — scale 0.9 → 1.05 → 1 */
@keyframes clickerPulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.9); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

#clicker-btn:active {
  animation: clickerPulse 0.3s ease-out forwards;
}

/* ===== ABOUT SECTION ===== */

/* Section layout */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Story card */
.about-story {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.story-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.about-story p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-story p + p {
  margin-top: 1rem;
}

/* Team grid — 2 columns */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Team card */
.team-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.team-avatar {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.team-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* Hover fact overlay */
.team-hover-fact {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(0,170,255,0.92), rgba(15,22,40,0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
}

.team-hover-fact span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.5px;
}

.fun-fact-text {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

.team-card:hover .team-hover-fact {
  opacity: 1;
}

/* Values grid — 4 columns desktop */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.value-card > span {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.value-card h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== ABOUT SECTION — RESPONSIVE ===== */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .about-story {
    padding: 1.5rem;
  }
}

/* ===== DIENSTEN / PROJECTS SECTION ===== */

.projects-section {
  display: flex;
  flex-direction: column;
}

/* 3-column grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Project card */
.project-card {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  cursor: pointer;
}

.project-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

/* Card icon — large emoji */
.card-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.project-card:hover .card-icon {
  transform: scale(1.15);
}

/* Card tag — pill badge with brand colour */
.card-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: linear-gradient(135deg, rgba(0,170,255,0.2), rgba(255,184,0,0.2));
  border: 1px solid rgba(0,170,255,0.4);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.3px;
  transition: var(--transition);
  margin-top: auto;
}

.project-card:hover .card-tag {
  background: linear-gradient(135deg, rgba(0,170,255,0.35), rgba(255,184,0,0.25));
  border-color: var(--blue);
  color: var(--text-primary);
}

/* ===== MODAL ===== */

/* Overlay — hidden by default; JS sets display:flex when active */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
}

/* Fade-in + scale-up animation for the modal box */
@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modal box */
.modal-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  animation: modalEnter 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Scrollbar styling inside modal */
.modal-box::-webkit-scrollbar {
  width: 6px;
}
.modal-box::-webkit-scrollbar-track {
  background: transparent;
}
.modal-box::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border-radius: 3px;
}

/* Close button — top-right corner */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  padding: 0;
  min-height: 36px;
  min-width: 36px;
}

.modal-close:hover {
  background: rgba(255, 59, 59, 0.2);
  border-color: rgba(255, 59, 59, 0.5);
  color: #ff3b3b;
  transform: scale(1.1);
}

/* Modal content typography */
#modal-content h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

#modal-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

#modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#modal-content ul li::before {
  content: '✓ ';
  color: var(--blue);
  font-weight: 700;
}

#modal-content ul li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== PROJECTS / MODAL — RESPONSIVE ===== */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 2rem 1.25rem 1.5rem;
    max-height: 90vh;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FUN ZONE SECTION ===== */

/* Section layout */
.funzone-section {
  display: flex;
  flex-direction: column;
}

/* 2×2 grid on desktop */
.funzone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Fun card — flex column with padding */
.fun-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fun-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.fun-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== CLICKER GAME ===== */

.clicker-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Large clickable emoji bolt */
.clicker-bolt {
  font-size: 4.5rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  filter: drop-shadow(0 4px 12px var(--yellow-glow));
}

.clicker-bolt:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 20px var(--yellow-glow)) brightness(1.15);
}

.clicker-bolt:active {
  transform: scale(0.9);
  filter: drop-shadow(0 2px 6px var(--yellow-glow)) brightness(0.9);
}

/* Score display */
.clicker-score {
  font-family: 'Exo 2', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  text-align: center;
  line-height: 1;
}

.clicker-score small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

/* Level badge */
.clicker-level {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, rgba(255,184,0,0.2), rgba(0,170,255,0.2));
  border: 1px solid rgba(255,184,0,0.4);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.5px;
  text-align: center;
  transition: var(--transition);
}

/* ===== JOKE BOX ===== */

.joke-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.joke-text {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 3.5rem;
  transition: opacity 0.3s ease;
  font-style: italic;
}

/* Fade-out class toggled by JS */
.joke-text.fade {
  opacity: 0;
}

/* ===== QUIZ BOX ===== */

.quiz-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.quiz-question {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  min-height: 2.5rem;
}

/* Answer buttons container */
.quiz-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Individual answer option buttons */
.quiz-answers button {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 120px;
  padding: 0.6rem 0.75rem;
  background: var(--dark-card);
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  min-height: 44px;
}

.quiz-answers button:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(0,170,255,0.15), rgba(255,184,0,0.1));
  border-color: var(--blue);
  transform: translateY(-1px);
}

.quiz-answers button:disabled {
  cursor: default;
}

/* Correct answer highlight — green */
.quiz-answers button.correct {
  background: rgba(34,197,94,0.2);
  border-color: #22c55e;
  color: #4ade80;
  font-weight: 700;
}

/* Wrong answer highlight — red */
.quiz-answers button.wrong {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
  color: #f87171;
  font-weight: 700;
}

/* Quiz result message */
.quiz-result {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  min-height: 1.4rem;
  line-height: 1.4;
}

/* ===== DON'T CLICK CARD ===== */

.dont-click-card {
  align-items: flex-start;
}

/* Humorous message below the button */
.dont-click-msg {
  color: var(--yellow);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  min-height: 1.4rem;
  font-style: italic;
  transition: var(--transition);
}

/* ===== FUN ZONE — RESPONSIVE ===== */
@media (max-width: 768px) {
  .funzone-grid {
    grid-template-columns: 1fr;
  }

  .fun-card {
    padding: 1.5rem;
  }

  .clicker-bolt {
    font-size: 3.5rem;
  }

  .quiz-answers button {
    flex: 1 1 100%;
  }
}

/* ===== CONTACT SECTION ===== */

.contact-section {
  display: flex;
  flex-direction: column;
}

/* 2-column grid: info left, form right */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Contact info card */
.contact-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Each contact item: icon + text side by side */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item > span {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-item h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.contact-item p a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item p a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.contact-item small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ===== CONTACT FORM ===== */

.contact-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

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

/* Shared glassmorphism styles for all form controls */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Custom select arrow */
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300AAFF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form select option {
  background: #0f1628;
  color: var(--text-primary);
}

/* Focus state — blue border + glow */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(0, 170, 255, 0.07);
  box-shadow: 0 0 0 3px var(--blue-glow), 0 2px 12px rgba(0, 170, 255, 0.15);
}

/* Light mode adjustments */
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

[data-theme="light"] .contact-form input:focus,
[data-theme="light"] .contact-form select:focus,
[data-theme="light"] .contact-form textarea:focus {
  background: rgba(0, 170, 255, 0.06);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* ===== CONTACT — RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }
}

/* ===== FOOTER ===== */

.footer {
  padding: 2.5rem 2rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue), var(--yellow)) 1;
  background: var(--dark-surface, #0f1628);
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
}

.footer-logo p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  margin: 0;
}

.footer-logo small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: 'Nunito', sans-serif;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
}

.footer-social p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.footer-social small {
  color: var(--text-secondary);
  font-size: 0.78rem;
  opacity: 0.65;
}

/* Easter hint — subtle, small */
.easter-hint {
  display: block;
  font-size: 0.72rem !important;
  opacity: 0.4 !important;
  color: var(--text-secondary) !important;
  font-style: italic;
  margin-top: 0.5rem;
  cursor: default;
  transition: opacity 0.3s;
}

.easter-hint:hover {
  opacity: 0.75 !important;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-social {
    text-align: left;
  }
}

/* ===== TOAST NOTIFICATION ===== */

@keyframes toastSlideIn {
  from { transform: translateX(calc(100% + 2rem)); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

#toast,
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5000;
  min-width: 240px;
  max-width: 360px;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--dark-surface, #0f1628);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  /* Off-screen by default */
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

#toast.show,
.toast.show {
  animation: toastSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: auto;
}

/* Success variant — green */
#toast.toast-success,
.toast.toast-success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(15, 22, 40, 0.95));
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.2), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Error variant — red */
#toast.toast-error,
.toast.toast-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(15, 22, 40, 0.95));
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ===== IDLE MESSAGE ===== */

@keyframes idleSlideIn {
  from { transform: translateX(calc(-100% - 2rem)); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

#idle-msg,
.idle-msg {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.2), rgba(15, 22, 40, 0.95));
  border: 1px solid rgba(0, 170, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 170, 255, 0.1);
  max-width: 340px;
  /* Off-screen by default */
  transform: translateX(calc(-100% - 2rem));
  opacity: 0;
  pointer-events: none;
}

#idle-msg.show,
.idle-msg.show {
  animation: idleSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: auto;
}

#idle-msg span,
.idle-msg span {
  flex: 1;
  line-height: 1.4;
}

#idle-msg button,
.idle-msg button {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  transition: var(--transition);
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#idle-msg button:hover,
.idle-msg button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* ===== SECRET PAGE ===== */

/* Dramatic entrance for the whole overlay */
@keyframes secretReveal {
  0%   { opacity: 0; transform: scale(0.85) rotate(-2deg); filter: blur(12px); }
  60%  { opacity: 1; transform: scale(1.03) rotate(0.5deg); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); }
}

/* Staggered card entrance */
@keyframes secretCardEntrance {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Full-viewport overlay — hidden by default */
#secret-page,
.secret-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: linear-gradient(135deg, #0a0e1a 0%, #0f1628 40%, rgba(0, 170, 255, 0.08) 100%);
  overflow-y: auto;
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* JS sets display:flex to reveal */
#secret-page[style*="display: flex"],
#secret-page[style*="display:flex"] {
  display: flex !important;
}

/* Close button — fixed top-right */
.secret-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 59, 59, 0.2);
  border: 1px solid rgba(255, 59, 59, 0.4);
  border-radius: 25px;
  color: #ff6b6b;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 9001;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.secret-close:hover {
  background: rgba(255, 59, 59, 0.35);
  border-color: rgba(255, 59, 59, 0.7);
  color: #ffffff;
  transform: scale(1.05);
}

/* Content wrapper */
.secret-content {
  max-width: 900px;
  width: 100%;
  margin: 4rem auto 2rem;
  text-align: center;
  animation: secretReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.secret-content h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 30px var(--yellow-glow), 0 0 60px rgba(255, 184, 0, 0.2);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.secret-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* 2×2 grid */
.secret-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

/* Individual secret card */
.secret-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 170, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 170, 255, 0.05);
  transition: var(--transition);
  animation: secretCardEntrance 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.secret-card:nth-child(1) { animation-delay: 0.15s; }
.secret-card:nth-child(2) { animation-delay: 0.25s; }
.secret-card:nth-child(3) { animation-delay: 0.35s; }
.secret-card:nth-child(4) { animation-delay: 0.45s; }

.secret-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 170, 255, 0.5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 170, 255, 0.1);
}

.secret-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.secret-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Konami footer block */
.secret-konami {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: inline-block;
  margin-top: 0.5rem;
}

.secret-konami p {
  color: var(--yellow);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.2rem 0;
  line-height: 1.5;
}

.secret-konami p:last-child {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Secret page responsive */
@media (max-width: 768px) {
  .secret-grid {
    grid-template-columns: 1fr;
  }

  .secret-content {
    margin-top: 5rem;
  }

  .secret-content h1 {
    font-size: 1.5rem;
  }
}

/* ===== FINAL CONSOLIDATED RESPONSIVE BLOCK (≤768px) ===== */
/* Catches anything not already covered by section-specific responsive blocks */
@media (max-width: 768px) {

  /* Section padding — reduce top/bottom and horizontal gutters */
  .section {
    padding: 4rem 1rem 3rem;
  }

  /* Section heading — explicit size floor for very small screens */
  .section-header h2 {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* Touch targets — modal close button (was 36×36, below 44px minimum) */
  .modal-close {
    width: 44px;
    height: 44px;
    min-height: 44px;
    min-width: 44px;
  }

  /* Touch targets — idle message dismiss button */
  #idle-msg button,
  .idle-msg button {
    min-height: 44px;
    min-width: 44px;
  }

  /* Touch targets — nav controls buttons (visible in mobile menu context) */
  .nav-controls button {
    min-height: 44px;
    min-width: 44px;
  }

  /* Touch targets — footer links */
  .footer-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Prevent horizontal overflow on small screens */
  .hero-stats {
    gap: 1rem;
  }

  .stat-item > span:first-child,
  .stat-num {
    font-size: 1.6rem;
  }

  /* About story padding already handled, but ensure values grid gap is tighter */
  .values-grid {
    gap: 0.75rem;
  }

  /* Ensure contact form textarea is usable on mobile */
  .contact-form textarea {
    min-height: 100px;
  }

  /* Idle message — prevent overflow on very narrow screens */
  #idle-msg,
  .idle-msg {
    max-width: calc(100vw - 3rem);
    left: 1rem;
    bottom: 1rem;
  }

  /* Toast — prevent overflow on very narrow screens */
  #toast,
  .toast {
    max-width: calc(100vw - 3rem);
    right: 1rem;
    bottom: 1rem;
    min-width: 0;
  }
}


/* ===== SHIELD IMAGE ===== */
.shield-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px var(--blue-glow));
  animation: shieldRotate 20s linear infinite;
}

/* ===== MERCH SECTION ===== */
.merch-section {
  display: flex;
  flex-direction: column;
}

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

.merch-card {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.merch-card-featured {
  border-color: var(--yellow);
  box-shadow: var(--shadow), 0 0 24px var(--yellow-glow);
}

.merch-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.merch-card:hover .merch-icon {
  transform: scale(1.15);
}

.merch-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.merch-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.merch-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: linear-gradient(135deg, rgba(0,170,255,0.15), rgba(255,184,0,0.15));
  border: 1px solid rgba(0,170,255,0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.3px;
}

.merch-badge-gold {
  background: linear-gradient(135deg, rgba(255,184,0,0.25), rgba(255,184,0,0.1));
  border-color: var(--yellow);
  color: var(--yellow);
}

.merch-price {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.merch-old-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-left: 0.25rem;
}

.merch-btn {
  width: 100%;
  margin-top: auto;
}

.merch-disclaimer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  padding: 1rem;
  border-top: 1px solid var(--dark-border);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== CONTACT DISCLAIMER NOTE ===== */
.contact-disclaimer-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.5;
  text-align: center;
  padding: 0.5rem 0.25rem 0;
  border-top: 1px solid var(--dark-border);
  margin-top: 0.25rem;
}


/* ===== SHIELD INNER OVERRIDE (image replaces emoji icons) ===== */
.shield-inner {
  animation: none;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}


/* ===== SATIRE BANNER (above the fold) ===== */
.satire-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(135deg, #1a0a2e, #0d1b2a);
  border-bottom: 2px solid var(--yellow);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 3rem 0.6rem 1.25rem;
  text-align: center;
  line-height: 1.4;
}

.satire-banner strong {
  color: var(--yellow);
  letter-spacing: 0.5px;
}

.satire-banner-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.satire-banner-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

/* Push navbar down when banner is visible */
#navbar {
  top: 0;
}

body.banner-visible #navbar {
  top: 38px;
}

/* ===== ABOUT DISCLAIMER ===== */
.about-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-color: var(--yellow);
  box-shadow: var(--shadow), 0 0 20px var(--yellow-glow);
}

.about-disclaimer-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.about-disclaimer-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

.about-disclaimer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-disclaimer {
    flex-direction: column;
    padding: 1.25rem;
  }
}

/* ===== CONTACT JOKE SECTION ===== */
.contact-joke-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-joke-card {
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.contact-joke-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: grayscale(0.5);
}

.contact-joke-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.contact-joke-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-style: italic;
}

.contact-joke-card small {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.4;
}

/* Contact real disclaimer box */
.contact-real-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-color: rgba(255,59,59,0.4);
  box-shadow: var(--shadow), 0 0 20px rgba(255,59,59,0.15);
}

.contact-real-disclaimer-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.contact-real-disclaimer h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.contact-real-disclaimer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .contact-joke-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-real-disclaimer {
    flex-direction: column;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .contact-joke-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER DISCLAIMER TEXT ===== */
.footer-disclaimer-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.8;
  line-height: 1.5;
  max-width: 280px;
  margin-bottom: 0.5rem;
}

/* ===== SATIRE BANNER NAVBAR OFFSET ===== */
/* When banner is shown, offset the navbar and hero section */
.satire-banner ~ #navbar,
.satire-banner + #navbar {
  top: 38px;
}


/* ===== SUBMIT SECTION — "Stuur iets leuks" ===== */
.submit-section {
  display: flex;
  flex-direction: column;
}

.submit-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .submit-layout {
    grid-template-columns: 1fr;
  }
}

/* Form wrap */
.submit-form-wrap {
  padding: 2rem;
}

.submit-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.submit-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.req {
  color: var(--yellow);
}

.submit-field input,
.submit-field textarea {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  resize: vertical;
  min-height: 44px;
}

.submit-field input:focus,
.submit-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,170,255,0.15);
}

.submit-field input::placeholder,
.submit-field textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
  opacity: 0.7;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--dark-border);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.upload-zone.drag-over {
  border-color: var(--blue);
  background: rgba(0,170,255,0.05);
}

.upload-zone input[type="file"] {
  display: none;
}

.upload-zone-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-align: center;
}

.upload-zone-inner:hover {
  background: rgba(0,170,255,0.04);
}

.upload-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.upload-zone-inner p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.upload-zone-inner strong {
  color: var(--blue);
}

.upload-zone-inner small {
  color: var(--text-secondary);
  font-size: 0.78rem;
  opacity: 0.7;
}

.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem;
}

.upload-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--dark-border);
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.7);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.65rem;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

/* Category pills */
.submit-category {
  margin-bottom: 1.5rem;
}

.submit-category label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.4rem 1rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  min-height: 36px;
}

.pill:hover {
  border-color: var(--yellow);
  color: var(--text-primary);
}

.pill.active {
  background: linear-gradient(135deg, rgba(255,184,0,0.25), rgba(0,170,255,0.15));
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Submit button */
.submit-btn {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

/* Sidebar */
.submit-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.submit-tip {
  padding: 1.5rem;
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.submit-tip h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.tip-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tip-list li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.submit-hof-promo {
  padding: 1.5rem;
  text-align: center;
  border-color: var(--yellow);
}

.hof-promo-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  animation: trophyBounce 2.5s ease-in-out infinite;
}

@keyframes trophyBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-8px) rotate(3deg); }
}

.submit-hof-promo h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.submit-hof-promo p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hof-link {
  display: inline-flex;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

/* ===== SUBMIT SUCCESS OVERLAY ===== */
.submit-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}

.submit-success-box {
  max-width: 480px;
  width: 100%;
  padding: 3rem 2rem;
  text-align: center;
  animation: modalEnter 0.4s cubic-bezier(0.4,0,0.2,1) both;
}

.submit-success-emoji {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  animation: trophyBounce 1.5s ease-in-out infinite;
}

.submit-success-box h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.submit-success-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.submit-success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.submit-success-actions a {
  text-decoration: none;
}

/* ===== NAV LINK HOF HIGHLIGHT ===== */
.nav-link-hof {
  color: var(--yellow) !important;
  font-weight: 800 !important;
}

.nav-link-hof::after {
  background: linear-gradient(90deg, var(--yellow), var(--blue)) !important;
}


/* ===== MERCH — TBA CARDS ===== */
.merch-card-tba {
  opacity: 0.72;
  filter: grayscale(0.3);
  transition: var(--transition);
}

.merch-card-tba:hover {
  opacity: 0.9;
  filter: grayscale(0);
  transform: translateY(-4px);
}

.merch-icon-tba {
  filter: grayscale(0.5);
}

.merch-badge-tba {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border-color: var(--dark-border);
  color: var(--text-secondary);
}

.merch-price-tba {
  color: var(--text-secondary);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.merch-btn-tba {
  opacity: 0.5;
  cursor: not-allowed !important;
}

.merch-btn-tba:hover {
  transform: none !important;
  box-shadow: none !important;
}


/* ===== NAV LOGIN BUTTON ===== */
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(0,170,255,0.15), rgba(255,184,0,0.1));
  border: 1px solid rgba(0,170,255,0.4);
  border-radius: 20px;
  color: var(--blue);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 36px;
}

.nav-login-btn:hover {
  background: linear-gradient(135deg, rgba(0,170,255,0.3), rgba(255,184,0,0.2));
  border-color: var(--blue);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,170,255,0.25);
}


/* ===== BADGE DEMAND COUNTER LABEL ===== */
.badge-demand-count {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
  margin-top: -0.25rem;
  min-height: 1.1em;
}
