/* Disable text selection across the entire site */
body {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Standard syntax for Chrome, Firefox, and Opera */
}
html, body {
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
body {
  cursor: crosshair;
  margin: 0;
  background: #000;
  font-family: Arial;
}

/* 🌌 dots */
#dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dot {
  position: absolute;
  top: -10px;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh);
  }
}

/* 🧊 header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 20px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  z-index: 1000;

  box-sizing: border-box;
}
/* logo */
#logo {
  display: inline-block;
  cursor: crosshair;
  color: #ffffffb8;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              text-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.6s ease;
  will-change: transform;
}

#logo:hover {
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.25);
}
@keyframes blink {
  0%,50% { opacity: 1; }
  51%,100% { opacity: 0; }
}

/* NAV desktop */

/* NAV DESKTOP (SAFE FLEX) */
nav {
  display: flex;
  gap: 25px;
  align-items: center;

  /* IMPORTANT FIX */
  position: relative;
  right: auto;
  flex-wrap: nowrap;
}

/* links */
nav a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  position: relative;
  transition: 0.3s;
}

/* hover */
nav a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  z-index: 1;
}

/* constrain hero content */
.hero > *{
  width: 92%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h2 {
  font-size: clamp(38px, 8vw, 80px);
  margin: 0;
  font-size: 80px;
  margin: 0;
}

.subtitle {
  margin-top: 12px;
  font-size: 20px;
  color: rgba(255,255,255,0.55);
}

.hero-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 720px;
}

.btn {
  padding: 18px clamp(22px, 6vw, 60px);
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
  max-width: 90vw;
  box-sizing: border-box;
}

.btn.primary {
  background: white;
  color: black;
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.7);
}

/* hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* X animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px,-6px);
}

/* mobile */
@media (max-width: 980px) {

  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 240px;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 1500;
  }

  nav.active {
    right: 0;
  }
}

/*scroll fade*/
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*title */
.why-title {
  font-size: 65px;
  font-weight: bold;
  letter-spacing: 1px;
}

.subtitle.reveal {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 18px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* clickable image logo */
.logo-icon img {
  width: 50px;   /* adjust size */
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* hover animation */
.logo-icon img:hover {
  transform: scale(1.15) rotate(-5deg);
}

.how-it-works {
  text-align: center;
  color: white;
  padding: 100px 20px;
}

.section-title {
  font-size: 48px;
  margin-bottom: 60px;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* keeps it responsive */
}

.step {
  width: 220px;
  text-align: center;
}

.circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.step h3 {
  margin: 10px 0;
  font-size: 20px;
}

.step p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.arrow {
  font-size: 30px;
  color: rgba(255,255,255,0.4);
}

/* mobile */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

.end {
  text-align: center;
  color: white;
  padding: 120px 20px;
}

.end h2 {
  font-size: 48px;
  margin-bottom: 25px;
}

.end-buttons {
  display: flex;
  justify-content: center;
}

.end .btn {
  padding: 16px 50px;
}

/* footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  padding: 40px 20px;
  margin-top: 100px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  color: white;
}

/* LEFT SIDE */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* logo + text row */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.footer-brand img:hover {
  cursor: crosshair;
  transform: scale(1.1) rotate(-5deg);
}

.footer-brand h3 {
  margin: 0;
  font-size: 22px;
}

/* text */
.footer-left p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

/*mobile*/
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-brand {
    justify-content: center;
  }
}

.donate-glow{
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.35s ease;

  /* Default glow (purple) */
  text-shadow:
    0 0 6px #6c5ce7,
    0 0 14px #6c5ce7,
    0 0 28px #6c5ce7;
}

.donate-glow:hover{
  /* Hover glow (cyan/blue) */
  text-shadow:
    0 0 6px #00d2ff,
    0 0 14px #00d2ff,
    0 0 28px #00d2ff;
}

.profile-menu {
  position: relative;
  display: inline-block;
  color: white;
}

.profile-btn {
  cursor: pointer;
  padding: 5px 10px;
}

/* dropdown */
.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  background: rgba(0,0,0,0.9);
  border-radius: 8px;
  min-width: 120px;
  padding: 10px;
}

.dropdown a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 8px;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

/* show on hover */
.profile-menu:hover .dropdown {
  display: block;
}

#work {
  scroll-margin-top: 120px;
}

/* 🎉 CONFETTI */
.confetti {
  position: fixed;
  width: 8px;
  height: 12px;
  opacity: 0.9;
  z-index: 9999;
  animation: explode 2s ease-out forwards;
}

@keyframes explode {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translate(var(--x), var(--y)) rotate(720deg);
    opacity: 0;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: white;
  width: 300px;
}

.modal-content button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.transform-section {
  height: 200vh;
  position: relative;
}

.transform-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transform-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  transition: 0.2s;
}

.transform-text {
  position: absolute;
  font-size: 120px;
  letter-spacing: 20px;
  color: white;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.2s;
}

/* 🔔 NOTIFICATION BUTTON - EXACT REFERENCE STYLE */
#notifFloat {
  position: fixed;
  bottom: 25px;
  left: 25px; /* Moved to left */
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 999999; /* Highest priority */
  transition: 0.3s ease;
}

#notifFloat:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.12);
}

/* 🔴 NOTIFICATION DOT */
#notifDot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: red;
  box-shadow: 0 0 12px red;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* 📋 NOTIFICATION PANEL - EXACT GLASS STYLE */
.notif-panel {
  position: fixed;
  bottom: 90px;
  left: 25px; /* Moved to left */
  width: 320px;
  max-height: 420px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  color: white;
  padding: 15px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 99999;
}

.notif-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* 🍞 NOTIFICATION TOASTS */
#notification-container {
  position: fixed;
  top: 20px;
  left: 20px; /* Toasts also on left */
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}