/* ============================================================
   CatHacks Landing Page — Maximalist / Dopamine Design System
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800;900&family=DM+Sans:wght@400;500;700&family=Bangers&display=swap');

/* --- Design Tokens (CSS Custom Properties) --- */
:root {
  --bg: #0A1628;
  --fg: #FFFFFF;
  --muted: #132D52;

  --accent-1: #2E86DE;
  /* Bright Blue */
  --accent-2: #00D2FF;
  /* Electric Cyan */
  --accent-3: #54A0FF;
  /* Medium Blue */
  --accent-4: #1B6DB5;
  /* Deep Blue */
  --accent-5: #7EC8E3;
  /* Sky Blue */

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Bangers', cursive;

  --radius-card: 24px;
  --radius-container: 16px;
  --radius-button: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.625;
  overflow-x: hidden;
  position: relative;
}

/* Global pattern overlays */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(46, 134, 222, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 14px,
      rgba(0, 210, 255, 0.04) 14px,
      rgba(0, 210, 255, 0.04) 28px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

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

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

section {
  position: relative;
  z-index: 10;
}

/* --- Keyframe Animations --- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(20px) rotate(-5deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(46, 134, 222, 0.5);
  }

  50% {
    box-shadow: 0 0 40px rgba(46, 134, 222, 0.8), 0 0 60px rgba(0, 210, 255, 0.5);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes bounce-subtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* --- Utility Classes --- */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-gradient {
  animation: gradient-shift 4s ease infinite;
  background-size: 300% 300%;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

.animate-bounce-subtle {
  animation: bounce-subtle 2s ease-in-out infinite;
}

.gradient-text {
  background: linear-gradient(90deg, #FFFFFF, var(--accent-2), #FFFFFF, var(--accent-5), #FFFFFF);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

.text-shadow-triple {
  text-shadow: 2px 2px 0px #accaf3, 4px 4px 0px var(--accent-4), 6px 6px 0px #041225;
}

.text-shadow-mega {
  text-shadow: 4px 4px 0px #041225, 8px 8px 0px var(--accent-4), 12px 12px 0px #041225;
}

.text-shadow-double {
  text-shadow: 2px 2px 0px #041225, 4px 4px 0px var(--accent-4);
}

.text-shadow-single {
  text-shadow: 2px 2px 0px #041225;
}

/* Floating decorative shapes */
.floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  will-change: transform;
}

/* Tint emojis white */
.emoji {
  filter: grayscale(0.8) brightness(2);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  transition: all 0.3s ease-out;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--accent-1);
  box-shadow: 0 4px 32px rgba(46, 134, 222, 0.3);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--fg);
  text-shadow: 2px 2px 0px var(--accent-4);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--fg);
  transition: all 0.2s ease-out;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 2px;
  transition: width 0.3s ease-out;
}

.nav-links a:hover {
  color: var(--accent-2);
  transform: scale(1.05);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:focus-visible {
  outline: 3px dashed var(--accent-3);
  outline-offset: 6px;
  border-radius: 4px;
}

/* --- Buttons --- */
/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--fg);
  /* Premium multi-layer background: shimmer + base gradient */
  background: 
    linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%) no-repeat -200% 0 / 200% 100%,
    linear-gradient(135deg, var(--accent-1), var(--accent-5), var(--accent-2));
  background-size: 200% 100%, 200% 200%;
  border: 4px solid var(--accent-3);
  border-radius: var(--radius-button);
  padding: 16px 44px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: 
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    background-position 0.8s ease;
  box-shadow:
    0 0 20px rgba(46, 134, 222, 0.4),
    6px 6px 0 var(--accent-4),
    12px 12px 0 var(--bg);
  text-decoration: none;
}

/* Bloom effect */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.5s ease;
}

.btn-primary:hover {
  transform: scale(1.03) translateY(-4px);
  background-position: 200% 0, 100% 50%;
  box-shadow:
    0 0 40px rgba(0, 210, 255, 0.6),
    8px 8px 0 var(--accent-4),
    16px 16px 0 var(--bg);
}

.btn-primary:hover::before {
  opacity: 0.4;
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
  box-shadow:
    0 0 10px rgba(46, 134, 222, 0.4),
    2px 2px 0 var(--accent-4);
}

.btn-primary:focus-visible {
  outline: 4px solid var(--accent-2);
  outline-offset: 6px;
}

/* Navbar specific override for Register button */
.navbar .btn-primary {
  box-shadow: 0 0 15px rgba(46, 134, 222, 0.3);
  border-width: 2px;
}

.navbar .btn-primary:hover {
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.5);
  transform: scale(1.05); /* Simpler scale for nav */
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-2);
  background: rgba(0, 210, 255, 0.05);
  border: 3px dashed var(--accent-2);
  border-radius: var(--radius-button);
  padding: 12px 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-secondary:hover {
  background: rgba(0, 210, 255, 0.15);
  border-style: solid;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.btn-secondary:hover::after {
  left: 100%;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 128px 24px 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(46, 134, 222, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 210, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(126, 200, 227, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  letter-spacing: 6px;
  line-height: 0.9;
  margin-bottom: 24px;
  text-shadow: 4px 4px 0px #ffffff, 8px 8px 0px var(--accent-4), 12px 12px 0px #041225;
}

.hero-date {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  color: var(--fg);
  text-shadow: 2px 2px 0px #041225, 0 0 20px rgba(0, 210, 255, 0.6);
  margin-bottom: 16px;
}

.hero-orgs {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.hero-orgs span {
  color: var(--accent-2);
}

.hero-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 25vw, 300px);
  opacity: 0.06;
  color: var(--accent-1);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  user-select: none;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 128px 24px;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: conic-gradient(from 90deg at 1px 1px,
      transparent 90deg,
      rgba(0, 210, 255, 0.04) 0);
  background-size: 40px 40px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 20px;
  border: 4px dashed;
  border-radius: var(--radius-button);
  transform: rotate(-2deg);
}

.section-heading {
  font-size: clamp(48px, 8vw, 80px);
  margin-bottom: 32px;

}

.about-text {
  font-size: 22px;
  line-height: 1.7;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.85);
}

.about-card {
  background: rgba(10, 30, 60, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 4px solid var(--accent-2);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: 8px 8px 0 var(--accent-3), 16px 16px 0 var(--accent-1);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(46, 134, 222, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* --- SCHEDULE DAY CARDS --- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.schedule-day-card {
  display: flex;
  align-items: stretch;
  background: rgba(10, 30, 60, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 4px solid var(--accent-2);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.schedule-day-card:nth-child(1) {
  box-shadow: 8px 8px 0 var(--accent-3), 16px 16px 0 var(--accent-1);
  transform: rotate(-1deg);
}

.schedule-day-card:nth-child(2) {
  box-shadow: 8px 8px 0 var(--accent-1), 16px 16px 0 var(--accent-3);
  transform: rotate(1deg);
}

.schedule-day-card:hover {
  transform: scale(1.03) rotate(0deg) translateY(-4px);
  box-shadow: 12px 12px 0 var(--accent-2), 24px 24px 0 var(--accent-4);
}

.schedule-day-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(46, 134, 222, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
}

.schedule-day-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 4px;
  position: relative;
  z-index: 2;
  min-width: 100px;
}

.day-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
}

.day-number {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--accent-1);
  line-height: 1;
  text-shadow: 2px 2px 0px var(--accent-4);
}

.day-month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-5);
}

.schedule-day-divider {
  width: 4px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-1), var(--accent-2));
  border-radius: 2px;
  margin: 24px 0;
  flex-shrink: 0;
}

.schedule-day-content {
  padding: 32px 32px 32px 28px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.schedule-day-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.schedule-time {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  color: var(--fg);
  text-shadow: 2px 2px 0px var(--accent-4);
  margin-bottom: 12px;
  line-height: 1.1;
}

.schedule-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.schedule-list li {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.schedule-location {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}


/* --- FOOD BANNER --- */
.food-banner {
  padding: 48px 0;
  overflow: hidden;
  position: relative;
  border-top: 8px solid var(--accent-3);
  border-bottom: 8px solid var(--accent-1);
  background: linear-gradient(135deg, rgba(27, 109, 181, 0.15), rgba(46, 134, 222, 0.1));
}

.food-banner-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 32px;
  text-shadow: 3px 3px 0px #82b6ff, 6px 6px 0px var(--accent-4);
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.food-card {
  flex-shrink: 0;
  width: 240px;
  border: 4px solid;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(10, 30, 60, 0.9);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-out;
}

.food-card:hover {
  transform: scale(1.05) rotate(2deg);
}

.food-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.food-card-label {
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}

/* --- TRACK SECTION --- */
.track {
  padding: 128px 24px;
  position: relative;
}

.track::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(27, 109, 181, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 60%, rgba(0, 210, 255, 0.08) 0%, transparent 50%);
}

.track-card {
  background: rgba(10, 30, 60, 0.85);
  backdrop-filter: blur(8px);
  border: 8px dashed var(--accent-4);
  border-radius: var(--radius-card);
  padding: 64px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 12px 12px 0 var(--accent-3), 24px 24px 0 var(--accent-5);
  position: relative;
  overflow: hidden;
}

.track-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 8px,
      rgba(27, 109, 181, 0.06) 8px,
      rgba(27, 109, 181, 0.06) 16px);
}

.track-emoji {
  font-size: 72px;
  display: block;
  margin-bottom: 24px;
}

.track-text {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

/* --- PRIZES SECTION --- */
.prizes {
  padding: 128px 24px;
  position: relative;
}

.prizes::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 45%, rgba(46, 134, 222, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 55%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.prize-card {
  background: rgba(10, 30, 60, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 4px solid;
  border-radius: var(--radius-card);
  padding: 48px 32px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.prize-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
}

.prize-card:nth-child(1) {
  border-color: var(--accent-3);
  box-shadow: 8px 8px 0 var(--accent-1), 16px 16px 0 var(--accent-5);
  transform: rotate(-2deg);
}

.prize-card:nth-child(1)::after {
  background-image: radial-gradient(circle, var(--accent-3) 1px, transparent 1px);
  background-size: 16px 16px;
}

.prize-card:nth-child(2) {
  border-color: var(--accent-2);
  box-shadow: 8px 8px 0 var(--accent-4), 16px 16px 0 var(--accent-1);
  transform: translateY(-16px) rotate(1deg);
}

.prize-card:nth-child(2)::after {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 6px, var(--accent-2) 6px, var(--accent-2) 12px);
  background-size: 20px 20px;
}

.prize-card:nth-child(3) {
  border-color: var(--accent-4);
  box-shadow: 8px 8px 0 var(--accent-2), 16px 16px 0 var(--accent-3);
  transform: rotate(2deg);
}

.prize-card:nth-child(3)::after {
  background-image: conic-gradient(from 90deg at 1px 1px, transparent 90deg, var(--accent-4) 0);
  background-size: 14px 14px;
}

.prize-card:hover {
  transform: scale(1.04) rotate(0deg) translateY(-8px);
  box-shadow: 12px 12px 0 var(--accent-1), 24px 24px 0 var(--accent-2), 36px 36px 0 var(--accent-3);
}

.prize-emoji {
  font-size: 72px;
  display: block;
  margin-bottom: 16px;
}

.prize-place {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.prize-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* --- REGISTER SECTION --- */
.register {
  padding: 128px 24px;
  text-align: center;
  position: relative;
}

.register::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(27, 109, 181, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 50%, rgba(46, 134, 222, 0.15) 0%, transparent 50%);
}

.register-card {
  background: rgba(10, 30, 60, 0.85);
  backdrop-filter: blur(12px);
  border: 8px solid var(--accent-5);
  border-radius: var(--radius-card);
  padding: 80px 48px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow:
    0 0 40px rgba(27, 109, 181, 0.4),
    0 0 80px rgba(46, 134, 222, 0.2),
    12px 12px 0 var(--accent-2),
    24px 24px 0 var(--accent-3);
  position: relative;
  overflow: hidden;
}

.register-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(27, 109, 181, 0.06) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.register-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.register-card .btn-primary {
  font-size: 18px;
  padding: 18px 48px;
  position: relative;
  z-index: 2;
}

/* --- FOOTER --- */
.footer {
  padding: 64px 24px 32px;
  border-top: 8px solid var(--accent-5);
  background: rgba(10, 30, 60, 0.4);
  position: relative;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--fg);
  text-shadow: 2px 2px 0px var(--accent-4);
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-1);
}

.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 2px dashed rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* --- SECTION DIVIDERS --- */
.section-divider {
  height: 8px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4), var(--accent-5));
}

/* --- MOBILE NAV TOGGLE --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(13, 13, 26, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 32px;
    border-left: 4px solid var(--accent-1);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 55;
  }

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

  .nav-links a {
    font-size: 18px;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero-title {
    text-shadow: 3px 3px 0px var(--accent-5), 6px 6px 0px var(--accent-1);
  }

  .about-card {
    padding: 32px 24px;
    box-shadow: 6px 6px 0 var(--accent-3), 12px 12px 0 var(--accent-1) !important;
    transform: none !important;
    max-width: 100%;
    margin: 0 8px; /* Symmetric offset for centering */
    width: auto;
  }

  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 8px; /* Symmetric offset for centering */
  }

  .prize-card {
    box-shadow: 6px 6px 0 var(--accent-1), 12px 12px 0 var(--accent-2) !important;
    transform: none !important;
    max-width: 100%;
  }

  .prize-card:nth-child(1),
  .prize-card:nth-child(3) {
    transform: none !important;
  }

  .prize-card:nth-child(2) {
    transform: none !important;
  }

  .track-card {
    padding: 48px 24px;
    box-shadow: 6px 6px 0 var(--accent-3), 12px 12px 0 var(--accent-5) !important;
    transform: none !important;
    max-width: 100%;
    margin: 0 8px; /* Symmetric offset for centering */
    width: auto;
    border-width: 4px; /* Slightly thinner dashed border for mobile */
  }

  .register-card {
    padding: 48px 24px;
    box-shadow: 6px 6px 0 var(--accent-2), 12px 12px 0 var(--accent-3) !important;
    transform: none !important;
    max-width: 100%;
    margin: 0 8px; /* Symmetric offset for centering */
    width: auto;
  }

  .register-card .btn-primary {
    font-size: 16px;
    padding: 14px 28px;
    width: calc(100% - 16px);
    max-width: 300px;
  }

  /* --- ABOUT SECTION MOBILE FIXES --- */
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 8px; /* Symmetric offset for centering */
  }

  .schedule-day-card {
    flex-direction: column;
    transform: none !important;
    box-shadow: 6px 6px 0 var(--accent-3), 12px 12px 0 var(--accent-1) !important;
  }

  .schedule-day-card:hover {
    transform: scale(1.02) !important;
    box-shadow: 8px 8px 0 var(--accent-2), 16px 16px 0 var(--accent-4) !important;
  }

  .schedule-day-sidebar {
    flex-direction: row;
    padding: 24px;
    justify-content: flex-start;
    gap: 16px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
  }

  .schedule-day-divider {
    display: none;
  }

  .day-number {
    font-size: 48px;
  }

  .schedule-day-content {
    padding: 24px;
  }

  .schedule-time {
    font-size: 32px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 52;
}

.nav-overlay.active {
  display: block;
}

/* Decorative spinning ring */
.hero-ring {
  position: absolute;
  border: 4px dashed var(--accent-1);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
  animation: spin-slow 25s linear infinite;
}

.hero-ring-1 {
  width: 500px;
  height: 500px;
  top: 0%;
  left: -10%;
  transform: translate(-50%, -50%);
  border-color: var(--accent-1);
}

.hero-ring-2 {
  width: 700px;
  height: 700px;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  border-color: var(--accent-5);
  animation-direction: reverse;
  animation-duration: 35s;
}

/* Binary cyber matrix canvas — clipped to hero ring circle */
#binaryBg {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 25%;
  left: 0%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  clip-path: circle(50%);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
}

#binaryBg2 {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 85%;
  left: 90%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  clip-path: circle(50%);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 70%);
}