/* ===== CSS Variables (Design System) ===== */
:root {
  /* Colors */
  --clr-primary: #0F3D2E;
  --clr-primary-light: #1F5A3C;
  --clr-bg: #0A1F17;
  
  --clr-accent: #F5A623;
  --clr-accent-light: #FFC857;
  
  --clr-neutral: #E8DCC2;
  --clr-text: #E8DCC2;
  --clr-text-light: rgba(232, 220, 194, 0.7);
  --clr-white: #FFFFFF;
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --nav-height: 80px;
}

/* ===== Resets & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Lenis recommended css */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-white);
  font-weight: 600;
  line-height: 1.2;
}

.italic {
  font-style: italic;
}

.highlight {
  color: var(--clr-accent-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== Typography & Utilities ===== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.glass-panel {
  background: rgba(15, 61, 46, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 200, 87, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-light));
  color: var(--clr-bg);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--clr-neutral);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--clr-accent);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-2px);
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: rgba(31, 90, 60, 0.4);
}

.blob-2 {
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(245, 166, 35, 0.1);
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--clr-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--clr-white);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.loader-line {
  width: 150px;
  height: 2px;
  background: rgba(232, 220, 194, 0.2);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: var(--clr-accent);
  animation: loading 1.5s infinite ease-in-out;
}

@keyframes loading {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* ===== Navbar ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.glass-nav {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(10, 31, 23, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-accent);
  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: var(--clr-white);
}

.nav-btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--clr-white);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  position: relative;
  padding-top: 80px;
}

/* Watermark logo behind hero text */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  max-width: 90vw;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: wmBreath 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(245, 166, 35, 0.3));
}

@keyframes wmBreath {
  0%, 100% { opacity: 0.07; transform: translate(-50%, -50%) scale(1);    }
  50%       { opacity: 0.12; transform: translate(-50%, -50%) scale(1.06); }
}

/* Ensure text sits above the watermark */
.hero-watermark ~ * {
  position: relative;
  z-index: 1;
}



/* Presenter line */
.hero-institution-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.institution-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.school-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--clr-accent-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 700;
}

.foundation-line,
.aegis-line {
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  color: var(--clr-text-light);
  opacity: 0.85;
  letter-spacing: 1px;
  margin-bottom: 2px;
  max-width: 600px;
}

.presents-line {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: var(--clr-accent);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.presents-line em {
  font-style: italic;
  font-weight: 400;
}

.hero-presenter-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(245,166,35,0.4));
}

.hero-edition-tag {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--clr-accent);
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 30px rgba(245, 166, 35, 0.4);
}

.hero-title {
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  margin-bottom: 25px;
  line-height: 1.4;
  color: var(--clr-text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
  font-weight: 500;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--clr-text-light);
  margin-bottom: 50px;
  letter-spacing: 1px;
}

/* ===== Countdown Timer ===== */
.countdown-wrapper {
  display: inline-flex;
  gap: 15px;
  padding: 20px 40px;
  margin-bottom: 50px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.time-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-accent-light);
  line-height: 1;
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
}

.time-block .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  color: var(--clr-text-light);
}

.separator {
  font-size: 2rem;
  font-weight: 300;
  color: var(--clr-neutral);
  line-height: 1;
  opacity: 0.5;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  opacity: 0; /* Hidden initially to prevent flash; revealed by GSAP */
}

/* ===== Responsive Utilities ===== */
@media (max-width: 992px) {
  .nav-btn {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 31, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
    border-left: 1px solid rgba(255, 200, 87, 0.1);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    font-size: 1.25rem;
  }
  .hamburger {
    display: block;
    z-index: 1000;
  }
  .countdown-wrapper {
    padding: 15px 20px;
    gap: 10px;
  }
  .time-block {
    min-width: 55px;
  }
  .time-val {
    font-size: 2rem;
  }
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }
  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 15px;
  }
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column;
  }
  .countdown-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== Particles ===== */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

/* ===== Section Titles ===== */
.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.underline {
  height: 3px;
  width: 80px;
  background: var(--clr-accent);
  border-radius: 3px;
}

.underline.center {
  margin: 0 auto;
}

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

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  padding: 40px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--clr-accent-light);
}

.about-text p {
  color: var(--clr-text-light);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.features-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.05rem;
}

.features-list i {
  color: var(--clr-accent);
  font-size: 1.2rem;
}

.about-image {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gold-ring {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid var(--clr-accent);
  background-color: var(--clr-neutral);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(245, 166, 35, 0.2);
  animation: float 6s ease-in-out infinite;
}

.dps-logo {
  width: 75%;
  height: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* ===== Committees Section ===== */
.committees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.committee-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.committee-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(245, 166, 35, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--clr-accent-light);
  transition: var(--transition);
}

.committee-card:hover .card-icon {
  background: var(--clr-accent);
  color: var(--clr-bg);
  transform: scale(1.1);
}

.committee-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.committee-card .agenda {
  color: var(--clr-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  transition: margin-bottom 0.3s ease;
}

.full-details {
  height: 0;
  opacity: 0;
  overflow: hidden;
  text-align: left;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  padding-top: 0;
  margin-top: 0;
}

.full-details p {
  color: var(--clr-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 15px 0 10px;
}

.expand-indicator {
  margin-top: 15px;
  color: var(--clr-accent-light);
  font-size: 0.8rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}

.committee-card.is-expanded {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.committee-card.is-expanded .expand-indicator {
  transform: rotate(180deg);
  opacity: 1;
}

.committee-card.is-expanded .agenda {
  margin-bottom: 20px;
}

/* ===== Secretariat Section ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Center the 5th and 6th members in the second row on desktop */
@media (min-width: 993px) {
  .team-member:nth-child(5) {
    grid-column: 2;
  }
  .team-member:nth-child(6) {
    grid-column: 3;
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-member {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.team-member:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.team-member img {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-member:hover img {
  transform: scale(1.05);
}

.placeholder-img {
  width: 100%;
  height: 350px;
  background: linear-gradient(to bottom, transparent, var(--clr-bg)), rgba(31, 90, 60, 0.5);
}

.member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 10px !important;
  text-align: center;
  border-top: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.member-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: var(--clr-white);
}

.member-info p {
  font-size: 0.85rem;
  color: var(--clr-accent-light);
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-text {
    padding: 20px 0;
  }
  .features-list li {
    justify-content: center;
  }
  
  /* Fix vertical stacking on mobile */
  .committees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .committee-card {
    padding: 20px 10px;
  }
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .committee-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  .committee-card .agenda {
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-item {
    height: 160px;
  }
  .see-more-trigger .overlay-text {
    font-size: 1.3rem;
  }
  #gallery-less-trigger .overlay-text {
    font-size: 1.1rem !important;
  }
}

/* ===== Registration Section ===== */
.register-card {
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.register-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.register-card p {
  color: var(--clr-text-light);
  font-size: 1.1rem;
}

/* ===== Media Section ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.see-more-trigger .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
  pointer-events: none;
}

/* ===== Updates Section ===== */
.updates-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.update-card {
  padding: 30px;
  border-left: 4px solid var(--clr-accent);
}

.update-date {
  font-size: 0.85rem;
  color: var(--clr-accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.update-card h4 {
  font-size: 1.3rem;
  margin: 10px 0;
}

.update-card p {
  color: var(--clr-text-light);
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--clr-white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--clr-accent);
  color: var(--clr-bg);
  transform: translateY(-3px);
}

.contact-form {
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 200, 87, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: var(--clr-white);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--clr-accent);
  background: rgba(0, 0, 0, 0.4);
}

/* Footer Extras */
footer {
  background: #05100C;
  padding: 30px 0;
  text-align: center;
  color: var(--clr-text-light);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }
  .register-card {
    padding: 40px 20px;
  }
}

/* ===== Registration Closed Modal ===== */
#reg-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 16, 12, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}
#reg-modal.active {
  display: flex;
}

.reg-modal-box {
  max-width: 420px;
  width: 90%;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(245, 166, 35, 0.3);
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--clr-text-light);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  color: var(--clr-accent);
  transform: rotate(90deg);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.7) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.reg-char-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.reg-char {
  animation: charBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(245, 166, 35, 0.25));
}

@keyframes charBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Buffering dots */
.reg-buffer {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.reg-buffer span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: bufferDot 1.2s ease-in-out infinite;
}

.reg-buffer span:nth-child(1) { animation-delay: 0s; }
.reg-buffer span:nth-child(2) { animation-delay: 0.2s; }
.reg-buffer span:nth-child(3) { animation-delay: 0.4s; }
.reg-buffer span:nth-child(4) { animation-delay: 0.6s; }
.reg-buffer span:nth-child(5) { animation-delay: 0.8s; }

@keyframes bufferDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1.2); opacity: 1; }
}

.reg-modal-title {
  font-size: 1.5rem;
  color: var(--clr-accent-light);
  margin-bottom: 25px;
}

.modal-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
