/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #9b5cff;
  --secondary: #ff34ff;
  --success: #2affb6;
  --danger: #ff0055;
  --bg-dark: #0a0812;
  --bg-card: #120f1f;
  --text-light: #f2e7ff;
  --text-muted: #b6a8d8;
  --border-color: #1f1734;
  --transition: all 0.3s ease;
  --shadow-glow: 0 0 25px rgba(155, 92, 255, 0.32), 0 0 42px rgba(255, 52, 255, 0.25);
}

/* ===== GLOBAL STYLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Courier New', 'Courier', monospace, system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(155, 92, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 52, 255, 0.2), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(42, 255, 182, 0.12), transparent 26%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(35% 25% at 20% 30%, rgba(255, 52, 255, 0.35), transparent 50%),
    radial-gradient(30% 20% at 75% 20%, rgba(155, 92, 255, 0.38), transparent 55%),
    radial-gradient(45% 30% at 60% 75%, rgba(42, 255, 182, 0.25), transparent 50%);
  filter: blur(48px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: auroraShift 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Courier New', 'Courier', monospace, sans-serif;
  letter-spacing: 0.05em;
}

a { color: var(--cyan); text-decoration: none; }

.nav-links a { height: auto; width: auto; margin: 0; padding: 6px 4px; display: inline-block; }

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(155, 92, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 52, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 1;
  animation: gridDrift 24s linear infinite;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10, 10, 15, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
}
.logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(155,92,255,0.45));
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  align-items: center;
}

.nav-links a { 
  color: var(--text); 
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
  display: inline-block;
  position: relative;
}
.nav-links a:hover { 
  color: var(--cyan); 
  text-shadow: 0 0 10px var(--cyan);
  transform: translateY(-2px);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

.cta-group { display: flex; align-items: center; gap: 12px; }

.btn {
  border: 1px solid var(--cyan);
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.35);
}
.btn.primary {
  background: linear-gradient(120deg, var(--cyan), var(--pink));
  color: #0a0a0f;
  border: none;
  box-shadow: var(--shadow);
  animation: pulseGlow 3.2s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}
.btn.primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn.primary:hover::before {
  width: 300px;
  height: 300px;
}
.btn.ghost:hover,
.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(155, 92, 255, 0.5), 0 0 40px rgba(255, 52, 255, 0.35);
}
.btn.full { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
}

.dropdown { position: relative; }
.dropbtn {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: #0f0f18;
  border: 1px solid var(--border);
  min-width: 180px;
  padding: 8px 0;
  border-radius: 8px;
  top: 36px;
  box-shadow: var(--shadow);
}
.dropdown-content a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
}
.dropdown-content a:hover {
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
}
.dropdown:hover .dropdown-content { display: block; }

.hero {
  margin-top: 90px;
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(80% 60% at 50% 20%, rgba(155,92,255,0.18), transparent 60%),
    radial-gradient(70% 60% at 70% 60%, rgba(0, 255, 182, 0.14), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,18,0) 0%, rgba(10,8,18,0.45) 60%, rgba(10,8,18,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}
.carousel {
  position: relative;
  height: 70vh;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 7vw;
  color: #fff;
  background-image: var(--bg);
  filter: saturate(1.05);
  will-change: opacity;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.6), rgba(10,8,18,0.5));
  box-shadow: inset 0 0 120px rgba(155, 92, 255, 0.25);
}
.slide.active { opacity: 1; height:100%;}
.slide .overlay {
  position: relative;
  max-width: 520px;
  z-index: 2;
  animation: floatSoft 8s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.slide.active .overlay {
  animation: fadeInUp 0.8s ease 0.2s both, floatSoft 8s ease-in-out infinite 1s;
}
.slide .overlay h1 {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  text-shadow:
    0 0 18px rgba(155,92,255,0.65),
    0 0 30px rgba(0, 240, 255, 0.35);
}
.slide .overlay h2 {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  text-shadow:
    0 0 14px rgba(155,92,255,0.55),
    0 0 24px rgba(0, 240, 255, 0.28);
}
.slide .overlay p {
  text-shadow: 0 0 10px rgba(0,0,0,0.45);
}
.slide h1 { font-size: 2.6rem; margin-bottom: 12px; }
.slide h2 { font-size: 2.2rem; margin-bottom: 10px; }
.slide p { color: var(--muted); margin-bottom: 16px; }
.tagline { color: var(--pink); font-weight: 700; text-transform: uppercase; text-shadow: 0 0 12px rgba(255,52,255,0.55); }

.carousel-dots {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.carousel-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dots button.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.services {
  padding: 72px 7vw;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  display: grid;
  place-items: center;
  z-index: 3;
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.scroll-indicator span {
  width: 6px;
  height: 12px;
  background: var(--pink);
  border-radius: 6px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}
.section-header {
  margin-bottom: 28px;
}
.eyebrow {
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: rgba(155, 92, 255, 0.5);
  animation: cardGlow 2.4s ease-in-out infinite;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body { 
  padding: 16px; 
  display: flex; 
  flex-direction: column; 
  gap: 10px;
  flex: 1;
  min-height: 140px;
}
.card-body h3 {
  margin: 0;
  font-size: 1.25rem;
  min-height: 1.5rem;
}
.card-body p {
  margin: 0;
  flex: 1;
  line-height: 1.5;
  min-height: 3rem;
}
.card-actions { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
  align-items: center;
}
.card-actions .btn {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 10px 16px;
}

.footer {
  padding: 32px 7vw 28px;
  background: #0b0b12;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.footer h4 { margin-bottom: 10px; color: var(--cyan); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0,240,255,0.35);
}
.copyright {
  grid-column: 1 / -1;
  color: var(--muted);
  margin-top: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.show { 
  display: flex; 
  align-items: center;
  opacity: 1;
  animation: modalFadeIn 0.3s ease;
}
.modal-backdrop {
  position: absolute;
  align-items: center;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  animation: backdropFadeIn 0.3s ease;
}
.modal-content {
  position: relative;
  background: #0f0f18;
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 16px;
  width: min(680px, 95vw);
  max-width: 95vw;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  z-index: 2;
  transform: scale(0.95);
  animation: modalSlideIn 0.35s ease forwards;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
  margin: 20px;
}
.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}
.modal-content h3 {
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
}
.modal-close {
  position: absolute;
  top: 12px; 
  right: 14px;
  background: rgba(155, 92, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.modal-close:hover {
  background: rgba(155, 92, 255, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.4);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .form-grid {
    gap: 12px;
    margin: 16px 0 20px;
  }
}
label { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  color: var(--muted); 
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
label:focus-within {
  color: var(--cyan);
}
input, select, textarea {
  background: #0b0b14;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
input:hover, select:hover, textarea:hover {
  border-color: rgba(155, 92, 255, 0.5);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.4);
  background: #0d0d16;
}

/* Time slot container responsive */
.time-slot-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.time-slot-wrapper span {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  .time-slot-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .time-slot-wrapper span {
    display: none;
  }
  
  .time-slot-wrapper input {
    width: 100%;
  }
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 60;
}
.toast {
  background: #0f0f18;
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: fadeIn 0.35s ease;
}
.toast.success { border-color: var(--green); }
.toast.error { border-color: #ff4d6d; }

@keyframes auroraShift {
  0% { transform: translate3d(0,0,0) scale(1); opacity: 0.55; }
  33% { transform: translate3d(2%, -3%, 0) scale(1.08); opacity: 0.65; }
  66% { transform: translate3d(-3%, 2%, 0) scale(1.04); opacity: 0.5; }
  100% { transform: translate3d(0,0,0) scale(1); opacity: 0.55; }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 18px rgba(155,92,255,0.35), 0 0 28px rgba(255,52,255,0.22); }
  100% { box-shadow: 0 0 26px rgba(155,92,255,0.55), 0 0 40px rgba(255,52,255,0.32); }
}

@keyframes floatSoft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes cardGlow {
  0% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 0 32px rgba(155,92,255,0.42), 0 0 46px rgba(255,52,255,0.32); }
  100% { box-shadow: var(--shadow); }
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

@keyframes scrollBounce {
  0% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(8px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 0.9; }
}

/* Pricing Section Styling */
h3 {
  color: var(--cyan);
  margin-bottom: 12px;
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(155, 92, 255, 0.3);
}

h3 + p {
  background: rgba(155, 92, 255, 0.08);
  border-left: 3px solid var(--cyan);
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 8px;
  transition: var(--transition);
}

h3 + p:hover {
  background: rgba(155, 92, 255, 0.12);
  border-left-color: var(--pink);
  box-shadow: 0 0 15px rgba(155, 92, 255, 0.2);
}

/* Smooth transitions for all interactive elements */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved card hover */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Better button transitions */
.btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes backdropFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from { 
    transform: scale(0.95) translateY(-20px);
    opacity: 0;
  }
  to { 
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 64px; right: 16px; background: #0f0f18; border: 1px solid var(--border); border-radius: 12px; padding: 12px; flex-direction: column; }
  .nav-links.show { display: flex; }
  .dropdown:hover .dropdown-content { display: none; }
  .dropdown-content { position: relative; top: 0; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .hero { margin-top: 78px; }
  .slide { padding: 0 5vw; }
  .slide h1 { font-size: 2.1rem; }
  .carousel { height: 60vh; }
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
    width: 95vw;
    max-height: 90vh;
    margin: 10px;
  }
  
  .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  /* Time slot responsive */
  label > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  label > div[style*="display: flex"] span {
    display: none;
  }
  
  label > div[style*="display: flex"] input {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .navbar { padding: 12px 16px; }
  .logo span { font-size: 0.95rem; }
  .btn { padding: 9px 14px; font-size: 0.95rem; }
  .cta-group { gap: 8px; }
  .hero { margin-top: 74px; min-height: 70vh; }
  .carousel { height: 52vh; }
  .slide .overlay { max-width: 90%; }
  .slide h1 { font-size: 1.9rem; }
  .slide p { font-size: 0.95rem; }
  .services { padding: 56px 5vw; }
  .card img { height: 160px; }
  .grid { gap: 14px; }
  .footer { padding: 26px 5vw; gap: 12px; }
  .modal-content { 
    padding: 16px; 
    max-height: 95vh;
    width: 98vw;
    margin: 5px;
    border-radius: 12px;
  }
  
  .modal-content h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 14px 0 18px;
  }
  
  .modal-close {
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
    top: 8px;
    right: 10px;
  }
  
  /* Paintball calculator mobile */
  #paintball-calculator {
    padding: 12px !important;
    margin-top: 6px !important;
  }
  
  #paintball-calculator label {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
  }
  
  #booking-price-display {
    padding: 12px !important;
  }
  
  #booking-calculated-price {
    font-size: 1.3rem !important;
  }
  
  /* Time slot mobile */
  label > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  label > div[style*="display: flex"] span {
    display: none;
  }
  
  label > div[style*="display: flex"] input {
    width: 100% !important;
  }
}

/* Container styling */
.time-slot-container {

  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 5px;
}

/* Row alignment */
.time-row {
  display: flex;
  align-items: center; /* Centers items vertically */
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

/* Label Styling (From/To) */
.time-label {
  font-weight: bold;
  font-size: 14px;
  width: 40px; /* Fixed width prevents shifting */
  text-transform: uppercase;
}

.from-label { color: #0ff; } /* Cyan */
.to-label { color: #f0f; }   /* Pink */

/* Group the dropdowns together */
.select-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1; /* Takes up remaining space */
}

/* The actual dropdown boxes */
.time-select {
  flex: 1; /* Makes Hour and Minute equal width */
  padding: 10px 5px;
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  height: 42px; /* Fixed height for perfect alignment */
  cursor: pointer;
}

/* AM/PM specific styling */
.ampm {
  flex: 0 0 60px; /* Fixed width for AM/PM */
  background: #000;
  font-weight: bold;
}

.colon {
  font-weight: bold;
  color: #888;
}

/* Mobile Fix: Ensure it doesn't break on small phones */
@media (max-width: 400px) {
  .time-select {
    padding: 10px 2px;
    font-size: 12px;
  }
}

/* Price Calculator Styling */
.price-calculator {
  background: rgba(155, 92, 255, 0.08);
  border: 1px solid rgba(155, 92, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 12px;
}

/* Booking modal service calculators */
.service-calculator {
  grid-column: 1 / -1;
  background: rgba(155, 92, 255, 0.08);
  border: 1px solid rgba(155, 92, 255, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-width: 0;
}

.service-calculator.calculator-active {
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-top: 8px;
  margin-bottom: 8px;
  border-width: 1px;
  animation: slideDown 0.4s ease-out, pulse 0.5s ease-in-out 0.4s;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 1000px;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(155, 92, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(155, 92, 255, 0);
  }
}

#paintball-calculator .ball-select {
  width: 100% !important;
  box-sizing: border-box;
}

#booking-price-display {
  box-sizing: border-box;
  width: 100%;
}

#booking-price-display > div {
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 600px) {
  #paintball-calculator {
    padding: 14px !important;
  }
  
  #booking-price-display {
    padding: 12px !important;
  }
  
  #booking-price-display > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 6px !important;
  }
  
  #booking-calculated-price {
    font-size: 1.4rem !important;
  }
  
  #booking-price-breakdown {
    text-align: left !important;
  }
}

@media (max-width: 400px) {
  #paintball-calculator {
    padding: 12px !important;
  }
  
  #booking-price-display {
    padding: 10px !important;
  }
  
  #booking-calculated-price {
    font-size: 1.2rem !important;
  }
}

.calculator-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.calculator-row label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 1rem;
}

.ball-select {
  background: #0b0b14;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.ball-select:hover {
  border-color: rgba(155, 92, 255, 0.5);
}

.ball-select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.4);
  background: #0d0d16;
}

.price-display {
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.15), rgba(255, 52, 255, 0.1));
  border: 2px solid var(--cyan);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 16px;
  text-align: center;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.price-label {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.price-amount {
  color: var(--green);
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 15px rgba(42, 255, 182, 0.5);
  animation: pulseGlow 2s ease-in-out infinite;
}

.price-breakdown {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(155, 92, 255, 0.2);
}

.price-breakdown small {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-breakdown span {
  color: var(--cyan);
  font-weight: 600;
}

.pricing-note {
  margin-top: 16px;
  padding: 12px;
  background: rgba(42, 255, 182, 0.08);
  border-left: 3px solid var(--green);
  border-radius: 6px;
}

.pricing-note p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.pricing-note strong {
  color: var(--green);
}

@media (max-width: 600px) {
  .price-calculator {
    padding: 16px;
  }
  
  .price-amount {
    font-size: 1.6rem;
  }
  
  .price-info {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
