/* Global Styles */
:root {
    --bg-color: #050505;
    --card-bg: rgba(30, 30, 30, 0.6);
    /* Translucent for glassmorphism */
    --accent-color: #00FF88;
    /* Neon Green */
    --accent-glow: rgba(0, 255, 136, 0.5);
    --secondary-glow: rgba(0, 200, 255, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --font-family: 'Inter', sans-serif;
    --border-radius: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar - Glassmorphism */
.navbar {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* Sticky header */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    /* Gradient Text */
    background: linear-gradient(135deg, #fff 40%, var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-glow);
    -webkit-text-fill-color: initial;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Offsetting for fixed navbar to ensure visual center */
    padding: 120px 20px 40px;
    background: radial-gradient(circle at 50% 40%, #1a1a1a 0%, #050505 70%);
    position: relative;
    overflow: hidden;
}

/* Premium Moving Grid Background */
.hero::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(60deg);
    z-index: -1;
    animation: gridMove 25s linear infinite;
}

/* Ambient Glow Orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
    opacity: 0.2;
    filter: blur(80px);
}

@keyframes gridMove {
    0% {
        transform: perspective(600px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(600px) rotateX(60deg) translateY(60px);
    }
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 25px var(--accent-glow));
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    max-width: 900px;
    z-index: 2;
    background: linear-gradient(180deg, #FFFFFF 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 650px;
    z-index: 2;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

/* Buttons Premium */
.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px var(--accent-glow);
    background-color: #33ff99;
    /* Slightly lighter */
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.6s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    /* Glassy */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: max-content;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    background: linear-gradient(90deg, #fff, #999);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Glassmorphism Cards */
.feature-card {
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: var(--border-radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    /* The Blur */
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

/* Card Glow Effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 15px 40px -10px rgba(0, 255, 136, 0.15);
}

.icon-slot {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover .icon-slot {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #ccc;
    font-size: 1.05rem;
    font-weight: 300;
}

/* Donations Section */
.donations {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--bg-color) 0%, #080808 100%);
    text-align: center;
}

.donation-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.8);
    padding: 70px 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
}

.donation-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: scanline 4s ease-in-out infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.donations h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #fff;
}

.donations p {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.donation-benefits {
    color: #FFD700 !important;
    /* Gold */
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Dual Donation Buttons */
.donation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-donation {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.mp-btn {
    background-color: #009EE3;
    /* Mercado Pago Blue */
    color: white;
    box-shadow: 0 4px 15px rgba(0, 158, 227, 0.4);
}

.mp-btn:hover {
    background-color: #0089c4;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.6);
}

.kofi-btn {
    background-color: #FF5E5B;
    /* Ko-fi Red/Brand Color */
    color: white;
    box-shadow: 0 4px 15px rgba(255, 94, 91, 0.4);
}

.kofi-btn:hover {
    background-color: #e64542;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 94, 91, 0.6);
}

.btn-donation.disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
    opacity: 0.7;
}

/* Footer */
.footer {
    border-top: 1px solid #222;
    padding: 80px 40px 30px;
    margin-top: 60px;
    background: #020202;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::after {
    width: 100%;
}

.btn-small {
    padding: 10px 24px;
    border: 1px solid rgba(0, 255, 136, 0.5);
    color: var(--accent-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.btn-small:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- ANIMATIONS --- */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.floating-logo {
    animation: float 6s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .donation-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-donation {
        width: 100%;
        justify-content: center;
    }

    .hero-logo {
        width: 150px;
    }
}