/* GLOBAL */
body {
  font-family: 'Exo 2', sans-serif;
  color: white;
  background: radial-gradient(circle at center, #0b0f2a, #000);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

a {
  color: #00f2ff;
  text-decoration: none;
}

/* GENERAL CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

* {
  box-sizing: border-box;
}

/* HEADER */

.header {
  position: absolute;
  padding: auto;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header-container {
  max-width: 1200px;
 margin-top: 45px;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* push everything right */

  gap: 25px;
  padding: 0 50px;
}

/* NAVIGATION */

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 17px;
  color: #00c8ff;
  transition: 0.3s;
}

.nav a:hover {
  color: #00eaff;
}

/* LOGO */

.logo img {
  width: 55px;
  display: block;
}





/* HERO SECTION */

#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* HERO SECTION */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 60px;
  overflow: hidden;
  padding-right: 15vh;
  padding-left: 15vh; 
}

/* CONTAINER */

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* TEXT */

.hero-text {
  max-width: 75vh;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(180deg, #33f0ff, #00bcd4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
  color: #2f6df6;
  -webkit-text-fill-color: #2f6df6;
}

.hero-text p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: #4cc4ff;
  opacity: .75;
}

/* PLANET */

.hero-planet {
  position: absolute;
  right: 0%;

  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: url("images/LogogradientAsset-15@4x.png") no-repeat center;
  background-size: cover;

  box-shadow:
    0 0 70px rgba(0, 150, 255, 0.6),
    inset -40px 0 60px rgba(0, 0, 0, 0.8);

  animation: rotatePlanet 40s linear infinite;
  flex-shrink: 0;
}

@keyframes rotatePlanet {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotatePlanetWithOffset {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* TAB */

@media (max-width:680px) {

  .hero {
    padding: 0 40px;
  }


  .hero-container {
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text p {
    font-size: 15px;
  }

}

body {
  background: radial-gradient(circle at top, #050816, #02030a);
  font-family: 'Segoe UI', sans-serif;
}


.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 120px;
  width: max-content;
  animation: scroll 20s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-size: 60px;
  font-family: "Orbitron", sans-serif;
  font-weight: 1000;
  white-space: nowrap;
  color: white;
  -webkit-text-stroke: 2px #00f7ff;
}

.marquee-track span:hover {
  color: #00f7ff;
  text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff;
}

@keyframes scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* STRENGTH SECTION */

.strength-section {
  padding: 120px 20px;
  background: rgba(0, 0, 30, 0.17);
  backdrop-filter: blur(4px);
  color: white;
}

/* CONTAINER */

.strength-container {
  max-width: 1200px;
  margin: auto;
}

/* TITLE */

.strength-section h1 {
  text-align: center;
  color: #00d9ff;
  font-size: 40px;
  margin-bottom: 60px;
}

.strength-section h1 span {
  color: #2f6df6;
  -webkit-text-fill-color: #2f6df6;
}

/* GRID */

.strength-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* CARD */

.strength-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: 0.4s;
  cursor: pointer;
  min-width: 30px;
}

.strength-box:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
}

/* ICON */

.strength-box img {
  width: 130px;
  margin-bottom: 10px;
}

/* TITLE */

.strength-box h3 {
  color: #00d9ff;
  font-weight: 700;
  font-size: 18px;
  font-weight: 1000;
}

/* DESCRIPTION */

.strength-description {
  margin-top: 40px;
  text-align: center;
  color: #2b85e6;
  font-size: 20px;
  line-height: 1.8;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}



/* ===== Events Carousel ===== */

/* EVENTS SECTION */

.events-section {
  padding: 120px 20px;
  background: rgba(0, 0, 30, 0.17);
  backdrop-filter: blur(3px);
  color: white;
  text-align: center;
}

/* TITLE */

.section-title {
  color: #00e0ff;
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 30px;
}

.section-title span {
  color: #2f6df6;
}

/* WRAPPER */

.events-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  margin-top: 5px;
}

/* CAROUSEL */
.events-carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 50px;
  margin-top: -30px;
}

.events-carousel::-webkit-scrollbar {
  display: none;
}

/* CARD */
.event-card {
  min-width: 370px;
  position: relative;
  width: 300px;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  /* Keeps the image and overlay inside the rounded corners */
  font-family: sans-serif;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  transition: 0.35s;
  cursor: pointer;
  /* scroll-snap-align:start; */
}

.event-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

/* IMAGE */

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Spans the full card without stretching */
  display: block;
}

.card-overlay {
  height: 20vh;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;

  /* The Blur Effect */
  background: rgba(29, 61, 73, 0.589);
  /* Semi-transparent white */
  backdrop-filter: blur(2px);
  /* This creates the mild blur */
  -webkit-backdrop-filter: blur(8px);
  /* Safari support */

  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* TITLE */

.event-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* DATE */

.event-card p {
  font-size: 14px;
  color: #9fdcff;
  margin-bottom: 15px;
}

/* BUTTON */

.learn-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #00e0ff;
  color: #00111f;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin-bottom: 30px;
}

.learn-btn:hover {
  background: #00aacc;
}

/* ARROWS */

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  font-size: 28px;
  color: white;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
  transition: 0.3s;
}

.arrow:hover {
  background: #00e0ff;
  color: #00111f;
  transition: 0.3s;
}

.arrow.left {
  left: -10px;
}

.arrow.right {
  right: -10px;
}


/* WHY JOIN SECTION */

.why-join {
  padding: 120px 20px;
  background: rgba(0, 0, 30, 0.17);
  backdrop-filter: blur(3px);
  text-align: center;
}

/* TITLE */

.why-join .section-title {
  font-size: 36px;
  margin-bottom: 70px;
  color: #00e0ff;
}

.why-join .section-title span {
  color: #2f6df6;
}

/* GRID */

.why-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}

/* ITEM */

.why-item {
  max-width: 320px;
  margin: auto;
}

/* IMAGE */

.why-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* IMAGE HOVER */

.why-image:hover img {
  transform: scale(1.15);
}

.why-image:hover {
  box-shadow: 0 10px 30px rgba(30, 99, 255, 0.4);
}

/* TITLE */

.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #00d9ff;
}

/* TEXT */

.why-item p {
  font-size: 14px;
  color: #b8dfff;
  line-height: 1.7;
}


/* CONTACT SECTION */

.contact-section {
  padding: 120px 8%;
  position: relative;
  background: rgba(0, 0, 30, 0.171);
  backdrop-filter: blur(3px);
  overflow: hidden;
}

/* TITLE */

.contact-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  color: #00eaff;
  text-shadow: 0 0 20px #00eaff;
}

/* GRID */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* INFO CARDS */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 25px;
  border-radius: 15px;
  transition: 0.4s;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.info-card h3 {
  color: #00eaff;
  margin-bottom: 10px;
}

.info-card p {
  color: #ccefff;
}

/* FORM */

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 15px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00eaff;
  box-shadow: 0 0 10px #00eaff;
}

/* FADE IN EFFECT */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Popup ===== */

.popup-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  z-index: 999;
}

.popup-modal.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  max-height: 75vh;
  overflow-y: auto;
  color: white;
  position: relative;
  animation: scaleUp 0.3s ease;
}

@keyframes scaleUp {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 18px;
  display: none;
}


/* Glow effect */
.strength-box,
.event-card,
.why-item {
  transition: all 0.4s ease;
}

.strength-box:hover,
.event-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 10px rgba(159, 27, 211, 0.541), 0 0 40px rgba(61, 162, 230, 0.5);
}

/* Section reveal */
section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons modern look */
button {
  background: linear-gradient(45deg, cyan, blue);
  border: none;
  padding: 10px 20px;
  color: white;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.1);
}

/* Scroll bar styling */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-thumb {
  background: cyan;
  border-radius: 10px;
}



/* Floating logo animation (optional)*/
.hero-logo img {
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}



#space-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#warpCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loader-ui {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  color: white;
}

.loader-ui h1 {
  font-size: 60px;
  letter-spacing: 6px;
  color: #00f7ff;
  text-shadow: 0 0 20px #00f7ff;
}

.loader-ui p {
  margin-top: 10px;
  opacity: 0.8;
}

.loading-bar {
  width: 260px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00f7ff, #6cf);
  animation: loadBar 2.5s linear forwards;
}

@keyframes loadBar {

  0% {
    width: 0%
  }

  100% {
    width: 100%
  }

}



/* VIDEO SECTION */

.video-section {
  padding: 120px 8%;
  background: rgba(0, 0, 30, 0.15);
  backdrop-filter: blur(3px);
}

.video-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.video-main {
  flex: 2;
  min-width: 500px;
  height: 380px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.video-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.video-item {
  display: flex;
  gap: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.video-item img {
  width: 120px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.video-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}



/* ===================== CONSOLIDATED RESPONSIVE MEDIA QUERIES ===================== */

/* EXTRA LARGE - 1200px and below */
@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* LARGE - 900px and below */
@media (max-width: 900px) {

  /* Video section */
  .video-container {
    flex-direction: column;
  }

  iframe {
    height: 44vh;
  }

  .video-main {
    min-width: unset;
    width: 100%;
    height: 260px;
  }

  .video-side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .video-item {
    flex: 0 0 calc(50% - 10px);
  }

  /* Strength section */
  .strength-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: 1 / -1;
    order: -1;
  }

  .footer-links {
    transform: none;
  }
}

/* MEDIUM - 680px and below */
@media (max-width: 680px) {
  iframe {
    height: 33vh;
  }

  .header-container {
    gap: 20px;
  }

  .hero-planet {
    opacity: .75;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 15px;
  }

  .logo img {
    width: 50px;
  }

  .hero {
    padding: 0 40px;
  }

  .hero-container {
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .strength-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .strength-section h2 {
    font-size: 30px;
  }

  .hero-planet {
    width: 250px;
    height: 250px;
    opacity: .75;
  }

  .section-title {
    font-size: 32px;
  }

  .event-card {
    min-width: 220px;
  }

  .events-carousel {
    gap: 18px;
  }

  .why-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .why-join .section-title {
    font-size: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-title {
    font-size: 34px;
  }
}

/* TABLET/SMALL - 600px and below */
@media (max-width: 600px) {

  /* Video section */
  .video-section {
    padding: 80px 5%;
  }

  .video-main {
    height: 200px;
  }

  .video-side {
    flex-direction: column;
  }

  .video-item {
    flex: unset;
    width: 100%;
  }

  .video-item img {
    width: 90px;
    height: 55px;
  }

  /* Strength section */
  .strength-section {
    padding: 80px 5%;
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-section h1 {
    font-size: 28px;
  }

  /* Events section */
  .events-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 26px;
    padding: 0 16px;
  }

  .event-card {
    min-width: 280px;
  }

  .arrow {
    display: none;
  }

  /* Why join */
  .why-grid {
    grid-template-columns: 1fr !important;
  }

  .why-section {
    padding: 80px 5%;
  }

  /* Marquee */
  .marquee-track span {
    font-size: 36px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-links {
    align-items: center;
    transform: none;
  }

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

/* MOBILE - 480px and below */
@media (max-width: 480px) {
  .header {
    top: 20px;
  }

  iframe {
    height: 10vh;
  }

  .header-container {
    padding: 0 20px;
    gap: 15px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 13px;
  }

  .logo img {
    width: 42px;
  }

  .hero {
    padding: 0 20px;
    text-align: center;
  }

  .hero-container {
    flex-direction: column;
    justify-content: center;
    /* margin-top: 30vh; */
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-planet {
    opacity: 1;
    position: relative;
    width: 270px;
    height: 270px;
    transform: translateX(50%);
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .strength-box img {
    width: 70px;
  }

  .strength-box h3 {
    font-size: 16px;
  }

  .strength-description {
    font-size: 16px;
    margin-top: 40px;
  }

  .events-wrapper {
    padding: 0 10px;
  }

  .section-title {
    font-size: 28px;
  }

  .event-card {
    /* min-width: 200px; */
    max-height: 300px;
    scroll-snap-align: start;
  }

  .arrow {
    font-size: 22px;
    padding: 8px 12px;
  }

  .why-wrapper {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .why-image {
    width: 150px;
    height: 150px;
  }

  .why-item h3 {
    font-size: 16px;
  }

  .why-item p {
    font-size: 14px;
  }

  .contact-section {
    padding: 100px 20px;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .info-card {
    padding: 20px;
  }

  /* Popup */
  #popup {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
  }

  #popup.active {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .popup-content {
    width: 90vw;
    border-radius: 20px 20px 0 0;
  }
  section{
     padding:20px 10px;
  }
}

/* EXTRA SMALL - 380px and below */
@media (max-width: 380px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-section h2 {
    font-size: 26px;
  }

  .strength-description {
    font-size: 15px;
  }

  .event-card {
    min-width: 180px;
  }

  .section-title {
    font-size: 24px;
  }

  .event-card h3 {
    font-size: 16px;
  }

  .event-card p {
    font-size: 13px;
  }

  .learn-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .why-join .section-title {
    font-size: 24px;
  }

  .why-image {
    width: 130px;
    height: 130px;
  }

  .why-item p {
    font-size: 13px;
  }
}

/* DESKTOP - 768px and above */
@media (min-width: 768px) {
  #popup {
    bottom: 20px;
    right: 20px;
  }

  #popup.active {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ===== Lightbox ===== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  z-index: 1000;
}

.lightbox-modal.open {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1001;
}

.lightbox-close:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px #00d4ff;
}

#popup {
  position: fixed;
  z-index: 999;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease;
}

.parent {
  width: 300px;
  padding: 20px;
  perspective: 1000px;
  background-color: rgba(0, 0, 0, 0.1);
}

.card {
  padding-top: 50px;
  /* border-radius: 10px; */
  border: 3px solid rgba(255, 255, 255, 0.336);
  transform-style: preserve-3d;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background-color: rgba(255, 255, 255, 0.1);
  /* background: linear-gradient(135deg,#0000 18.75%,#f3f3f3 0 31.25%,#0000 0),
      repeating-linear-gradient(45deg,#f3f3f3 -6.25% 6.25%,#ffffff 0 18.75%); */
  background-size: 60px 60px;
  background-position: 0 0, 0 0;
  /* background-color: #f0f0f0; */
  border-radius: 10px;

  width: 100%;
  box-shadow: rgba(162, 27, 216, 0.301) 0px 30px 30px -10px;
  transition: all 0.5s ease-in-out;
}

.card:hover {
  background-position: -100px 100px, -100px 100px;
  transform: rotate3d(0.5, 1, 0, 30deg);
  backdrop-filter: blur(15px);
}

.content-box {
  background: rgba(160, 43, 255, 0.384);
  /* border-radius: 10px 100px 10px 10px; */
  transition: all 0.5s ease-in-out;
  padding: 60px 25px 25px 25px;
  transform-style: preserve-3d;
}

.content-box .card-title {
  display: inline-block;
  color: white;
  font-size: 25px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 50px);
}

.content-box .card-title:hover {
  transform: translate3d(0px, 0px, 60px);
}

.content-box .card-content {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f2f2f2;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 30px);
}

.content-box .card-content:hover {
  transform: translate3d(0px, 0px, 60px);
}

.content-box .see-more {
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  font-weight: 900;
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.822);
  /* border-radius: 5px; */
  background: white;
  padding: 0.5rem 0.7rem;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
}

.content-box .see-more:hover {
  transform: translate3d(0px, 0px, 60px);
}

.date-box {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 60px;
  width: 90px;
  background: white;
  border: 1px solid rgba(160, 43, 255, 0.63);
  /* border-radius: 10px; */
  padding: 10px;
  transform: translate3d(0px, 0px, 80px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 17px 10px -10px;
}

.date-box span {
  display: block;
  text-align: center;
}

.date-box .month {
  color: rgba(73, 13, 122, 0.795);
  font-size: 9px;
  font-weight: 700;
}

.date-box .date {
  font-size: 20px;
  font-weight: 900;
  color: rgba(73, 13, 122, 0.795);
}

/* DESKTOP POSITION */
@media (min-width: 768px) {
  #popup {
    bottom: 20px;
    right: 20px;
  }

  #popup.active {
    opacity: 1;
    transform: translateX(0);
  }
}

/* MOBILE POSITION */
@media (max-width: 767px) {
  #popup {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
  }

  #popup.active {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .popup-content {
    width: 90vw;
    border-radius: 20px 20px 0 0;
  }
}

.popup-content {
  position: relative;
  /* IMPORTANT */
}

/* Close button */
.popup-close-btn {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 18px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.61);
  transition: all 0.25s ease;
  border-radius: 24px;
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

.popup-close-btn:hover {
  color: #fff;
  transform: scale(1.2);


  /* neon glow */
  text-shadow:
    0 0 6px rgba(180, 0, 255, 0.9),
    0 0 12px rgba(180, 0, 255, 0.7);
}