:root {
    --bg-color: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #e0e0e0;
    --accent-color: #6366f1;
    /* Indigo */
    --accent-hover: #4f46e5;
    --secondary-color: #10b981;
    /* Emerald for trust/money */
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-text: linear-gradient(90deg, #facc15, #fbbf24, #f59e0b);
    /* Gold */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.globe-1 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: -100px;
    left: -100px;
}

.globe-2 {
    width: 300px;
    height: 300px;
    background: #10b981;
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.globe-3 {
    width: 200px;
    height: 200px;
    background: #f59e0b;
    top: 40%;
    left: 40%;
    opacity: 0.2;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 40px);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.highlight {
    color: #facc15;
    /* Gold */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.btn-nav {
    background: var(--gradient-1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Nav Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* Rounded */
    object-fit: cover;
    /* Ensures image fills specific area without distortion */
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/* Mini Hero */
.mini-hero {
    height: auto;
    min-height: 10vh;
    /* Further reduced from 20vh */
    padding: 1.5rem 1rem 0.5rem;
    /* Drastically reduced padding further */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.mini-hero h1 {
    font-size: 1.5rem;
    /* Smaller title */
    margin-bottom: 0;
    /* Remove bottom margin as controlled by wrapper gap */
    line-height: 1.2;
}

.hero-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

/* Hero logo styles removed */

@media (max-width: 768px) {
    .hero-branding {
        flex-direction: column;
        gap: 1rem;
    }
}

.compact-section {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

.payment-grid-unified {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    /* Slightly wider container */
    margin: 0 auto;
}

.payment-grid-unified>* {
    flex: 1 1 300px;
    /* Grow, Shrink, Basis */
    max-width: 450px;
    /* Prevent being too wide */
    min-width: 280px;
}

/* Ensure mini cards look good in unified grid */
.payment-grid-unified .payment-card-mini {
    margin-bottom: 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
}

.payment-grid-unified .payment-card-mini:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Old Hero removed */

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Standard property for compatibility */
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Donation Split Layout */
/* Split Layout removed */

/* Mini Payment Cards */
.payment-card-mini {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.payment-card-mini:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.mini-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.mini-details {
    flex: 1;
    min-width: 0;
    /* Crucial for text-truncate to work in flexbox */
    padding-right: 0.5rem;
    /* Add some spacing before button */
}


.mini-details h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.mono-text {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* Adapts to container width */
    display: block;
}

.detail-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

.btn-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.btn-icon:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Specific Colors */
.nequi-bg {
    background: #E5007E;
}

.daviplata-bg {
    background: #DA291C;
}

.bancolombia-bg {
    background: #FFDD00;
    color: black;
}

.bre-b-bg {
    background: #8e24aa;
}

/* Purple/Violet for Bre-B */
.paypal-bg {
    background: #003087;
}

.crypto-bg {
    background: #F7931A;
}

.eth-bg {
    background: #627eea;
}

.trc-bg {
    background: #26a17b;
}

/* Footer */
.footer {
    padding: 4rem 2rem 1rem;
    background: #050505;
    border-top: var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-left h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Modal moved/removed */

.copy-row {
    display: flex;
    gap: 0.5rem;
}

.copy-row input {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 0.5rem;
    color: #ccc;
    border-radius: 4px;
    font-family: monospace;
}

.copy-row button {
    background: #333;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.copy-row button:hover {
    background: #444;
}

/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 3000;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #4ade80;
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations included in Toast */
@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

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

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu implementation usually needs JS, keeping simple for now */
    .navbar {
        justify-content: center;
    }

    /* Center logo on mobile */
    .navbar .logo {
        margin: 0;
    }

    .stats-section {
        gap: 2rem;
    }

    .container {
        padding: 0 1rem;
    }
}