  /* =============== VARIABLES (CYBERPUNK / SPIDER-VERSE THEME) =============== */
:root {
  --bg-deep-black: #0a0a23;
  --bg-darker: #0d0d2b;
  --neon-red: #ff0000;
  --neon-orange: #ff3c00;
  --electric-blue: #447bbe;
  --neon-purple: #9d00ff;
  --metallic-silver: #e0e0e0;
  --text-light: #ffffff;
  --text-muted: #888899;

  --font-heading: "Cinzel Decorative", cursive;
  --font-ui: "Orbitron", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

/* =============== RESET & BASE =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-deep-black);
  color: var(--text-light);
  font-family: var(--font-body);
  position: relative;
}

/* Thwip Web Effect */
.thwip-web {
  position: absolute;
  top: 50vh; /* Start from center screen horizontally */
  left: 50vw; /* Start from center screen vertically */
  width: 0px;
  height: 2px;
  background: white;
  box-shadow: 0 0 8px white, 0 0 15px var(--electric-blue);
  z-index: 9999;
  pointer-events: none;
  transform-origin: 0 50%; /* Scale from the left edge */
  opacity: 0;
}

.thwip-impact {
  position: absolute;
  width: 50px;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="white" stroke-width="2"/><path d="M50 0V100M0 50H100M15 15L85 85M15 85L85 15" stroke="white" stroke-width="2"/></svg>');
  background-size: cover;
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  pointer-events: none;
  z-index: 10000;
  filter: drop-shadow(0 0 10px white);
}


/* Halftone Pattern Overlay */
.halftone-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    radial-gradient(#111 20%, transparent 20%),
    radial-gradient(#111 20%, transparent 20%);
  background-size: 6px 6px;
  background-position:
    0 0,
    3px 3px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 1;
}

/* Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* =============== TYPOGRAPHY & GLITCH =============== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

.glitch {
  position: relative;
  color: white;
  text-shadow:
    2px 2px var(--neon-red),
    -2px -2px #550000;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-red);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: 2px 0 #550000;
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(20px, 9999px, 85px, 0);
  }
  20% {
    clip: rect(60px, 9999px, 15px, 0);
  }
  40% {
    clip: rect(10px, 9999px, 80px, 0);
  }
  60% {
    clip: rect(90px, 9999px, 5px, 0);
  }
  80% {
    clip: rect(40px, 9999px, 90px, 0);
  }
  100% {
    clip: rect(70px, 9999px, 30px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(10px, 9999px, 50px, 0);
  }
  20% {
    clip: rect(80px, 9999px, 20px, 0);
  }
  40% {
    clip: rect(30px, 9999px, 60px, 0);
  }
  60% {
    clip: rect(100px, 9999px, 10px, 0);
  }
  80% {
    clip: rect(5px, 9999px, 80px, 0);
  }
  100% {
    clip: rect(50px, 9999px, 40px, 0);
  }
}
.metallic-red-text {
  font-family: var(--font-heading);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 0, 0, 0.4);
  background: linear-gradient(
    180deg,
    #ff8a8a 0%,
    #ff0000 30%,
    #550000 60%,
    #ff0000 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.fiery-glow {
  filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6))
    drop-shadow(0 0 20px rgba(255, 30, 0, 0.5));
  animation: fireFlicker 5s infinite alternate;
}

/* Fire Background Effect inside Logo */
.fiery-glow::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: radial-gradient(
    circle at center,
    rgba(255, 60, 0, 0.35) 0%,
    transparent 40%
  );
  mix-blend-mode: screen;
  z-index: -1;
  filter: blur(20px);
  animation: fireFlickerBg 3s infinite alternate;
  pointer-events: none;
}

@keyframes fireFlicker {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5))
      drop-shadow(0 0 15px rgba(255, 60, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.8))
      drop-shadow(0 0 25px rgba(255, 100, 0, 0.6));
  }
}

@keyframes fireFlickerBg {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.3;
  }
}

.glitch-heavy {
  font-size: 6rem;
  font-family: var(--font-ui);
  font-weight: 900;
  color: var(--neon-red);
  text-shadow:
    0 0 20px var(--neon-red),
    0 0 40px var(--neon-red);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  from {
    text-shadow: 0 0 10px var(--neon-red);
  }
  to {
    text-shadow:
      0 0 30px var(--neon-red),
      0 0 50px var(--neon-orange);
  }
}

/* =============== LAYOUT =============== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* =============== NAVBAR =============== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #550000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  z-index: 100;
}

.nav-logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  font-size: 2.5rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

.nav-logo-img {
  height: 50px; /* Adjust this value based on your actual PNG dimensions */
  width: auto;
  position: relative;
  z-index: 2;
}

.logo-web {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  pointer-events: none;
}

.logo-web-outer {
  width: 150px;
  height: 150px;
  margin-left: -75px;
  margin-top: -75px;
  stroke: var(--neon-red);
  filter: drop-shadow(0 0 8px var(--neon-red));
  opacity: 0.6;
  animation: rotate-web-outer 15s linear infinite;
}

.logo-web-inner {
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  stroke: var(--electric-blue);
  filter: drop-shadow(0 0 6px var(--electric-blue));
  opacity: 0.8;
  animation: rotate-web-inner 10s linear infinite reverse;
}

@keyframes rotate-web-outer {
  0% {
    transform: rotate(0deg) scale(0.9);
    opacity: 0.4;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: rotate(360deg) scale(0.9);
    opacity: 0.4;
  }
}

@keyframes rotate-web-inner {
  0% {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: rotate(180deg) scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: rotate(360deg) scale(1.1);
    opacity: 0.8;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--metallic-silver);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  transition: 0.3s ease;
}

nav a:hover {
  color: var(--neon-red);
  text-shadow: 0 0 10px var(--neon-red);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 5px var(--neon-red);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--neon-red);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--neon-red);
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-ui);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  margin: 0.5rem;
}

.primary-btn {
  background: var(--neon-red);
  color: white;
  border: 2px solid var(--text-light);
  box-shadow: 0 0 15px var(--neon-red);
}

.primary-btn:hover {
  background: var(--text-light);
  color: var(--neon-red);
  box-shadow: 0 0 25px var(--neon-red);
  transform: scale(1.05);
}

.secondary-btn {
  background: transparent;
  color: var(--electric-blue);
  border: 2px solid var(--electric-blue);
  box-shadow:
    inset 0 0 10px rgba(68, 123, 190, 0.3),
    0 0 10px rgba(68, 123, 190, 0.3);
}

.secondary-btn:hover {
  background: var(--electric-blue);
  color: var(--bg-deep-black);
  box-shadow:
    inset 0 0 20px rgba(68, 123, 190, 0.8),
    0 0 25px rgba(68, 123, 190, 0.8);
}

/* =============== HERO SECTION =============== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 0, 0.15) 0%,
    transparent 60%
  );
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15); /* Lighter overlay for brighter video */
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  opacity: 0.85; /* Increased opacity to make video brighter */
  object-fit: cover;
  pointer-events: none;
}

.hero-content {
  z-index: 2;
  position: relative;
  margin-top: 2rem;
}

.hero-title {
  font-size: 8rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 2.5rem;
  font-family: var(--font-ui);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.white-glow {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
}

.highlight {
  color: var(--neon-red);
  text-shadow: 0 0 10px var(--neon-red), 0 0 20px rgba(255, 0, 0, 0.5);
  font-weight: 900;
}


.hero-college {
  font-size: 1.8rem;
  font-family: var(--font-body);
  font-weight: 800; /* Increased font weight to make it bolder */
  color: var(--electric-blue);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.hero-date-box {
  display: inline-block;
  border: 2px solid var(--neon-red);
  background: rgba(20, 0, 0, 0.6);
  box-shadow:
    0 0 15px rgba(255, 0, 0, 0.4),
    inset 0 0 10px rgba(255, 0, 0, 0.2);
  padding: 0.8rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  border-radius: 4px;
}

.hero-date-box::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--electric-blue);
  box-shadow: 0 0 8px var(--electric-blue);
}

.hero-month {
  font-size: 1.2rem;
  font-family: var(--font-ui);
  color: var(--text-light);
  letter-spacing: 4px;
  margin-bottom: 0.2rem;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.hero-days {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  color: var(--neon-red);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 15px var(--neon-red),
    2px 2px 0 #550000;
}

/* =============== HERO SPIDER WEB ANIMATION =============== */
.hero-top-web-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 100vw;
  height: 300px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.top-center-web {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

.spider-thread-container {
  position: relative;
  display: inline-block;
  z-index: 11;
}

.descending-drop {
  animation: descendFromWeb 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.swinging-pendulum {
  position: relative;
  transform-origin: 50% -40vh;
  animation: webSwing 4s ease-in-out infinite alternate;
}

.web-thread {
  position: absolute;
  bottom: 80%; /* Sink slightly into text so it looks attached */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100vh;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.1)
  );
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  z-index: -1;
}

@keyframes descendFromWeb {
  0% {
    transform: translateY(-100vh);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes webSwing {
  0% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(4deg);
  }
}

/* =============== ABOUT & COMMON PANELS =============== */
.comic-panel {
  background: var(--bg-darker);
  border: 4px solid var(--neon-red);
  box-shadow: 8px 8px 0px var(--electric-blue);
  padding: 3rem;
  position: relative;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
  font-family: var(--font-ui);
  color: var(--metallic-silver);
}

.dept-list {
  list-style: none;
  margin: 1.5rem 0 2rem 2rem;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--text-light);
}

.dept-list li {
  margin-bottom: 0.8rem;
}

.dept-list span {
  color: var(--neon-red);
  margin-right: 10px;
  text-shadow: 0 0 5px var(--neon-red);
}

.subsection-title {
  font-size: 2.5rem;
  color: var(--electric-blue);
  text-align: center;
  margin: 2rem 0 1.5rem 0;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(68, 123, 190, 0.5);
  border-bottom: 2px dashed #333;
  padding-bottom: 1rem;
}

.about-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-event-card {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #333;
  border-left: 4px solid var(--electric-blue);
  padding: 1.5rem;
  transition: 0.3s;
}

.about-event-card:hover {
  border-color: var(--neon-red);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
  transform: translateY(-5px);
}

.about-event-card h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.about-event-card .desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.about-event-card .highlight-text {
  color: var(--electric-blue);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  border-top: 1px dotted #444;
  padding-top: 1rem;
}

.prize-section {
  background: repeating-linear-gradient(
    45deg,
    #05010a,
    #05010a 10px,
    #0a0115 10px,
    #0a0115 20px
  );
  border-top: 3px solid var(--neon-red);
  border-bottom: 3px solid var(--electric-blue);
}

.prize-subtext {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-family: var(--font-ui);
  color: var(--electric-blue);
}

/* =============== CARDS (EVENTS, STRUCTURE, PRICING) =============== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 100%;
}

.comic-card {
  background: var(--bg-deep-black);
  border: 3px solid var(--text-light);
  padding: 2rem;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.comic-card::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--neon-red);
  z-index: -1;
  transition: all 0.3s ease;
}

.comic-card:hover {
  transform: translate(-4px, -4px);
}

.comic-card:hover::after {
  transform: translate(8px, 8px);
  border-color: var(--electric-blue);
  box-shadow: 0 0 20px var(--electric-blue);
}

.structure-card h3 {
  font-size: 2.5rem;
  color: var(--neon-red);
  border-bottom: 2px dashed var(--electric-blue);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.schedule-list {
  list-style: none;
  margin-top: 1.5rem;
  font-family: var(--font-ui);
}

.schedule-list li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

.schedule-list span {
  color: var(--electric-blue);
  font-weight: 700;
}

/* Event Specific Grid Layout */
#events .grid-container {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}

@media (max-width: 1024px) {
  #events .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.event-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card .card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  justify-content: space-between;
  gap: 1.5rem;
}

.event-card .btn {
  margin-top: auto;
  align-self: flex-start; /* reset to original left alignment */
}

.event-card h3 {
  font-size: 1.8rem;
  color: var(--electric-blue);
  margin-bottom: 0;
  word-break: normal;
  hyphens: auto;
}

.event-card .dept {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--neon-red);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* =============== GALLERY =============== */
.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-item {
  padding: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-placeholder {
  height: 250px;
  background: #111;
  border: 2px dashed var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-muted);
}

.hover-glow:hover {
  box-shadow:
    8px 8px 0px var(--neon-red),
    0 0 30px var(--neon-red);
  transform: scale(1.02);
}

/* =============== PRICING & PASSES =============== */
.flex-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.pass-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
  margin: 0 1rem;
}

.pass-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.pass-card p {
  font-family: var(--font-ui);
  margin-bottom: 2rem;
  color: var(--metallic-silver);
}

.premium-glow {
  border-color: var(--neon-purple);
}

.premium-glow::after {
  border-color: var(--neon-red);
  box-shadow: 0 0 20px var(--neon-red);
}

.premium-glow h3 {
  color: var(--electric-blue);
  text-shadow: 0 0 10px var(--electric-blue);
}

.animated-price {
  font-size: 2.8rem;
  color: var(--neon-red);
  font-family: var(--font-heading);
  margin: 1.5rem 0 0.5rem 0;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  animation: pulsePrice 1.5s infinite alternate;
}

.elite-animated-price {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  animation: pulsePriceElite 1.5s infinite alternate;
}

.animated-price .per-head {
  font-size: 1.2rem;
  color: var(--metallic-silver);
  font-family: var(--font-ui);
  text-shadow: none;
}

@keyframes pulsePrice {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  }
  100% {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 60, 0, 0.8);
  }
}

@keyframes pulsePriceElite {
  0% {
    transform: scale(1);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
  }
  100% {
    transform: scale(1.1);
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
  }
}

.price {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--neon-red);
  margin-bottom: 1rem;
}

/* =============== REGISTRATION FORM =============== */
.registration-section {
  background: linear-gradient(
    180deg,
    var(--bg-darker) 0%,
    var(--bg-deep-black) 100%
  );
}

.form-container {
  max-width: 800px;
}

.glowing-border {
  border: 2px solid var(--neon-red);
  box-shadow:
    0 0 20px rgba(255, 0, 60, 0.5),
    inset 0 0 20px rgba(255, 0, 60, 0.2);
}

.form-subtitle {
  font-family: var(--font-ui);
  color: var(--electric-blue);
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 0.5rem;
  margin: 2rem 0 1.5rem 0;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--metallic-silver);
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--text-muted);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--neon-red);
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

select option {
  background: var(--bg-deep-black);
  color: white;
}

.submit-btn {
  width: 100%;
  margin-top: 2rem;
  font-size: 1.5rem;
}

/* =============== MODALS =============== */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  animation: modalanim 0.4s;
  border-color: var(--neon-red);
  box-shadow: 10px 10px 0px var(--electric-blue);
}

.modal-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--text-muted);
  padding-bottom: 1rem;
}

@keyframes modalanim {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  color: var(--text-light);
  float: right;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: var(--neon-red);
  text-shadow: 0 0 10px var(--neon-red);
}

.modal-body {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}



.details {
  flex: 1;
  width: 100%;
}

.details p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.details strong {
  color: var(--electric-blue);
  font-family: var(--font-ui);
}

/* =============== FOOTER =============== */
.main-footer {
  background-color: var(--bg-darker);
  border-top: 2px solid #550000;
  padding: 3rem 1rem 1rem 1rem;
  position: relative;
  z-index: 10;
}

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

.footer-college-info {
  flex: 1;
  min-width: 300px;
}

.footer-college-info h3 {
  color: var(--neon-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
}

.footer-college-info p {
  color: var(--metallic-silver);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contacts {
  display: flex;
  flex: 2;
  gap: 3rem;
  flex-wrap: wrap;
  min-width: 300px;
}

.contact-group {
  flex: 1;
  min-width: 250px;
}

.contact-group h4 {
  color: var(--electric-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}

.contact-group p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Premium Contact Styles */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 0, 60, 0.05);
  border-left-color: var(--neon-red);
}

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

.contact-name {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-dept {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.contact-phone {
  font-size: 0.85rem;
  color: var(--neon-red);
  font-family: var(--font-ui);
  display: block;
  margin-top: 2px;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--neon-red);
  color: white !important;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.2);
}

.call-btn:hover {
  background: white;
  color: var(--neon-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.call-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-ui);
}

/* =============== SPIDER-VERSE THEME =============== */
.spider-web-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    radial-gradient(
      circle at top left,
      transparent 20%,
      rgba(255, 0, 0, 0.05) 20%,
      rgba(255, 0, 0, 0.05) 21%,
      transparent 21%
    ),
    radial-gradient(
      circle at top left,
      transparent 40%,
      rgba(255, 0, 0, 0.05) 40%,
      rgba(255, 0, 0, 0.05) 41%,
      transparent 41%
    ),
    radial-gradient(
      circle at top left,
      transparent 60%,
      rgba(255, 0, 0, 0.05) 60%,
      rgba(255, 0, 0, 0.05) 61%,
      transparent 61%
    ),
    radial-gradient(
      circle at top left,
      transparent 80%,
      rgba(255, 0, 0, 0.05) 80%,
      rgba(255, 0, 0, 0.05) 81%,
      transparent 81%
    ),
    linear-gradient(
      45deg,
      transparent 49%,
      rgba(68, 123, 190, 0.05) 49%,
      rgba(68, 123, 190, 0.05) 51%,
      transparent 51%
    ),
    linear-gradient(
      -45deg,
      transparent 49%,
      rgba(68, 123, 190, 0.05) 49%,
      rgba(68, 123, 190, 0.05) 51%,
      transparent 51%
    );
  background-size:
    200px 200px,
    200px 200px,
    200px 200px,
    200px 200px,
    100% 100%,
    100% 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.spider-section {
  position: relative;
}

.spider-section::after {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6rem;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--neon-red),
    transparent
  );
  z-index: 1;
  animation: flow-line 3s infinite linear;
}

@keyframes flow-line {
  0% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px var(--neon-red);
  }
  100% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

.glowing-border {
  border: 2px solid var(--neon-red);
  box-shadow:
    0 0 15px rgba(255, 0, 0, 0.3),
    inset 0 0 15px rgba(255, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.glowing-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--electric-blue),
    transparent
  );
  animation: scan-line 4s infinite linear;
}

@keyframes scan-line {
  0% {
    left: -100%;
    top: 0;
  }
  25% {
    left: 100%;
    top: 0;
  }
  25.001% {
    right: 0;
    top: -100%;
    width: 2px;
    height: 50%;
    background: linear-gradient(
      180deg,
      transparent,
      var(--neon-purple),
      transparent
    );
  }
  50% {
    right: 0;
    top: 100%;
  }
  50.001% {
    right: -100%;
    bottom: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(
      270deg,
      transparent,
      var(--neon-red),
      transparent
    );
  }
  75% {
    right: 100%;
    bottom: 0;
  }
  75.001% {
    left: 0;
    bottom: -100%;
    width: 2px;
    height: 50%;
    background: linear-gradient(
      0deg,
      transparent,
      var(--electric-blue),
      transparent
    );
  }
  100% {
    left: 0;
    bottom: 100%;
  }
}

/* Highlight Nav Item */
.highlight-register-nav {
  color: var(--neon-red) !important;
  text-shadow: 0 0 10px var(--neon-red);
  animation: text-pulse 2s infinite alternate;
}

@keyframes text-pulse {
  from {
    text-shadow: 0 0 5px var(--neon-red);
  }
  to {
    text-shadow:
      0 0 15px var(--neon-red),
      0 0 30px #ff0000;
  }
}

/* Highlight Registration Section */
.registration-section .container {
  animation: section-box-pulse 3s infinite alternate;
}

@keyframes section-box-pulse {
  from {
    box-shadow:
      0 0 15px rgba(255, 0, 0, 0.3),
      inset 0 0 15px rgba(255, 0, 0, 0.1);
  }
  to {
    box-shadow:
      0 0 30px rgba(255, 0, 0, 0.6),
      inset 0 0 30px rgba(255, 0, 0, 0.3);
    border-color: #ff3333;
  }
}

/* Event Card Hover Enhancement - Web Spider */
.event-card {
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(68, 123, 190, 0.1) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.event-card:hover::before {
  opacity: 1;
}

/* Deep Integration SVG Styles */
.cyber-web {
  pointer-events: none; /* Never block clicks */
}

/* Corner Webs for Hero */
.corner-web {
  position: absolute;
  width: 300px;
  height: 300px;
  stroke: var(--neon-red);
  filter: drop-shadow(0 0 8px var(--neon-red));
  opacity: 0.45;
  z-index: 1;
  animation: web-breathe-red 6s ease-in-out infinite alternate;
}

.corner-web.top-left {
  top: 0;
  left: 0;
}

.corner-web.bottom-right {
  bottom: 0;
  right: 0;
}

/* Pervasive Animated Background Webs */
.bg-web {
  position: absolute;
  width: 400px;
  height: 400px;
  stroke: var(--electric-blue);
  filter: drop-shadow(0 0 10px var(--electric-blue));
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  animation: web-breathe-blue 8s ease-in-out infinite alternate;
}

.bg-web-red {
  stroke: var(--neon-red);
  filter: drop-shadow(0 0 10px var(--neon-red));
  animation: web-breathe-red 8s ease-in-out infinite alternate;
}

.bg-web-left {
  top: -100px;
  left: -150px;
}

.bg-web-right {
  bottom: -100px;
  right: -150px;
  animation-delay: 2s; /* Desync animation */
}

.bg-web-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.1;
  animation: web-breathe-center 10s ease-in-out infinite alternate;
}

@keyframes web-breathe-blue {
  0% {
    transform: scale(0.95) rotate(-2deg);
    opacity: 0.1;
    filter: drop-shadow(0 0 5px var(--electric-blue));
  }
  100% {
    transform: scale(1.05) rotate(2deg);
    opacity: 0.3;
    filter: drop-shadow(0 0 15px var(--electric-blue));
  }
}

@keyframes web-breathe-red {
  0% {
    transform: scale(0.95) rotate(2deg);
    opacity: 0.1;
    filter: drop-shadow(0 0 5px var(--neon-red));
  }
  100% {
    transform: scale(1.05) rotate(-2deg);
    opacity: 0.3;
    filter: drop-shadow(0 0 15px var(--neon-red));
  }
}

@keyframes web-breathe-center {
  0% {
    transform: translate(-50%, -50%) scale(0.95) rotate(-5deg);
    opacity: 0.05;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.05) rotate(5deg);
    opacity: 0.15;
  }
}

/* Section Dividers */
.section-divider {
  width: 100%;
  height: 50px;
  position: relative;
  margin: -2rem 0; /* Merge seamlessly between sections */
  z-index: 5;
  display: flex;
  justify-content: center;
}

.divider-web {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  stroke: var(--electric-blue);
  filter: drop-shadow(0 0 5px var(--electric-blue));
}

.card-content {
  position: relative;
  z-index: 2;
}

/* =============== SPIDER-VERSE NAV ANIMATION =============== */
.nav-web-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: visible;
}

.shooting-web {
  fill: none;
  stroke: var(--neon-red);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px var(--neon-red))
    drop-shadow(0 0 20px var(--neon-red));
  /* stroke-dasharray and stroke-dashoffset will be set dynamically via JS */
  animation:
    shoot-web 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards,
    web-fade 0.4s 0.6s ease-out forwards;
}

@keyframes shoot-web {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes web-fade {
  to {
    opacity: 0;
  }
}

/* =============== RESPONSIVE =============== */
/* =============== RESPONSIVE =============== */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    height: 70px !important;
    z-index: 102 !important;
  }

  .hamburger {
    display: flex !important;
  }

  #nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    transition: left 0.4s ease-in-out;
    border-top: 2px solid var(--neon-red);
    display: flex !important;
  }

  #nav-menu.active {
    left: 0 !important;
  }

  nav ul {
    flex-direction: column !important;
    gap: 2rem !important;
    text-align: center;
  }

  nav a {
    font-size: 1.5rem !important;
  }

  .hero-title {
    font-size: 3.5rem !important;
  }
  .hero-subtitle {
    font-size: 1.2rem !important;
  }
  .hero-college {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .hero-dates {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
  }
  .section-title {
    font-size: 2.2rem !important;
  }
  .glitch-heavy {
    font-size: 3rem !important;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .grid-container {
    grid-template-columns: 1fr !important;
  }
  .flex-container {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  .pass-card {
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-logo-img {
    height: 45px !important;
  }

  .comic-panel {
    padding: 1.5rem !important;
  }

  .btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0.5rem 0 !important;
    padding: 1.2rem 1rem !important;
    box-sizing: border-box !important;
  }

  .footer-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 2rem !important;
  }

  .footer-contacts {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .modal-content {
    width: 95% !important;
    margin: 10% auto !important;
  }
  .modal-body {
    flex-direction: column !important;
  }


  /* Responsive SVGs */
  .corner-web {
    width: 150px !important;
    height: 150px !important;
    opacity: 0.3 !important;
  }
  .logo-web {
    width: 80px !important;
    height: 80px !important;
  }

  /* Fix Glitch Text Blurriness on Mobile */
  .glitch::before {
    left: 1px !important;
    text-shadow: -1px 0 var(--neon-red) !important;
    animation: none !important;
  }
  .glitch::after {
    left: -1px !important;
    text-shadow: 1px 0 #550000 !important;
    animation: none !important;
  }
}

/* Spider-Man Animation */
#spiderman-vid {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 600px;
  height: auto;
  transform: rotate(180deg);
  z-index: 10;
  pointer-events: none;
  mix-blend-mode: screen; /* This removes the black background! */
  opacity: 0.9;
}

@media (max-width: 768px) {
  #spiderman-vid {
    width: 350px;
    right: -20px;
    top: -50px;
  }
}

/* =============== SERVICES SECTION =============== */
.services-section {
  padding: 4rem 0;
}

.services-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(10, 10, 35, 0.7);
  border: 1px solid rgba(68, 123, 190, 0.2);
  border-left: 3px solid var(--electric-blue);
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(68,123,190,0.05) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 4px;
}

.service-item:hover {
  border-left-color: var(--neon-red);
  background: rgba(15, 5, 40, 0.85);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.15), 4px 0 0 var(--neon-red);
  transform: translateX(4px);
}

.service-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  filter: drop-shadow(0 0 6px rgba(68,123,190,0.7));
  transition: 0.3s;
}

.service-item:hover .service-icon {
  color: var(--neon-red);
  filter: drop-shadow(0 0 8px rgba(255,0,0,0.8));
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-text h3 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* College Image on the right */
.services-image {
  position: relative;
  border: 3px solid var(--neon-red);
  box-shadow:
    0 0 25px rgba(255, 0, 0, 0.35),
    8px 8px 0 var(--electric-blue);
  border-radius: 4px;
  overflow: hidden;
  min-height: 350px;
}

.college-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 350px;
  filter: brightness(0.85) contrast(1.1);
  transition: filter 0.4s ease;
}

.services-image:hover .college-img {
  filter: brightness(1) contrast(1.1);
}

.college-img-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255,0,0,0.08), rgba(68,123,190,0.1));
  min-height: 350px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  flex-direction: column;
  gap: 1rem;
}

.college-img-fallback p {
  margin-top: 1rem;
  color: var(--electric-blue);
  text-shadow: 0 0 8px rgba(68,123,190,0.6);
}

@media (max-width: 900px) {
  .services-container {
    grid-template-columns: 1fr;
  }
  .services-image {
    min-height: 260px;
    order: -1;
  }
  .college-img {
    min-height: 260px;
  }
}

/* =============== LOCATION SECTION =============== */
.location-section {
  padding: 4rem 0;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.location-college-name {
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-red);
  text-shadow: 0 0 10px rgba(255,0,0,0.4);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-address {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.location-details {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-detail-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--metallic-silver);
  padding: 0.8rem 1rem;
  background: rgba(10,10,35,0.6);
  border: 1px solid rgba(68,123,190,0.2);
  border-radius: 4px;
}

.loc-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--electric-blue);
  filter: drop-shadow(0 0 4px rgba(68,123,190,0.7));
}

.location-map {
  border: 3px solid var(--electric-blue);
  box-shadow:
    0 0 25px rgba(68,123,190,0.4),
    8px 8px 0 var(--neon-red);
  border-radius: 4px;
  overflow: hidden;
}

.location-map iframe {
  display: block;
  width: 100%;
  filter: hue-rotate(200deg) saturate(0.6) brightness(0.85);
  transition: filter 0.4s ease;
}

.location-map:hover iframe {
  filter: hue-rotate(200deg) saturate(0.9) brightness(1);
}

@media (max-width: 900px) {
  .location-container {
    grid-template-columns: 1fr;
  }
  .location-map iframe {
    height: 280px;
  }
}

/* Checkbox Selection Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-red);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked {
    background: var(--neon-red);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-item input[type="checkbox"]:disabled {
    border-color: #444;
    cursor: not-allowed;
    opacity: 0.5;
}

.checkbox-item label {
    margin-bottom: 0 !important;
    cursor: pointer;
    font-family: var(--font-ui);
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkbox-item input[type="checkbox"]:disabled + label {
    color: #555;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .checkbox-group {
        padding: 0.8rem;
    }
    .checkbox-item label {
        font-size: 0.85rem;
    }
    
    .footer-contacts {
        gap: 2.5rem;
        min-width: 0; /* Remove restriction for mobile */
    }
    .contact-group {
        min-width: 100%; /* Take full width to prevent side-by-side clipping */
    }
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.2rem;
        flex-wrap: wrap; /* Allow stacking on very small screens */
        gap: 1rem;
    }
    .contact-info {
        flex: 1;
        min-width: 150px; /* Ensure text doesn't get too squashed before stacking */
    }
    .contact-name {
        font-size: 0.95rem;
    }
    .contact-phone {
        font-size: 0.85rem !important;
        margin-top: 6px;
        letter-spacing: 1.2px;
    }
    .call-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        width: 100%; /* Full width button on mobile for better touch target */
        justify-content: center;
    }
}

/* Extra tight screens (unlikely but safe) */
@media (max-width: 400px) {
    .main-footer {
        padding: 2rem 0.5rem;
    }
    .contact-item {
        padding: 0.8rem;
    }
    .contact-name {
        font-size: 0.85rem;
    }
}
