/* 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 */
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 10px 25px; /* smaller */

  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;

  height: 72px; /* fixed height */
}

/* 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: 90px;
  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 {
  transform: translateY(40px) scale(0.98);
  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;
}

/* Color Palette & Variables */
:root {
  --bg-dark: #282c30;
  --text-main: #9ea4a9;
  --text-heading: #dcddde;
  --accent-blue: #4582ff;
  --accent-blue-glow: rgba(69, 130, 255, 0.4);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset / Core Footer Layout */
.footer-nav {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  padding: 60px 40px 30px 40px;
  position: relative;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* Four-Column Navigation Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  flex-grow: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Headings & Sub-headings */
.footer-nav h3 {
  color: var(--text-heading);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.footer-nav .sub-heading {
  margin-top: 25px;
  margin-bottom: 8px;
}

.footer-nav .sub-heading.clickable a {
  color: var(--text-heading);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav .sub-heading.clickable a:hover {
  color: #fff;
}

/* Navigation Lists */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: #ffffff;
}

/* Right Sidebar & Interactions */
.footer-sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-left: 1px solid #3a3f44;
  padding-left: 40px;
}

/* Icons styling */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.social-icons a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: #ffffff;
}

/* Glowing Donate Button Setup */
.support-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.donate-btn {
  background-color: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: 8px; /* Clean modern rounded edge */
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--accent-blue-glow);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.donate-btn:hover {
  background-color: #5b91ff;
  transform: translateY(-1px);
}

.donation-subtext {
  color: #6c757d;
  font-size: 13px;
  text-decoration: none;
  margin-top: 12px;
  align-self: center;
  transition: color 0.2s ease;
}

.donation-subtext:hover {
  color: var(--text-main);
}

.heart-icon {
  font-size: 14px;
}

/* Bottom Footer Details */
.footer-bottom {
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid #3a3f44;
  text-align: center;
  font-size: 13px;
  color: #6c757d;
}

.footer-bottom .heart-icon {
  color: #6c757d;
  margin: 0 4px;
}

/* Back to top floating indicator */
#scrollToTopBtn {
  position: absolute;
  bottom: 25px;
  right: 40px;
  background-color: #ffffff;
  color: #282c30;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.2s ease;
}

#scrollToTopBtn:hover {
  transform: scale(1.1);
}

/* Responsive Scaling for Devices */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-sidebar {
    width: 100%;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #3a3f44;
    padding-top: 30px;
  }
  .donate-btn {
    width: auto;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #00d4ff;
    transform: translateY(-3px);
}

/*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-btn{

  display: flex;

  align-items: center;

  gap: 10px;

  color: white;

  cursor: pointer;

  padding: 8px 14px;

  border-radius: 14px;

  transition:
    background 0.3s ease,
    transform 0.3s ease;

}

.profile-btn:hover{

  background: rgba(255,255,255,0.06);

  transform: translateY(-1px);

}
.profile-menu{
  position: relative;
  display: inline-block;
}

.dropdown{

  position: absolute;

  top: 45px;
  right: 0;

  min-width: 180px;

  padding: 10px;

  border-radius: 16px;

  background: rgba(20,20,20,0.75);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.45),
    0 0 20px rgba(255,255,255,0.04);

  opacity: 0;

  transform:
    translateY(10px)
    scale(0.96);

  pointer-events: none;

  transition:
    opacity 0.28s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  transform-origin: top right;

  z-index: 9999;
}

/* SHOW */
.profile-menu:hover .dropdown{

  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  pointer-events: auto;
}

/* LINKS */
.dropdown a{

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 12px 14px;

  border-radius: 12px;

  color: white;

  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;

}

/* HOVER */
.dropdown a:hover{

  background:
    rgba(255,255,255,0.08);

  transform: translateX(3px);

}

#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;
}

.video-section {
  width: 100%;
  max-width: 900px;
  margin: 80px auto;
  padding: 12px; /* space for glow */

  border-radius: 16px;

  /* glass + glow combo */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);

  box-shadow:
    0 0 8px rgba(255,255,255,0.4),
    0 0 20px rgba(255,255,255,0.25),
    0 0 40px rgba(255,255,255,0.15);

  transition: 0.35s ease;
}

.video-section iframe {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  border: none;
  display: block;
}

/* 🔥 Hover glow boost */
.video-section:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 12px #fff,
    0 0 30px rgba(255,255,255,0.8),
    0 0 60px rgba(255,255,255,0.5);
}

/* 📱 Mobile fix */
@media (max-width: 768px) {
  .video-section {
    margin: 60px auto;
    padding: 10px;
  }

  .video-section iframe {
    height: 250px;
  }
}

.end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ⭐ CLICK STAR BURST */
.star {
  position: fixed;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;

  box-shadow:
    0 0 6px #fff,
    0 0 12px #fff,
    0 0 20px rgba(255,255,255,0.8);

  animation: star-burst 0.8s ease-out forwards;
}

@keyframes star-burst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.3);
    opacity: 0;
  }
}

/* PRELOADER BASE */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.6s ease;
}

.loader-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

/* LOGO (hidden first) */
#loaderLogo {
  position: absolute;
  width: 100px;
  height: 100px;
  object-fit: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;

  filter: drop-shadow(0 0 10px #fff);
  transition: 0.6s ease;
}

/* MORPH STATE */
#preloader.morph #spinner {
  opacity: 0;
  transform: scale(0.5);
  transition: 0.5s ease;
}

#preloader.morph #loaderLogo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* FADE OUT */
#preloader.hide {
  opacity: 0;
  pointer-events: none;
}

#profileImage{
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;

  will-change: transform;

  backface-visibility: hidden;
}

#profileImage:hover{

  transform: scale(1.08) translateY(-1px);

  border-color: rgba(255,255,255,0.45);

  box-shadow:
    0 0 12px rgba(255,255,255,0.25),
    0 0 24px rgba(255,255,255,0.12);

}

/* Premium hover description */

.premium-wrapper{
position:relative;
display:inline-block;
}

.premium-link{
text-decoration:none;
color:white;
}

/* hidden tooltip */

.premium-tooltip{

position:absolute;

top:45px;
left:50%;

transform:
translateX(-50%)
translateY(10px);

width:260px;

padding:12px 16px;

border-radius:14px;

background:rgba(20,20,30,.95);

backdrop-filter:blur(15px);

border:1px solid rgba(255,255,255,.08);

color:white; /* added */

font-size:13px;
line-height:1.6;

opacity:0;
visibility:hidden;

transition:.35s;

z-index:999;
}

/* little arrow */

.premium-tooltip::before{

content:"";

position:absolute;

top:-6px;
left:50%;

width:12px;
height:12px;

background:rgba(20,20,30,.95);

transform:
translateX(-50%)
rotate(45deg);

}

/* show on hover */

.premium-wrapper:hover .premium-tooltip{

opacity:1;
visibility:visible;

transform:
translateX(-50%)
translateY(0);

}

/* 📊 STATS CARDS */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 20px;
  min-width: 200px;
  text-align: center;
  transition: 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

