:root {
  --black: #000000;
  --electric: #625DE8;
  --dark-purple: #261B38;
  --light-purple: #A095F9;
  --lilac: #D3C8FF;
  --white: #ffffff;
  --title-circle-d: clamp(280px, 40vw, 480px); /* Modern Responsive Value */
  --section-hpad: clamp(20px, 5vw, 60px); /* Progressive Padding */
  --font-bebas: 'Bebas Neue', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--black);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-inter);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .bebas-font {
  font-family: var(--font-bebas);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== NAVIGATION ===== */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  padding: 0.8rem var(--section-hpad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 1001; /* Above mobile menu */
}

.nav-logo-text {
  font-family: var(--font-bebas);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--lilac);
}

.nav-items {
  display: flex;
  gap: 2rem;
}

.nav-item {
  background: none;
  border: none;
  color: rgba(160, 149, 249, 0.7);
  font-family: var(--font-bebas);
  font-size: 1.25rem;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 0.4rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: var(--lilac);
  transform: translateY(-2px);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--electric);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-icons {
  display: flex;
  gap: 1rem;
}

.nav-icon {
  background: none;
  border: none;
  color: var(--light-purple);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-icon:hover {
  color: var(--lilac);
  background: rgba(98, 93, 232, 0.15);
  transform: scale(1.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lilac);
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu .nav-item {
    font-size: 2.5rem;
}

/* ===== HERO ===== */
.spiderman-hero {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 100px var(--section-hpad) 40px var(--section-hpad);
  display: flex;
  flex-direction: column;
  isolation: isolate; /* Ensures z-indexes stay internal and predictable */
}

.spiderman-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(98, 93, 232, 0.12) 0%, rgba(0, 0, 0, 0.85) 70%);
  pointer-events: none;
}

.genre-tags {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  padding: 20px 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.genre-tag {
  background: transparent;
  border: 1px solid rgba(98, 93, 232, 0.5);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-bebas);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: rgba(160, 149, 249, 0.8);
}

.main-title-section {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  z-index: 15; /* Above background and scroller */
}

.cast-names {
  position: absolute;
  z-index: 20;
  display: flex;
  gap: 2rem;
}

.cast-names.top-left { top: 0; left: 0; }
.cast-names.top-right { top: 0; right: 0; }

.cast-name {
  font-family: var(--font-bebas);
  font-size: 1.8rem;
  color: rgba(160, 149, 249, 0.5);
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cast-name:hover {
  color: var(--lilac);
  transform: translateY(-2px);
}

.title-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  width: 100%;
}

.background-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--title-circle-d);
  height: var(--title-circle-d);
  transform: translate(-50%, -50%);
  background: var(--electric);
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  opacity: 0.9;
  box-shadow: 0 0 100px rgba(98, 93, 232, 0.3);
}

.title-text {
  font-family: var(--font-bebas);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(3rem, 15vw, 10rem);
  position: relative;
  z-index: 15;
}

.bottom-hero-placeholder {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: clamp(180px, 25vw, 380px);
  height: clamp(250px, 45vh, 600px); 
  z-index: -1; /* Pushed to the very back of the isolated context */
  background-image: url('https://i89.servimg.com/u/f89/20/65/02/15/krowh311.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  pointer-events: none;
  opacity: 0.8; /* Subtle transparency to help readability */
}

.infinite-scroller-container {
  position: absolute;
  top: 55%; /* Relative to heroSection now */
  left: 50%;
  width: 120vw;
  height: 80px;
  background: rgba(38, 27, 56, 0.95);
  overflow: hidden;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-50%) rotate(357deg);
  z-index: 10; /* Lower than title and story, higher than background image */
  pointer-events: none;
  border-top: 1px solid rgba(98, 93, 232, 0.3);
  border-bottom: 1px solid rgba(98, 93, 232, 0.3);
}

.scroller-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

.scroller-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--dark-purple);
  border: 2px solid var(--electric);
  flex: 0 0 auto;
  overflow: hidden;
}

.scroller-avatar img { width: 100%; height: 100%; object-fit: cover; }

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.story-section {
  position: relative;
  padding: 40px 0;
  z-index: 50; /* Topmost layer for legibility */
  margin-top: auto;
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.story-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.story-title {
  font-size: 1.5rem;
  color: var(--electric);
  margin-bottom: 12px;
}

.story-description {
  font-size: 1rem;
  color: rgba(211, 200, 255, 0.65);
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.book-now-btn {
  background: transparent;
  border: 2px solid var(--electric);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-family: var(--font-bebas);
  font-size: 1.2rem;
  color: var(--electric);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.book-now-btn:hover {
  background: var(--electric);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(98, 93, 232, 0.5);
}

.circle-count {
  width: 44px;
  height: 44px;
  border: 2px solid var(--electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-bebas);
  color: var(--electric);
}

.circle-image-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--dark-purple);
  border: 2px solid var(--electric);
  margin-left: -10px;
  overflow: hidden;
}

.circle-image-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CINE SECTION ===== */
.cine-section {
  position: relative;
  width: 100%;
  background: var(--black);
}

.cine-top {
  position: relative;
  padding: 180px var(--section-hpad) 120px var(--section-hpad);
}

.cine-top-scroller-container {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%) rotate(357deg);
  width: 120vw;
  height: 90px;
  background: rgba(38, 27, 56, 0.9);
  overflow: hidden;
  padding: 10px 0;
  z-index: 6;
  pointer-events: none;
  border-top: 1px solid rgba(98, 93, 232, 0.25);
  border-bottom: 1px solid rgba(98, 93, 232, 0.25);
}

.cine-top-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.cine-left-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.counter-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(160, 149, 249, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-purple);
}

.stars { display: flex; gap: 4px; }
.star { color: rgba(98, 93, 232, 0.3); font-size: 14px; }
.star.filled { color: var(--electric); }

.cine-center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.card-stack {
  width: 280px;
  height: 360px;
  perspective: 1000px;
  z-index: 10;
}

.card-flip-container {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.card-stack.flipped .card-flip-container { transform: rotateY(180deg); }

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(98, 93, 232, 0.2);
}

.card-front {
  background: linear-gradient(145deg, var(--electric), var(--dark-purple));
}

.card-back {
  background: linear-gradient(135deg, #1f1738, #0a061f);
  transform: rotateY(180deg);
}

.card-img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px var(--electric));
}

.cine-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  text-align: right;
}

.quote {
  max-width: 320px;
  color: var(--lilac);
  font-size: 1.5rem;
  border-right: 3px solid var(--electric);
  padding-right: 20px;
  line-height: 1.2;
}

.chips {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.chip {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark-purple);
  border: 2px solid rgba(160, 149, 249, 0.25);
  transition: transform 0.3s ease;
}

.chip:hover { transform: scale(1.05); }
.chip.white { background: #fff; color: var(--black); }
.chip.white .chip-title, .chip.white .chip-value { color: var(--black); }
.chip.red { background: var(--electric); }

.chip-title { font-size: 0.9rem; margin-bottom: 4px; }
.chip-value { font-size: 2.2rem; font-family: var(--font-bebas); }

.cine-divider {
  position: relative;
  height: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 50;
}

.edge-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--electric);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.edge-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg);
}

.edge-arrow.left::before { transform: rotate(-135deg); }
.edge-arrow.right { background: #fff; color: var(--dark-purple); }
.edge-arrow:hover { transform: scale(1.1); filter: brightness(1.1); }

/* WHITE STAGE */
.white-stage {
  background: #ffffff;
  color: #111;
  padding: 100px var(--section-hpad);
}

.details-wrap {
  max-width: 1440px;
  margin: 0 auto;
}

.details-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 40px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: start;
}

.film-card {
  background: var(--dark-purple);
  color: #fff;
  border-radius: 30px;
  padding: 40px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

.tile {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.book-cta {
  width: 100%;
  height: 60px;
  background: var(--electric);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-bebas);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

/* REGISTRATION */
.dp-poster {
  text-align: center;
  padding: 80px 0;
}

.dp-title {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: 40px;
}

.dual-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-reg {
  padding: 1rem 3rem;
  font-family: var(--font-bebas);
  font-size: 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reg:not(.btn-reg-outline) {
  background: var(--electric);
  color: #fff;
  border: none;
}

.btn-reg-outline {
  background: transparent;
  border: 2px solid var(--electric);
  color: var(--electric);
}

.btn-reg:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(98, 93, 232, 0.3); }

/* FOOTER */
footer {
  background: #0c0a14;
  padding: 80px var(--section-hpad) 40px;
  border-top: 1px solid rgba(98, 93, 232, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-col h4 { color: var(--lilac); margin-bottom: 20px; font-size: 1.4rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #888; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--electric); }

/* MEDIA QUERIES */

/* Large screens */
@media (min-width: 1440px) {
    .navigation { padding: 1rem 100px; }
}

/* Tablets */
@media (max-width: 1024px) {
  .nav-items { gap: 1rem; }
  .story-content { justify-content: center; text-align: center; }
  .cta-container { justify-content: center; }
  .cine-top-inner { grid-template-columns: 1fr; text-align: center; }
  .cine-right { align-items: center; text-align: center; }
  .quote { border-right: none; border-bottom: 3px solid var(--electric); padding: 0 0 20px 0; }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .nav-items { display: none; }
  .mobile-toggle { display: block; }
  
  .spiderman-hero { padding-top: 120px; }
  .cast-names { display: none; }
  
  .infinite-scroller-container { top: 72%; height: 50px; } /* Clean position on mobile */
  .title-text { z-index: 25; } 
  .story-section { z-index: 50; padding-bottom: 60px; }
  .story-description { color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,1); }
  
  .cine-top { padding-top: 140px; }
  
  .details-grid { gap: 40px; }
  
  .dual-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .btn-reg { width: 100%; }
}

@media (max-width: 480px) {
    .nav-logo-text { font-size: 1.2rem; }
    .title-text { font-size: 18vw; }
    .chip { width: 100px; height: 100px; }
    .chip-value { font-size: 1.5rem; }
    .details-title { font-size: 1.5rem; }
}

/* === SHARED STYLES FOR NEW PAGES === */
.content-page {
    padding-top: 140px;
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.content-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 10%, rgba(98, 93, 232, 0.1) 0%, rgba(0, 0, 0, 0.9) 80%);
    pointer-events: none;
    z-index: 0;
}

.static-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--section-hpad) 80px;
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 40px;
    color: var(--lilac);
    text-shadow: 0 0 20px rgba(98, 93, 232, 0.5);
}

.page-subtitle {
    color: var(--electric);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.page-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(211, 200, 255, 0.7);
    margin-bottom: 1.5rem;
}

/* Form Styling */
.form-card {
    background: rgba(38, 27, 56, 0.6);
    border: 1px solid rgba(98, 93, 232, 0.2);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-bebas);
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--lilac);
}

.form-control {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(160,149,249,0.3);
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    font-family: var(--font-inter);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--electric);
    box-shadow: 0 0 10px rgba(98,93,232,0.3);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--electric);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-bebas);
    font-size: 1.4rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(98,93,232,0.4);
}

/* Admin Specific */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.admin-tile {
    background: rgba(160,149,249,0.05);
    border: 1px solid rgba(160,149,249,0.1);
    padding: 30px;
    border-radius: 20px;
}

.admin-tile-label { font-size: 0.9rem; color: var(--light-purple); text-transform: uppercase; letter-spacing: 2px; }
.admin-tile-value { font-size: 3rem; font-family: var(--font-bebas); color: white; margin: 10px 0; }

.logout-link {
    color: #ff4d4d;
    cursor: pointer;
    font-family: var(--font-bebas);
    letter-spacing: 1px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

.logout-link:hover { text-decoration: underline; }

/* === DYNAMIC APK LIST COMPONENTS === */
.version-card {
    background: rgba(38, 27, 56, 0.4);
    border: 1px solid rgba(160, 149, 249, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.version-card:hover {
    background: rgba(38, 27, 56, 0.6);
    border-color: var(--electric);
    transform: translateX(10px);
}

.v-badge {
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-bebas);
    font-size: 1rem;
    text-align: center;
}

.v-badge.stable { background: #4CAF50; color: white; }
.v-badge.beta { background: #FF9800; color: white; }
.v-badge.alfa { background: #F44336; color: white; }

.v-info h3 { margin: 0; font-size: 1.4rem; color: var(--lilac); }
.v-info p { margin: 5px 0 0; font-size: 0.95rem; color: rgba(211, 200, 255, 0.6); }

/* === ANNOUNCEMENT BANNER === */
.announcement-banner {
    background: var(--electric);
    color: white;
    padding: 10px var(--section-hpad);
    text-align: center;
    font-family: var(--font-bebas);
    letter-spacing: 1px;
    position: relative;
    z-index: 1100;
    display: none; /* Shown via JS */
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    pointer-events: none;
}

.toast {
    background: var(--dark-purple);
    color: var(--lilac);
    padding: 16px 32px;
    border-radius: 50px;
    border: 1px solid var(--electric);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: var(--font-inter);
    font-weight: 600;
    margin-bottom: 15px;
    animation: slideUpFade 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
}

@keyframes slideUpFade {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}

/* === LIGHT MODE SUPPORT === */
body.light-mode {
    --black: #F5F5F7;
    --dark-purple: #FFFFFF;
    --white: #111111;
    --lilac: #625DE8;
    background: var(--black);
    color: var(--white);
}

body.light-mode .navigation { background: rgba(255, 255, 255, 0.85); }
body.light-mode .nav-logo-text { color: var(--electric); }
body.light-mode .form-card, body.light-mode .version-card { background: white; border-color: rgba(98, 93, 232, 0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
body.light-mode .page-text { color: #555; }

/* === CHARTS / STATS === */
.chart-bar-container {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.chart-bar {
    flex: 1;
    background: var(--electric);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
    position: relative;
}

.chart-bar:hover { filter: brightness(1.2); }
.chart-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--light-purple);
}
