

/* CSS Variables */
:root {
  --bg-0: #0b1220;           /* deep space */
  --bg-1: #0f1a2e;           /* panels */
  --bg-2: #0f223a;           /* cards */
  --text-0: #eaf2ff;         /* primary text */
  --text-1: #b9c6e4;         /* secondary text */
  --muted: #6c7aa6;          /* muted */
  --accent: #7cf3d2;         /* mint */
  --accent-2: #8aa3ff;       /* cornflower */
  --accent-3: #f6b0ff;       /* lilac */
  --warning: #ffd56b;
  --danger: #ff6b8a;
  --ring: rgba(124, 243, 210, 0.45);
  --shadow: 0 10px 40px rgba(3, 8, 20, 0.35), 0 2px 10px rgba(3, 8, 20, 0.2);
}

/* Base reset and typography */
html, body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
}

* { box-sizing: border-box; }

/* Smooth interactions */
a, button, .button, input, select, textarea {
  transition: all .25s ease;
}

/* Headers, nav and brand */
header {
  background: linear-gradient(135deg, #0c1627 0%, #121f39 40%, #1a2347 100%) !important;
  border-bottom: 1px solid rgba(124, 243, 210, 0.08);
  backdrop-filter: saturate(1.2) blur(2px);
  border-radius: 0 !important;
}

header nav a {
  color: var(--text-1) !important;
  position: relative;
}
header nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s ease;
}
header nav a:hover::after { width: 100%; }

/* Hero + section backgrounds – override common Tailwind utility classes present in markup */
.bg-gradient-to-br,
.from-indigo-900,
.via-purple-900,
.to-pink-900 {
  background: radial-gradient(1200px 600px at 10% -10%, rgba(124, 243, 210, 0.15), transparent 60%),
              radial-gradient(1000px 500px at 110% 10%, rgba(138, 163, 255, 0.18), transparent 60%),
              linear-gradient(145deg, #0b1325 0%, #0e1a33 45%, #122044 100%) !important;
}

.bg-gray-900 { background: #0e172a !important; }
.bg-gray-800 { background: #111c34 !important; }
.bg-gray-700 { background: #14213e !important; }
.bg-blue-900 { background: #0d1b2a !important; }
.bg-gray-700, .border-blue-600 { border-color: rgba(124, 243, 210, 0.25) !important; }
.border-blue-700 { border-color: rgba(138, 163, 255, 0.28) !important; }

.text-gray-100 { color: var(--text-0) !important; }
.text-gray-200 { color: var(--text-1) !important; }
.text-gray-300 { color: #9fb0d1 !important; }
.text-blue-400 { color: var(--accent-2) !important; }
.text-yellow-400 { color: var(--accent) !important; }
.text-yellow-300 { color: var(--warning) !important; }

/* Cards and panels */
.rounded-lg, .rounded-md, .shadow-xl, .shadow-lg, .shadow-md {
  box-shadow: var(--shadow) !important;
  border-radius: 16px !important;
}

.rounded-lg:hover, .rounded-md:hover, .shadow-xl:hover, .shadow-lg:hover, .shadow-md:hover {
  transform: translateY(-2px) scale(1.01);
}

/* CTAs and buttons (override Tailwind color utilities used in markup) */
.bg-yellow-400,
.bg-green-500,
.bg-red-500,
.bg-blue-600 {
  background-image: linear-gradient(135deg, var(--accent) 0%, #45d6ff 100%) !important;
  color: #0b1220 !important;
  border: 0 !important;
}
.hover\:bg-yellow-500:hover,
.hover\:bg-green-600:hover,
.hover\:bg-red-600:hover,
.hover\:bg-blue-700:hover {
  filter: brightness(1.05) saturate(1.05);
}

button, .btn, [type="submit"], [role="button"], a.inline-block {
  border-radius: 999px !important;
  letter-spacing: .02em;
  position: relative;
  isolation: isolate;
}
button::before, .btn::before, [type="submit"]::before, a.inline-block::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: radial-gradient(60% 60% at 30% 30%, rgba(124,243,210,.35), transparent),
              radial-gradient(60% 60% at 70% 70%, rgba(138,163,255,.35), transparent);
  filter: blur(14px);
  opacity: .0; transition: opacity .25s ease;
}
button:hover::before, .btn:hover::before, [type="submit"]:hover::before, a.inline-block:hover::before {
  opacity: .9;
}

/* Inputs */
input, select, textarea {
  background: rgba(13, 27, 42, 0.85) !important;
  color: var(--text-0) !important;
  border: 1px solid rgba(124, 243, 210, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px rgba(138, 163, 255, 0.06);
}
input::placeholder, textarea::placeholder { color: #8aa3ffaa !important; }
input:focus, select:focus, textarea:focus { outline: none !important; box-shadow: 0 0 0 6px var(--ring) !important; }

/* Custom checkboxes & radios */
input.form-checkbox, input[type="checkbox"].form-checkbox {
  appearance: none; -webkit-appearance: none; height: 22px; width: 22px; border-radius: 6px !important;
  border: 1px solid rgba(124, 243, 210, 0.6) !important; background: transparent !important; position: relative;
}
input.form-checkbox:checked {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%) !important; border-color: transparent !important;
  box-shadow: 0 0 0 6px var(--ring) !important;
}
input.form-checkbox:checked::after {
  content: ""; position: absolute; inset: 4px; border-radius: 3px; background: rgba(11,18,32,.9);
}

input.form-radio, input[type="radio"].form-radio {
  appearance: none; -webkit-appearance: none; height: 22px; width: 22px; border-radius: 999px !important;
  border: 1px solid rgba(138, 163, 255, 0.7) !important; background: transparent !important; position: relative;
}
input.form-radio:checked {
  background: radial-gradient(circle at 50% 50%, var(--accent-3) 0%, var(--accent-2) 60%, transparent 61%) !important;
  border-color: transparent !important; box-shadow: 0 0 0 6px var(--ring) !important;
}

/* Tables */
table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; }
thead { background: linear-gradient(135deg, rgba(124,243,210,.25), rgba(138,163,255,.25)) !important; }
tbody tr { background: rgba(255,255,255,0.02); }
tbody tr:hover { background: rgba(124,243,210,0.07) !important; }

/* Cookie banner */
#cookieAlert {
  background: rgba(14, 23, 42, 0.7) !important;
  border-top: 1px solid rgba(124, 243, 210, 0.25);
  backdrop-filter: blur(10px) saturate(1.2);
  transform: translateY(110%);
}
#cookieAlert.translate-y-0 { transform: translateY(0) !important; }

/* Age gate */
#ageGate { background: linear-gradient(180deg, rgba(11,18,32,.85), rgba(11,18,32,.96)) !important; }
#ageGate > div {
  background: linear-gradient(135deg, #0f213d, #121f3f) !important;
  border: 1px solid rgba(124, 243, 210, 0.2) !important;
}

/* Mobile menu overlay */
#mobileMenu { background: linear-gradient(180deg, rgba(11,18,32,.98), rgba(14,23,42,.98)) !important; }

/* Scroll to top */
#mpzScrollTopBtn {
  background-image: linear-gradient(135deg, var(--accent-2), var(--accent-3)) !important;
  color: #0b1220 !important;
  box-shadow: var(--shadow) !important;
}

/* Animations */
@keyframes glowPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(124,243,210,.0);} 50%{ box-shadow: 0 0 0 12px rgba(124,243,210,.12);} }
@keyframes floatY { 0%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} 100%{ transform: translateY(0);} }
@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Repurpose Tailwind's animate-pulse to a neon glow */
.animate-pulse { animation: glowPulse 2.2s ease-in-out infinite !important; }

/* Common hover scales from markup get an elevated effect */
.hover\:scale-105:hover { transform: none !important; }
button.hover\:scale-105:hover,
a.inline-block.hover\:scale-105:hover,
[role="button"].hover\:scale-105:hover,
[type="submit"].hover\:scale-105:hover,
input[type="button"].hover\:scale-105:hover { transform: translateY(-2px) scale(1.035) !important; }

/* Image cards */
img.rounded-lg:hover { transform: none !important; filter: none !important; }

/* Footer */
footer {
  background: linear-gradient(180deg, #0e182c 0%, #0a1424 100%) !important;
  border-top: 1px solid rgba(124, 243, 210, 0.1);
}

/* New footer layout */
.footer-neo { background: linear-gradient(180deg, #0e182c 0%, #0a1424 100%) !important; }
.footer-neo-brand { color: var(--accent); }
.footer-neo-text { color: var(--text-1); }
.footer-neo-link { color: var(--text-1); text-decoration: none; }
.footer-neo-link:hover { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.footer-neo-badge { background: #0f213d; border: 1px solid rgba(124,243,210,.18); color: var(--text-0); border-radius: 999px; padding: 6px 10px; font-weight: 700; }
.footer-neo small { color: #9fb0d1; }

/* Utility tweaks */
.underline, .hover\:underline:hover { text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Hover policy: disable all non-button/input hovers */
/* Links */
a:hover { color: inherit !important; }
a.inline-block:hover, a[role="button"]:hover { color: #0b1220 !important; }
header nav a:hover { color: inherit !important; }
header nav a:hover::after { width: 0 !important; }

/* Tables */
tbody tr:hover { background: inherit !important; }

/* Generic elevated components */
.rounded-lg:hover, .rounded-md:hover, .shadow-xl:hover, .shadow-lg:hover, .shadow-md:hover { transform: none !important; }

/* Group hover neutralization */
.group:hover .group-hover\:text-green-300 { color: inherit !important; }
.group:hover .group-hover\:scale-105 { transform: none !important; }







