:root {
    --neon-green: #39ff14;
    --dark-bg: #121212;
    --dark-card: #1a1a1a;
    --dark-border: #2a2a2a;
    --text-muted: #888;
    --text-light: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* --- Neon Glow Text (Consolidated) --- */
.glow-text, .neon-text, .text-success {
    color: var(--neon-green);
    font-weight: 700;
    text-shadow:
        0 0 5px var(--neon-green),
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green);
    position: relative;
    background: linear-gradient(270deg, #39ff14, #00ffae, #39ff14);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: neonGradient 8s ease infinite,
               neonPulse 2.5s ease-in-out infinite;
}

.glow-text::after, .neon-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(30px);
    background: linear-gradient(270deg, #39ff14, #00ffae, #39ff14);
    background-size: 600% 600%;
    animation: neonGradient 8s ease infinite;
    opacity: 0.4;
}

.glow-text:hover, .neon-text:hover {
    text-shadow:
        0 0 8px var(--neon-green),
        0 0 16px var(--neon-green),
        0 0 30px var(--neon-green);
}

/* --- Neon Animations (Consolidated) --- */
@keyframes neonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 5px var(--neon-green),
                     0 0 10px var(--neon-green),
                     0 0 20px var(--neon-green);
    }
    50% {
        text-shadow: 0 0 10px var(--neon-green),
                     0 0 20px var(--neon-green),
                     0 0 40px var(--neon-green);
    }
}

/* --- Fade In Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Layout --- */
main {
    padding-top: 76px;
}

/* --- Navbar --- */
.navbar {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-text {
    margin-left: 0.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--neon-green) !important;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../static/img/og-image.png') center center / cover no-repeat;
}

.hero-banner {
    background: url("../img/og-image.png") center center / cover no-repeat;
    min-height: 60vh;   /* preserves your min-vh-60 */
    background-position: center;
    background-size: cover;
}

.hero-text-section {
    padding: 4rem 0;
}

.hero-icon {
    font-size: 5rem;
    color: var(--neon-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
    color: var(--neon-green);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- Buttons --- */
.btn-glow {
    background: var(--neon-green);
    color: #000;
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.btn-glow:hover {
    background: var(--neon-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.6),
                0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-glow {
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    background: var(--neon-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

/* --- Project Cards --- */
.project-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.2);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.project-content {
    padding: 1.5rem;
}

.project-tagline {
    font-size: 0.9rem;
    font-style: italic;
}

.tech-stack .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

.project-card-large {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card-large:hover {
    border-color: var(--neon-green);
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.2);
}

.project-image-large {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay-large {
    position: absolute;
    top: 10px;
    left: 10px;
}

.project-content-large {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    flex-shrink: 0;
}

/* --- Page Components --- */
.page-header {
    padding-top: 100px;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
}

.about-box,
.donation-card,
.crypto-box,
.contribute-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-box:hover,
.donation-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 5px 25px rgba(57, 255, 20, 0.1);
}

.value-card,
.support-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-card:hover,
.support-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.stat-box {
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

/* --- Donation Section --- */
.donation-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 1.5rem;
}

.donation-header i {
    color: var(--neon-green);
}

.crypto-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.crypto-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.crypto-icon {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.qr-placeholder {
    background: rgba(57, 255, 20, 0.05);
    border: 2px dashed var(--dark-border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wallet-address code {
    background: rgba(57, 255, 20, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    color: var(--neon-green);
    display: block;
    word-break: break-all;
}

/* --- Footer --- */
.footer {
    background: rgba(18, 18, 18, 0.95);
    border-top: 1px solid var(--dark-border);
    margin-top: 5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--neon-green);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

/* --- Badges & Tech Stack --- */
.tech-badges .badge {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.tech-badges .badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

.hero-features .badge {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-icon {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .project-content-large {
        padding: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.tooltip-inner {
    background-color: #39ff14 !important;  /* Neon green */
    color: #000 !important;               /* Black text */
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #39ff14;        /* Optional glow effect */
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #39ff14 !important;
}

/* Slide & fade-in for H1- Hero animation */
.fade-in {
  opacity: 0;
  transform: translateY(-50px);
  animation: slideFadeGlow 1.2s ease-out forwards;
}

/* Glowing pulse for the highlighted text */
.glow-text {
  display: inline-block;
  color: #39ff14;
  text-shadow:
    0 0 5px #39ff14,
    0 0 10px #39ff14,
    0 0 20px #39ff14,
    0 0 40px #39ff14;
  animation: pulseGlow 2s infinite alternate;
}

/* Fade-up animation for subtitle, badges, buttons */
.hero-text-section p,
.hero-features span,
.hero-buttons a {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
}

/* Staggered delays for sequential entrance */
.hero-text-section p {
  animation-delay: 0.3s;
}

.hero-features span {
  animation-delay: 0.6s;
}

.hero-buttons a {
  animation-delay: 0.9s;
}

/* Keyframes */
@keyframes slideFadeGlow {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0% {
    text-shadow:
      0 0 5px #39ff14,
      0 0 10px #39ff14,
      0 0 20px #39ff14,
      0 0 40px #39ff14;
  }
  50% {
    text-shadow:
      0 0 10px #39ff14,
      0 0 20px #39ff14,
      0 0 30px #39ff14,
      0 0 60px #39ff14;
  }
  100% {
    text-shadow:
      0 0 5px #39ff14,
      0 0 10px #39ff14,
      0 0 20px #39ff14,
      0 0 40px #39ff14;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add glow to the card icon, title, and hover */
.crypto-card:hover,
.support-card:hover {
  box-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14 inset;
  transition: box-shadow 0.3s ease-in-out;
}

/* Make buttons glow on hover */
.btn-glow:hover,
.btn-outline-glow:hover {
  box-shadow: 0 0 8px #39ff14, 0 0 16px #39ff14, 0 0 24px #39ff14;
  color: #39ff14;
  border-color: #39ff14;
  transition: all 0.2s ease-in-out;
}

/* Make the wallet address glow on hover */
.crypto-card:hover .wallet-address code {
  text-shadow: 0 0 6px #39ff14, 0 0 12px #39ff14;
  color: #39ff14;
}

.crypto-card i,
.support-card i {
  transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

.crypto-card:hover i,
.support-card:hover i {
  text-shadow: 0 0 8px #39ff14, 0 0 16px #39ff14, 0 0 24px #39ff14;
  color: #39ff14;
}

/* Neon glow and pulse for tech badges */
.tech-badges .badge {
  position: relative;
  color: #39ff14;
  border-color: #39ff14;
  background-color: #111; /* dark background for contrast */
  box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
  transition: all 0.2s ease-in-out;
}

/* Neon pulse effect */
@keyframes techPulse {
  0% {
    box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px #39ff14, 0 0 30px #39ff14;
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14;
    transform: scale(1);
  }
}

/* Apply pulse continuously */
.tech-badges .badge {
  animation: techPulse 2.5s infinite ease-in-out;
}

/* Optional: glow on hover */
.tech-badges .badge:hover {
  box-shadow: 0 0 20px #39ff14, 0 0 40px #39ff14, 0 0 60px #39ff14;
  transform: scale(1.1);
  color: #39ff14;
}


