/* 
Heading :  colour   background: linear-gradient(45deg, #ffd66e, #7873f5);
fontweight: */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(#2c346f, #0b034e);
  color: #fff;
  scroll-behavior: smooth;
}

/* TOGGLE switch */
/* light mode */
.toggle-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 60px;
  height: 34px;
  display: inline-block;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

section {
  transition: background 0.4s ease, color 0.4s ease;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #512f77;
  border-radius: 34px;
  width: 100%;
  height: 100%;
  transition: 0.4s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  left: 5px;
  bottom: 5px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

/* When checkbox is checked, animate toggle and apply new theme */
.toggle-switch input:checked + .slider {
  background-color: #ff6ec4;
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(26px);
}

@keyframes shimmer {
  0% { background-position: 0% }
  100% { background-position: 100% }
}
.grid-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
body:has(#mode-toggle:checked) {
  background: radial-gradient(#1a1a1a, #000000);
  color: #eaeaea;
}
/* body:has(#mode-toggle:checked) section {
  background: radial-gradient(#0f0f0f, #000000);
  color: #eaeaea;
} */
body:has(#mode-toggle:checked) section {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  transition: background 0.4s ease;
}

section {
  margin-bottom: 4rem;
}




/* ===========================
   HERO HEADER
=========================== */
.hero {
  position: relative;
  height: 100vh;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

/* Dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.85)
  );
  z-index: 1;
}

/* ===========================
   BLACK HOLE + ACCRETION DISK
=========================== */


.blackhole-bg {
  position: absolute;
  width: 100vw;          /* scales with screen width */
  height: 100vw;         /* keeps it perfectly circular */
  max-width: 380px;     /* prevents it from getting too big */
  max-height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, #000 40%, #111 70%, transparent 100%);
  box-shadow: 0 0 60px rgba(255, 140, 0, 0.4);
  animation: slow-spin 18s linear infinite;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.accretion-disk {
  position: absolute;

  /* Responsive size */
  width: 90vw;
  height: 90vw;

  /* Keep it circular */
  max-width: 520px;
  max-height: 520px;

  border-radius: 50%;

  /* Glowing swirling ring */
  background: conic-gradient(
    from 0deg,
    rgba(255, 140, 0, 0.4),
    rgba(255, 80, 0, 0.2),
    rgba(255, 140, 0, 0.4)
  );

  filter: blur(40px);
  animation: disk-spin 12s linear infinite;

  /* Center it behind the black hole */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}




@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes disk-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* ===========================
   ORBIT PARTICLES
=========================== */
.orbit-container {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.orbit-layer-2 {
  width: 900px;
  height: 900px;
  animation: orbit-rotate 40s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffa94d;
  border-radius: 50%;
  opacity: 0.8;
}

.p1 { top: 10%; left: 50%; }
.p2 { top: 60%; left: 90%; }
.p3 { top: 80%; left: 20%; }
.p4 { top: 30%; left: 10%; }
.p5 { top: 70%; left: 70%; }
.p6 { top: 40%; left: 85%; }

/* ===========================
   TEXT STYLING
=========================== */
.hero h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  z-index: 2;

  /* Gradient fill */
  background: linear-gradient(45deg, #ffd66e, #7873f5);

  /* Required for gradient text */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 214, 110, 0.3);
}


.orange-headertext p {
position: relative;
  color: #ffb36b;
  z-index: 2;
 font-size: clamp(1rem, 3.5vw, 1.3rem);
  letter-spacing: 2px;
  margin: 0.3rem 0;
}

/* ===========================
   CTA BUTTON
=========================== */
.register-btn {
  margin-top: 2rem;
  padding: 0.9rem 2.2rem;
  background: #ff8c42;
  color: #000;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
  z-index: 2;
}

.register-btn:hover {
  background: #ffb36b;
  transform: translateY(-3px);
}

/* ===========================
   TOGGLE SWITCH
=========================== */
.toggle-switch {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 3;
}

/* Section 1 */
.info {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  text-align: center;
  background: radial-gradient(#0a0e2c, #0b034e);
  border-radius: 15px;
}

.gradient-text{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 2px;
text-align: center;
  /* Gradient fill */
  background: linear-gradient(45deg, #ffd66e, #7873f5);

  /* Required for gradient text */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 214, 110, 0.3);
}

.info h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: #ffb36b;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.desktop-view-event {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.image-wrapper-event {
  flex: 1;
  max-width: 450px;
}

.image-event {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.25);
}

.event-overview {
  flex: 1;
}

.event-overview p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #e6e6e6;
}

/* .info::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 2rem;
  background: linear-gradient(90deg, #ffd66e, #7873f5);
  border-radius: 2px;
} */

/* Section What is included */
/* Section container */

/* Icons container */
.icons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin: 2rem 0 3rem;
}


/* Individual icon blocks */
.icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
  .icons > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.25);
  }
}

/* SVG icons */
.icon {
  width: 40px;
  height: 40px;
  color: #ffb36b;
  margin-bottom: 0.8rem;
}

/* Icon labels */
.icons p {
  font-size: 1.05rem;
  color: #e6e6e6;
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
}

/* CTA button spacing */
.info .cta-btn {
  margin-top: 1rem;
}

/* Section  What is black hole  */
.overview {
    border-radius: 15px;
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  text-align: left;
  background: radial-gradient(#0a0e2c, #0b034e);
}

/* Layout container */
.desktop-view-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1rem;
}

/* Desktop layout */
/* @media (min-width: 768px) {
  .desktop-view-event {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 2.5rem;
  }
} */

/* Icon styling */
.desktop-view-event .icon {
  width: 55px;
  height: 55px;
  color: #ffb36b;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.25));
}

/* Paragraph styling */
.desktop-view-event p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e6e6e6;
  max-width: 600px;
}

/* Section Workshop Gallery */
/* Section container */
.gallery {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  text-align: center;
 background: radial-gradient(#0a0e2c, #0b034e);
 border-radius: 15px;
}


/* Mobile-first grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}


/* Image wrapper (card) */
.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect (desktop only) */
@media (hover: hover) {
  .image-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.25);
  }
}

/* Images */
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* Section Accessibility */
/* Section container */
.access {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 5rem auto;
  text-align: center;
}

/* Heading */
.access h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.2rem;
}

/* Paragraph */
.access p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e6e6e6;
  max-width: 650px;
  margin: 0 auto;
  letter-spacing: 0.3px;
}

/* Optional subtle divider for visual rhythm */
.access::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 2rem;
  background: linear-gradient(90deg, #ffd66e, #7873f5);
  border-radius: 2px;
  opacity: 0.7;
}

/* RSVP Section */
.register {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 5rem auto;
  text-align: center;
}

/* Heading */
.register h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

/* Subtext */
.register p {
  font-size: 1.15rem;
  color: #e6e6e6;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}

/* CTA button spacing */
.register .cta-btn {
  margin-top: 1rem;
}

/* MODAL */
/* MODAL FORM */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 999;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: radial-gradient(circle, #1a1f30, #0b0f1a);
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  color: white;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}


/* === Modal Container === */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 999;
  animation: fadeIn 0.6s ease forwards;
}

.modal.show {
  display: flex;
}

/* === Modal Content === */
.modal-content {
  background: radial-gradient(circle, #1a1f30, #0b0f1a);
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  color: #fff;
  position: relative;
  box-shadow: 0 0 30px rgba(168, 93, 251, 0.4);
  transform: scale(0.95);
  animation: popUp 0.4s ease forwards;
}

/* === Close Button === */
.close-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* === Form Styling === */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.form-container input,
.form-container textarea {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #ccc;
}

.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #a85dfb;
  transform: scale(1.02);
}

/* === Submit Button === */
.form-container button {
  padding: 0.8rem 2rem;
  background: linear-gradient(45deg, #512f77, #a85dfb);
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  align-self: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.form-container button:hover {
  background: linear-gradient(45deg, #a85dfb, #ff6ec4);
  transform: scale(1.05);
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popUp {
  from { transform: scale(0.95); }
  to   { transform: scale(1); }
}

/* FORM SUCKED into BLACK HOLE */
@keyframes suckIntoBlackhole {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  50% {
    transform: scale(0.5) translateY(50px) rotate(15deg);
    opacity: 0.6;
  }
  100% {
    transform: scale(0) translateY(200px) rotate(360deg);
    opacity: 0;
  }
}

.absorbed {
  animation: suckIntoBlackhole 2.5s ease forwards;
  pointer-events: none;
}
/* Responsive */

 /* .hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
} */

.hidden {
  opacity: 0;
  transform: translateY(80px); /* more dramatic */
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s; /* small delay for smoothness */
}




/* Responsive */
@media (min-width: 768px) {
  .desktop-view-event {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
  }

   .desktop-view-event .event-overview {
    text-align: left;
   }

   .info {
    margin: 5rem auto;
   }
  .icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

   .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}


/* For smaller devices */
@media (max-width: 480px) {
  .accretion-disk {
    width: 100vw;
    height: 100vw;
  }

  .blackhole-bg {
    width: 70vw;
    height: 70vw;
  }
}
