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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(166, 179, 125, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #32CD32;
}

.nav-link i {
    font-size: 0.75rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 3rem;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    color: #d1d5db;
    max-width: 4xl;
    margin: 0 auto 1rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 4xl;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Section Styles */
.section-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section {
    padding: 5rem 0;
}

/* Downloads Section */
.version-group {
    margin-bottom: 4rem;
}

.version-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #32CD32;
    margin-bottom: 2rem;
}

/* Special highlight for 1.21.8 version cards */
.version-group-1-21-8 .download-card {
    border: 2px solid #f59e42;
    box-shadow: 0 0 30px rgba(245, 158, 66, 0.15);
}
.version-group-1-21-8 .version-title {
    color: #f59e42;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.download-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    transform: scale(1);
    transform-origin: center;
}

.download-card:hover {
    transform: scale(1.05);
    border-color: rgba(166, 179, 125, 0.6);
    box-shadow: 0 20px 40px rgba(166, 179, 125, 0.25);
}

.download-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.download-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.download-card p {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.file-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(45deg, #a6b37d, #8ea76a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    width: 100%;
}

.download-btn.main-btn {
    background: linear-gradient(45deg, #32CD32, #2ECC40);
}

.download-btn:hover {
    background: linear-gradient(45deg, #2ECC40, #32CD32);
    transform: translateY(-2px);
}

.official-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.official-note i {
    margin-right: 0.25rem;
    font-size: 0.625rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transform-origin: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(166, 179, 125, 0.05), rgba(166, 179, 125, 0.05));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: scale(1.1);
    border-color: rgba(166, 179, 125, 0.6);
    box-shadow: 0 20px 40px rgba(166, 179, 125, 0.25);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: white;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #d1d5db;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.feature-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-status.added {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.feature-status.coming-soon {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.feature-status.not-yet {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    transform: scale(1);
    transform-origin: center;
}

.faq-card:hover {
    transform: scale(1.05);
    border-color: rgba(166, 179, 125, 0.6);
    box-shadow: 0 20px 40px rgba(166, 179, 125, 0.25);
}

.faq-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.faq-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: white;
}

.faq-card h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* Connections Section */
.connections {
    padding: 5rem 0;
}

.connections-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    max-width: 3xl;
    margin-left: auto;
    margin-right: auto;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.connection-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.connection-card:hover {
    transform: scale(1.05);
    border-color: rgba(166, 179, 125, 0.6);
    box-shadow: 0 20px 40px rgba(166, 179, 125, 0.25);
}

.connection-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.connection-icon.youtube {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.connection-icon.tiktok {
    background: linear-gradient(45deg, #000000, #ff0050);
}

.connection-icon.discord {
    background: linear-gradient(45deg, #5865f2, #4752c4);
}

.connection-icon.github {
    background: linear-gradient(45deg, #333333, #24292e);
}

.connection-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.connection-card p {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.connection-link {
    display: inline-block;
    color: #32CD32;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Credits Section */
.credits-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 3rem;
    max-width: 3xl;
    margin-left: auto;
    margin-right: auto;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 6xl;
    margin: 0 auto;
}

.credit-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.credit-card:hover {
    transform: scale(1.05);
    border-color: rgba(166, 179, 125, 0.6);
    box-shadow: 0 20px 40px rgba(166, 179, 125, 0.25);
}

.credit-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.credit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.credit-card p {
    color: #d1d5db;
    font-size: 0.875rem;
}

/* Disclaimer Section */
.disclaimer-content {
    max-width: 4xl;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(127, 29, 29, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.disclaimer-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.disclaimer-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.disclaimer h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(45deg, #fca5a5, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.disclaimer-text {
    color: #d1d5db;
    line-height: 1.6;
    space-y: 1rem;
}

.disclaimer-text p {
    margin-bottom: 1rem;
}

.disclaimer-text p:first-child {
    font-size: 1.125rem;
}

.disclaimer-warning {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fca5a5 !important;
}

.disclaimer-text strong {
    color: #fca5a5;
}

/* Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    width: 24rem;
    height: 24rem;
    background: rgba(166, 179, 125, 0.1);
    border-radius: 50%;
    filter: blur(3rem);
    animation: pulse 2s infinite;
}

.bg-circle-1 {
    top: 25%;
    left: 25%;
}

.bg-circle-2 {
    bottom: 25%;
    right: 25%;
    animation-delay: 1s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* More Card Specific Styling */
.more-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-card:hover {
    transform: scale(1.05);
    border-color: rgba(166, 179, 125, 0.6);
    box-shadow: 0 20px 40px rgba(166, 179, 125, 0.25);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(166, 179, 125, 0.2);
}

.modal-header h2 {
    color: #32CD32;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.close {
    color: #9ca3af;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #32CD32;
}

.modal-body {
    padding: 2rem;
}

.additional-credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.additional-credit-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(166, 179, 125, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.additional-credit-card:hover {
    transform: scale(1.03);
    border-color: rgba(166, 179, 125, 0.5);
    box-shadow: 0 10px 25px rgba(166, 179, 125, 0.15);
}

.additional-credit-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #32CD32, #32CD32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.additional-credit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.additional-credit-card p {
    color: #d1d5db;
    font-size: 0.875rem;
    margin: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Discord Join Section */
.discord-join {
    padding: 3rem 0;
}

.discord-join-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.discord-join-box:hover {
    transform: scale(1.02);
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.2);
}

.discord-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 2rem;
}

.discord-join-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.discord-join-description {
    font-size: 1.125rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #5865f2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    position: relative;
    z-index: 1;
}

.discord-join-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.discord-join-btn i {
    font-size: 1.25rem;
}

/* Source Code Button */
.source-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6b7280;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

.source-code-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.source-code-btn i {
    font-size: 1rem;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-card {
        min-width: auto;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .additional-credits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .discord-join-box {
        padding: 2rem 1.5rem;
    }
    
    .discord-join-title {
        font-size: 2rem;
    }
    
    .discord-join-description {
        font-size: 1rem;
    }
    
    .discord-join-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .credits-grid {
        grid-template-columns: 1fr;
    }
    
    .discord-join-box {
        padding: 1.5rem 1rem;
    }
    
    .discord-join-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Bamboo particles canvas */
.bg-canvas, #bambooParticles {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Navbar glass + scrolled state */
.navbar {
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: rgba(17, 24, 39, 0.85);
    box-shadow: 0 4px 20px rgba(166, 179, 125, 0.15);
}

/* Button shimmer */
.download-btn, .discord-join-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.download-btn::after, .discord-join-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}
.download-btn:hover::after, .discord-join-btn:hover::after {
    left: 150%;
}


/* ---------- Aurora Overlay ---------- */
.aurora {
    position: fixed;
    inset: -10% -20%;
    z-index: -1; /* above particles (-2), below content */
    pointer-events: none;
    filter: blur(60px) saturate(120%);
    opacity: 0.25;
    background: radial-gradient(40% 60% at 20% 30%, rgba(166,179,125,0.25), transparent 60%),
                radial-gradient(35% 50% at 80% 70%, rgba(142,167,106,0.22), transparent 60%),
                radial-gradient(50% 40% at 50% 60%, rgba(200,213,161,0.18), transparent 60%);
    animation: auroraMove 30s ease-in-out infinite alternate;
}
@keyframes auroraMove {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(4%, -3%, 0) scale(1.05); }
    100% { transform: translate3d(-6%, 3%, 0) scale(1.02); }
}

/* ---------- Scroll Progress Bar ---------- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    z-index: 2000;
    background: linear-gradient(90deg, #a6b37d, #8ea76a);
    box-shadow: 0 0 12px rgba(166,179,125,0.6);
    transition: width 0.12s linear;
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
    margin-left: 1rem;
    background: rgba(17, 24, 39, 0.6);
    color: #e5e7eb;
    border: 1px solid rgba(166,179,125,0.35);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.theme-toggle:hover {
    background: rgba(17,24,39,0.8);
    box-shadow: 0 4px 16px rgba(166,179,125,0.25);
}
.theme-toggle i { font-size: 0.9rem; }

/* ---------- Light Mode Overrides ---------- */
body.light-mode {
    background: linear-gradient(135deg, #e8f1d0 0%, #d7e4b1 50%, #c7d39a 100%);
    color: #111827;
}
body.light-mode .navbar {
    background: rgba(255,255,255,0.6);
    border-bottom-color: rgba(166,179,125,0.35);
}
body.light-mode .download-card,
body.light-mode .feature-card,
body.light-mode .faq-card,
body.light-mode .credit-card,
body.light-mode .additional-credit-card,
body.light-mode .connection-card {
    background: rgba(255,255,255,0.65);
    border-color: rgba(166,179,125,0.4);
    color: #111827;
}
body.light-mode .download-card h4,
body.light-mode .feature-card h3,
body.light-mode .faq-card h3,
body.light-mode .connection-card h3,
body.light-mode .credit-card h3 { color: #111827; }
body.light-mode .download-card p,
body.light-mode .feature-card p,
body.light-mode .faq-card p,
body.light-mode .connection-card p,
body.light-mode .credit-card p { color: #374151; }
body.light-mode .hero-title,
body.light-mode .section-title {
    -webkit-text-fill-color: initial;
    color: #2e3b1e;
}
body.light-mode .download-btn { color: white; }

/* Ensure particles sit below aurora */
.bg-canvas, #bambooParticles { z-index: -2; }


/* Subtle permanent glow for titles */
.hero-title,
.section-title {
    text-shadow: 0 2px 16px rgba(166,179,125,0.20);
}
/* Slightly softer in light mode */
body.light-mode .hero-title,
body.light-mode .section-title {
    text-shadow: 0 1px 12px rgba(77, 99, 48, 0.25);
}


/* Light-mode readability tweaks */
body.light-mode .nav-link { color: #374151; }
body.light-mode .nav-link:hover { color: #2f6f2f; }
body.light-mode .hero-subtitle { color: #3a4a2a; }
body.light-mode .hero-description { color: #44523a; }
body.light-mode p { color: #374151; }


/* --- Light mode readability tweaks --- */
body.light-mode {
    color: #1f2b12; /* base text */
}
body.light-mode .hero-title,
body.light-mode .section-title {
    -webkit-text-fill-color: initial;
    color: #1f2b12; /* darker title for contrast */
}
body.light-mode .hero-subtitle { color: #2f3a20; }
body.light-mode .hero-description,
body.light-mode p { color: #3a4a28; }
body.light-mode .nav-link { color: #2f3a20; }
body.light-mode .version-title { color: #2f3a20; }


/* --- Subtle permanent title glow --- */
.hero-title, .section-title {
    text-shadow: 0 0 8px rgba(166,179,125,0.18);
}


/* Even download buttons across cards */
.download-card { 
    display: flex; 
    flex-direction: column; 
}

.download-card .download-btn {
    margin-top: auto;               /* push button to the bottom */
    min-height: 48px;               /* consistent button height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: ensure icon/title/desc spacing doesn't cause jumps */
.download-card .download-icon { margin-bottom: 1.25rem; }
.download-card h4 { margin-bottom: 0.5rem; }
.download-card p { margin-bottom: 1rem; min-height: 42px; } /* equalize description block a bit */
