/* General Reset */

:root {
  --side-padding: 15%;
  --pink: #cc1e44;
  --bg-main: #1a1a1a;
}

/* --- LENIS SMOOTH SCROLL SETUP --- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Funnel Display", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: white;
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}

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

/* NAV BAR ---------------------------------------------------------------------------------------
==================================================================================================*/

.navbar {
  width: 100%;
  padding: 0 var(--side-padding);
  height: 90px;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  z-index: 1000;
}

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

/* --- LOGO IMAGE --- */

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .navbar {
    padding: 2%;
  }
  .nav-logo-img {
    height: 32px;
  }
}

/* Nav Links Styling */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* --- CTA Button Styling ---------------------------------------------------------- */
.nav-button {
  position: relative;
  background-color: var(--pink);
  color: #fff;
  text-decoration: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-text {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

/* 1. Default Text */
.btn-text.default {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Hover Text  */
.btn-text.hover {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
}

/* --- HOVER ACTIONS --- */

.nav-button:hover {
  background-color: #ffffff;
  color: var(--pink);
}

/* Slide Out the Default Text */
.nav-button:hover .btn-text.default {
  opacity: 0;
  transform: translateY(-20px);
}

/* Slide In the Hover Text */
.nav-button:hover .btn-text.hover {
  opacity: 1;
  transform: translateY(0);
  color: var(--pink);
}

/* --- HAMBURGER MENU ---------------------------------------------------------------- */
.hamburger {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
  margin-left: 20px;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: white;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.bar-top {
  top: 0;
}
.bar-mid {
  top: 50%;
  transform: translateY(-50%);
}
.bar-bot {
  bottom: 0;
}

/* --- RESPONSIVE NAV (Mobile) --- */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 1.5rem;
    font-weight: 600;
  }
}

/* --- Hamburger Turn into X --- */
.hamburger.open .bar-top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.open .bar-mid {
  opacity: 0;
}

.hamburger.open .bar-bot {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/*






-- HERO -------------------------------------------------------------------------------------------------
=========================================================================================================*/

.hero {
  height: 90vh;
  width: 100%;
  padding-top: 100px;
  background-color: #000;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* The Anchor  */
.hero-composition {
  transform: translateX(-40%);
  position: relative;
  height: 100%;
  width: auto;
  display: flex;
}

/* --- 1. image --- */
.image-box {
  position: relative;
  height: 100%;
  z-index: 20;
}

.hero-img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* The Badge  */
.badge-container {
  position: absolute;
  top: 50%;
  left: -60px; /* Pulls it slightly off the image edge */
  z-index: 30;
}

.badge-img {
  width: 100%;
  height: auto;
  display: block;

  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

/* --- 2. THE TEXT LAYER  --- */
.text-layer {
  position: absolute;
  top: 18%;
  /* "starts 65% across the image width */
  left: 80%;
  display: flex;
  flex-direction: column;
  z-index: 10;
  white-space: nowrap;

  will-change: transform;
}

.align-left {
  align-self: flex-start;
  margin-bottom: -12px;
}

.align-right {
  align-self: flex-end;
  margin-top: -24px;
  padding-right: 8px;
}

.txt-small {
  font-size: clamp(0.8rem, 2vw, 2rem);
  font-weight: 500;
  color: white;
}

.txt-main {
  font-family: "Big Shoulders", sans-serif !important;
  font-size: 30vh;
  line-height: 1;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  /*Gradient*/
  background: linear-gradient(90deg, #ffffff 0%, #e5224c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- THE NOTE --- */
.note-box {
  margin-top: 100px;
  align-self: flex-end; /* Aligns to the right edge of SANO */

  display: flex;
  align-items: flex-start;
  gap: 15px;
  z-index: 40;
  position: relative;

  will-change: transform;
}

.arrow-container {
  width: 130px;
}

.arrow-img {
  width: 100%;
}

.note-text {
  color: #ffffff;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pink-text {
  color: #e94b6d;
  font-weight: 700;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .text-layer {
    left: 60%;
  }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    padding-top: 4px;
    align-items: center;
    overflow: hidden;
  }

  .hero-composition {
    transform: none;
    width: 100%;
    height: 100%;

    /* switch to a manual layout */
    display: block;
    position: relative;
  }

  /*  IMAGE */
  .image-box {
    position: absolute;
    bottom: 0;
    left: -20%;
    height: 80%;
    width: auto;
    z-index: 20;
  }

  /* TEXT*/
  .text-layer {
    top: 28%;
    left: auto;
    right: 3%;

    align-items: flex-end;
    text-align: right;
  }

  .txt-main {
    z-index: 10;
    font-size: 30vw;
  }

  .txt-small {
    z-index: 10;
    font-size: 1rem;
    padding-top: 8px;
  }

  .align-left {
    align-self: flex-start;
    margin-right: 20px;
    padding-bottom: 4px;
  }

  .align-right {
    margin-right: 0px;
  }

  /* 3. THE BADGE */
  .badge-container {
    top: -7%;
    bottom: auto;
    left: 43%;
    transform: scale(0.8);
  }

  /* 4. THE NOTE */
  .note-box {
    z-index: 40;
    flex-direction: column;
    transform: none !important;
    position: relative; /*the great reset*/
    inset: auto;
    bottom: auto;
    right: auto;

    margin-top: 200px;

    bottom: 5%;

    gap: 4px;
  }

  .arrow-container {
    margin-left: 30%;
    width: 60px;
    transform: rotateX(180deg) rotate(-60deg);
  }

  .note-text {
    font-size: 0.7rem;
    max-width: 180px;
    text-align: left;
    white-space: normal;
    padding: 10px;
  }
}

/* 





--Intro Section --------------------------------------------------------------------------------------------
=============================================================================================================*/

.portfolio-intro {
  padding: 20px 0 20px 0;
}

.text-block-centered {
  padding-top: 40px;
  margin: 0 auto 60px auto;

  max-width: 900px;
  width: calc(100% - (var(--side-padding) * 2));

  display: flex;
  align-items: center;
  gap: 40px;

  text-align: left;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.text-gif {
  flex: 0 0 220px;
  width: 220px;
}

.intro-gif {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .text-block-centered {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .text-gif {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
}

.text-block-aligned {
  padding: 0 var(--side-padding) 0 var(--side-padding);
  margin-bottom: 8px;
}

.text-block-aligned h2 {
  font-size: 2.5rem;
  margin: 10px 0;
}

.pink-accent {
  color: var(--pink);
  font-weight: 600;
}
.bold {
  font-weight: 800;
}
.sub-caption {
  color: #888;
  font-size: 0.9rem;
}

/*





--Portfolio -------------------------------------------------------------------------------------------------
=============================================================================================================*/

.portfolio-section {
  padding: 40px var(--side-padding) 0px;
  background: linear-gradient(to bottom, #000000 0%, #1a1a1a 100%);
}

/* --- Container & Row --- */
.portfolio-main-bound {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-row {
  display: flex;
  width: 100%;
  height: 300px;
  gap: 20px;
}

/* Portfolio Card Styling --------------------------------------------------------------------
----------------------------------------------------------------------------------------------*/

.portfolio-card {
  flex: var(--flex-ratio) 1 0;
  height: 100%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;

  /* Image Settings */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* glow stroke */
  box-shadow: -4px -4px 12px rgba(255, 255, 255, 0 /* glow eka set na*/);

  /* Transition */
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease,
    box-shadow 0.4s ease;

  /* Default State: B&W */
  filter: grayscale(100%);
}

/* ---  Gradient Border  --- */
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px; /* stroke */

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4),
    rgb(92, 92, 92, 0.1)
  );
  /* fking bodare css dont have gradient border wtf? */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* ---  Shine effect  --- */
.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%; /* Start x */
  width: 50%; /* width beam */
  height: 100%;

  /* shine */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );

  transform: skewX(-25deg);
  z-index: 1;
  pointer-events: none;
}

/* --- Trigger Animation on Hover --- */
.portfolio-card:hover::before,
.portfolio-card.mobile-active::before {
  animation: shine 0.75s;
}

/*  Animation  */
@keyframes shine {
  100% {
    left: 125%;
  }
}

/* --- card Content Styling  --------------------------------------------------------------------------------------- */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;

  /* Vertical Gradient */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );

  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* --- Text Styling --- */
.card-text h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: white;
}

.card-desc {
  font-size: 0.9rem;
  color: #ccc;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* --- Button Styling --- */
.card-button {
  opacity: 0;
  transform: translateX(-10px); /* Slides in from left slightly */
  transition: all 0.4s ease;
}

/* --- card Hover Effects ----------------------------------------------------------------------- */
.portfolio-card:hover,
.portfolio-card.mobile-active {
  flex: calc(var(--flex-ratio) * 1.5) 1 0;
  box-shadow: -6px -6px 12px rgba(255, 255, 255, 0.1);

  filter: grayscale(0%);
}

/* 2. Reveal Description */
.portfolio-card:hover .card-desc,
.portfolio-card.mobile-active .card-desc {
  max-height: 50px; /* Adjust if description is long */
  opacity: 1;
  margin-top: 4px;
}

/* 3. Reveal Button */
.portfolio-card:hover .card-button,
.portfolio-card.mobile-active .card-button {
  opacity: 1;
  transform: translateX(0);
}

.portfolio-card:hover .card-content {
  opacity: 1;
}

/* --- Mobile --------------------------------------------------------------------------------******** */
@media (max-width: 768px) {
  .portfolio-section {
    padding: 40px 2% 0px;
  }
  .portfolio-row {
    flex-direction: column; /* Stack them on mobile */
    height: auto;
    padding: 0 2px;
    gap: 20px;
  }

  .portfolio-card {
    width: 100%;
    height: 400px; /* Keep height or allow auto */
    flex: none !important;
  }
}

/* --- View All Button Container -----------------------[]------------------------------------------------ */
.view-all-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* --- Button --- */
.view-all-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background-color: transparent;
  color: white;
  text-decoration: none;
  font-size: 1rem;

  /* transition */
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* State 1: Default */
.default-state {
  max-width: 150px;
  opacity: 1;
  transform: translateX(0);
}

/* State 2: Hover */
.hover-state {
  max-width: 0;
  opacity: 0;
  transform: translateX(20px);
}

/* --- Hover process --- */

.view-all-btn:hover {
  background-color: white;
  border-color: white;
  color: var(--pink);
}

.view-all-btn:hover .default-state {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
}

.view-all-btn:hover .hover-state {
  max-width: 500px;
  opacity: 1;
  transform: translateX(0);
}

/* 





--Contact me -------------------------------------------------------------------------------------------------
================================================================================================================*/

.pre-contact-text {
  margin-top: 40px;
  margin-bottom: 40px;
}

.contact-section {
  padding: 100px 0 150px 0;
  background-color: black;
  display: flex;
  justify-content: center;
}

.contact-bound {
  max-width: 1400px;
  width: calc(100% - (var(--side-padding) * 2));

  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-inner {
  width: fit-content;

  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 10px;
  font-weight: 400;
}

.contact-title span {
  white-space: nowrap;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.9;
  font-weight: 800;
  display: inline-block;
  color: var(--pink);

  animation: pinkWave 4s ease-in-out infinite; /*name,duration,ease,loop*/

  animation-delay: calc(0.1s * var(--i));
}
.contact-title span:empty {
  display: inline;
}

/* The Animation Keyframes */
@keyframes pinkWave {
  0%,
  100% {
    transform: scale(1);
    color: var(--pink);
    text-shadow: none;
  }

  20% {
    transform: scale(1.05) translateY(-2px);
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }

  50% {
    transform: scale(1);
    color: var(--pink);
    text-shadow: none;
  }
}

/* 3. Email Group Wrapper */
.email-link-group {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: white;
}

/* The text part (Icon + Email) */
.email-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  transition: color 0.3s ease;
}

/* The Square Arrow Button */
.email-arrow-btn {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%; /* Make it circular (or remove radius for square) */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */

.email-link-group:hover .email-text {
  color: var(--pink); /* Highlight email text */
}

.email-link-group:hover .email-arrow-btn {
  background-color: white;
  border-color: white;
  transform: rotate(45deg); /* Optional: Tilts arrow up */
}

.email-link-group:hover .email-arrow-btn svg {
  stroke: black;
}

/* Mobile Tweak */
@media (max-width: 768px) {
  .contact-bound {
    text-align: left;
  }
  .contact-inner {
    width: 100%;
  }

  .email-link-group {
    align-self: flex-start; /* Move email back to left on mobile */
    margin-top: 20px;
  }
}

/*





--Footer -------------------------------------------------------------------------------------------------*/

footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* --- Social Buttons --- */
.social-links {
  display: flex;
  gap: 20px;
}

.social-btn {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6); /* Semi-transparent border */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-btn img {
  width: 20px;
  height: 20px;
  display: block;

  transition: filter 0.3s ease;
}

/* --- Hover Effects --- */

.social-btn:hover {
  background-color: var(--pink);
  border-color: var(--pink);
  transform: scale(1.2) translateY(-2px); /* Premium "lift" feel */
}

.footer-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.handle {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.copyright {
  color: #666;
  font-size: 0.85rem;
  font-weight: 400;
}

.footer-watermark {
  position: absolute;

  bottom: -50%;
  right: 65%;

  width: 50vw;
  min-width: 300px;

  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .footer-watermark {
    width: 60vw; /* Make it bigger on mobile to fill space */
    bottom: -10%;
    right: 15%;
    opacity: 0.03; /* Even fainter on small screens */
  }
}

/* 






--PROJECT OVERLAY MODAL ---------------------------------------------------------------------------*/

/* --- PROJECT OVERLAY CONTAINER --- */

.project-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000; /* High z-index to sit on top of everything */

  display: flex;
  justify-content: center;
  align-items: center;

  /* Default state: Hidden */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.project-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/*Dark Background */
.overlay-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

/* main Box  */
.overlay-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 90%;
  background-color: rgba(38, 38, 38, 0.6);
  backdrop-filter: blur(8px);

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
}

/* Close Button Position */
.close-overlay-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background 0.2s;
}

.close-overlay-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Dynamic Content Area */
#dynamicContent {
  width: 100%;
  height: 100%;
}

/* --- CUSTOM SCROLLBAR (Overlay Only) --- */

/* 1. Chrome, Edge, Safari */
.overlay-container::-webkit-scrollbar {
  width: 6px; /* Make it very thin */
}

.overlay-container::-webkit-scrollbar-track {
  background: transparent; /* Remove the grey background track */
}

.overlay-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2); /* Faint dark grey pill */
  border-radius: 10px; /* Round edges */
  border: 2px solid transparent; /* Adds padding around the pill */
  background-clip: content-box;
}

/* 2. Firefox */
.overlay-container {
  scrollbar-width: thin; /* Keyword for thin scrollbar */
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent; /* Thumb | Track */
}

/*





--- OOPS / UNDER CONSTRUCTION MODAL ---------------------------------------------------------- */

.oops-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000; /* Higher than everything */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.oops-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.oops-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.oops-box {
  position: relative;
  background: #1a1a1a;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy effect */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.oops-overlay.active .oops-box {
  transform: scale(1);
}

/* GIF Styling */
.oops-gif-container {
  width: 100%;
  height: 200px;
  background: #000;
  overflow: hidden;
}

.oops-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text Styling */
.oops-text {
  padding: 30px;
}

.oops-text h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 10px;
}

.oops-text p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* Button Styling */
.oops-ok-btn {
  background: var(--pink);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.oops-ok-btn:hover {
  transform: scale(1.05);
  background: white;
  color: var(--pink);
}

.oops-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.oops-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/*




--- SCROLL REVEAL  --- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/*  grouped items pop one by one */
/* add class="reveal stagger-1" to the first item, stagger-2 to the second... */
.reveal.stagger-1 {
  transition-delay: 0.1s;
}
.reveal.stagger-2 {
  transition-delay: 0.2s;
}
.reveal.stagger-3 {
  transition-delay: 0.3s;
}
