:root {
  --bg-color: #050505;
  --text-primary: #ffffff;
  --accent-primary: #c9a46a;
  /* Acid Green */
  --accent-secondary: #2ba5af;
  /* Electric Blue */
  --font-heading: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  /* Hide default cursor */
}

.archive-home-link {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10000;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
}

.archive-home-link span {
  color: var(--accent-primary);
}

.archive-status h3 {
  color: var(--accent-secondary);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

@media (max-width: 600px) {
  .archive-home-link {
    top: 12px;
    width: calc(100% - 24px);
    justify-content: space-between;
    font-size: 0.55rem;
  }
}

a,
button {
  cursor: none;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background-color: var(--accent-secondary);
}

/* Scroll Snapping Container */
.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  min-height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .snap-section {
    height: auto;
  }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero-video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.7);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vh, 3rem);
}

.presenter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: -1.5rem;
}

.trakal-logo {
  width: 140px;
  max-height: 100px;
  object-fit: contain;
}

.presents-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 5px;
  opacity: 0.8;
  text-transform: uppercase;
}


.logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.x-divider {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-secondary);
}

.hero-logo {
  width: 120px;
  height: 120px;
  opacity: 0.9;
  object-fit: cover;
  border-radius: 50%;
}

.sundari-logo {
  width: 115px;
  height: 115px;
  opacity: 0.9;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .sundari-logo {
    width: 75px;
    height: 75px;
  }

  .trakal-logo {
    width: 120px;
  }
}

.title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title-img {
  width: 90%;
  max-width: 600px;
  height: auto;
  max-height: 25vh;
  object-fit: contain;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: -1rem;
}

.glitch-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(4rem, 15vw, 12rem);
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glitch-title::before {
  left: 3px;
  text-shadow: -2px 0 var(--accent-secondary);
  clip: rect(24px, 550px, 90px, 0);
}

.glitch-title::after {
  left: -3px;
  text-shadow: -2px 0 var(--accent-primary);
  clip: rect(85px, 550px, 140px, 0);
}

.glitch-title:hover::before,
.glitch-title:hover::after {
  opacity: 1;
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(24px, 9999px, 90px, 0);
  }

  20% {
    clip: rect(85px, 9999px, 140px, 0);
  }

  40% {
    clip: rect(10px, 9999px, 40px, 0);
  }

  60% {
    clip: rect(50px, 9999px, 100px, 0);
  }

  80% {
    clip: rect(120px, 9999px, 150px, 0);
  }

  100% {
    clip: rect(30px, 9999px, 70px, 0);
  }
}

/* Countdown */
.countdown-wrapper {
  margin: 1rem 0;
}

.countdown {
  display: flex;
  gap: 2rem;
  font-family: var(--font-body);
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-block span {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-secondary);
}

.time-block label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.7;
}

/* Button */
.pulse-btn {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--bg-color);
  background-color: var(--accent-primary);
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  position: relative;
  transition: transform 0.2s ease;
  overflow: hidden;
}

.pulse-btn:hover {
  transform: scale(1.05);
}

.pulse-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  box-shadow: 0 0 20px var(--accent-primary);
  opacity: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Hero Pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: clamp(1rem, 2vh, 2rem);
}

.pill-badge {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  transition: all 0.3s ease;
}

.pill-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Idea Section */
.idea-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  padding: 4rem 0;
}

.idea-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}



.idea-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 400;
}

.idea-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

.idea-highlight {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.idea-right p:not(.idea-highlight) {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #a0a0a0;
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 768px) {
  .idea-container {
    flex-direction: column;
    gap: 3rem;
  }

  .idea-right {
    padding-top: 0;
  }
}

/* Experience Section */
.experience-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  padding: 4rem 0;
}

.experience-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-label {
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.experience-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 400;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
}

.experience-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.experience-card:first-child {
  border-left: none;
  padding-left: 0;
}

.card-number {
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #a0a0a0;
  line-height: 1.6;
  font-weight: 300;
}

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

  .experience-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 2rem;
  }

  .experience-card:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* Chapter Section */
.chapter-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  padding: 4rem 0;
  position: relative;
  z-index: 3;
}

.chapter-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 4rem;
}

.chapter-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chapter-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}

.chapter-right p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #a0a0a0;
  line-height: 1.6;
  font-weight: 300;
}

.chapter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.chapter-pill-badge {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a0a0a0;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

a.chapter-pill-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.6);
}

.chapter-image-wrapper {
  width: 100%;
  margin-top: 1rem;
}

.image-compare-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  --position: 50%;
}

.compare-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.compare-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  margin: 0;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: var(--accent-primary);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  color: #000;
  animation: pulse-slider 2s infinite;
}

@keyframes pulse-slider {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 186, 127, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(220, 186, 127, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 186, 127, 0);
  }
}

@media (max-width: 768px) {
  .chapter-top {
    flex-direction: column;
    gap: 2rem;
  }

  .chapter-right {
    padding-top: 0;
  }
}

/* DJs Section */
.dj-images-wrapper {
  display: flex;
  width: 100%;
  gap: 2rem;
  margin-top: 1rem;
}

.dj-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dj-pills {
  margin-top: 0;
  justify-content: flex-start;
}

.dj-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .dj-images-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
}

/* Logistics Section */
.logistics-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  /* For thin neon borders */
  background-color: var(--accent-primary);
  padding: 2px;
  width: 90%;
  max-width: 1200px;
}

.grid-item {
  background-color: rgba(5, 5, 5, 0.85);
  /* Semi-transparent to see video */
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.3s;
}

.grid-item:hover {
  background-color: #111;
}

.grid-item h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.grid-item p {
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .logistics-grid {
    grid-template-columns: 1fr;
    width: 95%;
  }

  .grid-item {
    padding: 2.5rem 1rem;
  }

  .grid-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .grid-item p {
    font-size: 1rem;
  }
}

/* Sound Marquee Section */
.marquee-container {
  position: relative;
  z-index: 3;
  width: 100vw;
  overflow: hidden;
  background-color: var(--accent-primary);
  padding: 2rem 0;
  transform: rotate(-2deg) scale(1.1);
}

.marquee {
  white-space: nowrap;
  display: inline-block;
  animation: marquee-scroll 15s linear infinite;
}

.marquee span {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--bg-color);
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Final CTA Section */
.final-cta-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pre-title {
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.serif-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 400;
  color: #fdfbf7;
  text-align: center;
  line-height: 1.1;
  margin: 1rem 0;
}

.post-title {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #d0d0d0;
  font-weight: 300;
  margin-bottom: 2rem;
}

.footer-social-pills {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}



/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--bg-color);
  margin: auto;
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 600px;
  position: relative;
  border-radius: 8px;
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-secondary);
}

.close-modal {
  color: var(--text-primary);
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
}

.close-modal:hover {
  color: var(--accent-primary);
}


#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  padding: 1rem 0;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-bottom-color: var(--accent-primary);
}

.phone-group {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.country-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  padding: 1rem 0;
  outline: none;
  width: 140px;
  cursor: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.country-select option {
  background: var(--bg-color);
  color: var(--text-primary);
}

.country-select:focus {
  border-bottom-color: var(--accent-primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  margin-top: -1rem;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  background-color: transparent;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-content: center;
  transition: all 0.2s;
  cursor: none;
}

.checkbox-group input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--accent-primary);
  background-color: var(--accent-primary);
}

.checkbox-group input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox-group input[type="checkbox"]:checked {
  border-color: var(--accent-primary);
}

.checkbox-group a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.checkbox-group a:hover {
  border-bottom-color: var(--accent-primary);
}

.submit-btn {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 2rem;
  padding: 1rem;
  margin-top: 2rem;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color: var(--accent-primary);
  color: var(--bg-color);
}
