/* CSS Variables */
:root {
    --primary-green: #4a6630;
    --secondary-green: #2f3d1c;
    --toxic-glow: #7da528;
    --dark-bg: #0d1117;
    --card-bg: #1c2128;
    --text-light: #e6edf3;
    --text-muted: #ffffff;
    --hover-green: #5a8a35;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-intensity: 0.3;

    /* Enhanced toxic gradient colors */
    --toxic-green-1: #1f3315;
    --toxic-green-2: #2a4019;
    --toxic-green-3: #364d20;
    --toxic-yellow: #7d8f2c;
    --toxic-lime: #6b7d3a;
    --toxic-dark: #141f10;

    /* Enhanced shadow system */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(125, 165, 40, 0.3);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        var(--toxic-dark) 0%,
        var(--toxic-green-1) 50%,
        var(--toxic-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: #7da528;
    margin-bottom: 2rem;
    text-shadow:
        0 0 30px rgba(125, 165, 40, 0.6),
        0 0 60px rgba(125, 165, 40, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        text-shadow:
            0 0 30px rgba(125, 165, 40, 0.6),
            0 0 60px rgba(125, 165, 40, 0.4);
    }
    50% {
        text-shadow:
            0 0 40px rgba(125, 165, 40, 0.8),
            0 0 80px rgba(125, 165, 40, 0.6);
    }
}

.loading-bar-container {
    width: 300px;
    height: 8px;
    background: rgba(125, 165, 40, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 1px solid rgba(125, 165, 40, 0.3);
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg,
        #4a6630 0%,
        #7da528 50%,
        #4a6630 100%);
    background-size: 200% 100%;
    animation: loading 2s ease-in-out infinite;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(125, 165, 40, 0.5);
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes loading {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    background: linear-gradient(135deg,
        var(--toxic-dark) 0%,
        var(--toxic-green-1) 25%,
        var(--toxic-green-2) 50%,
        var(--toxic-green-1) 75%,
        var(--toxic-dark) 100%);
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
}

/* Enhanced animated sewer background with toxic gas effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: toxicFlow 20s ease-in-out infinite, gasWave 30s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

/* Additional toxic fog overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fogDrift 40s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--toxic-glow);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 
        0 0 10px rgba(125, 165, 40, 0.3),
        0 0 20px rgba(125, 165, 40, 0.2);
}

/* Navigation with enhanced glass morphism */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg,
        rgba(20, 31, 16, 0.95) 0%,
        rgba(31, 51, 21, 0.92) 50%,
        rgba(20, 31, 16, 0.95) 100%);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(125, 165, 40, 0.1);
    border-bottom: 1px solid rgba(125, 165, 40, 0.2);
}

#navbar.navbar-loaded {
    transition: var(--transition);
}

#navbar.scrolled {
    background: linear-gradient(135deg,
        rgba(20, 31, 16, 0.98) 0%,
        rgba(31, 51, 21, 0.96) 50%,
        rgba(20, 31, 16, 0.98) 100%);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4),
                0 0 50px rgba(125, 165, 40, 0.15);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: "Rubik Wet Paint", cursive;
    font-size: 1.5rem;
    color: var(--toxic-glow);
    text-shadow:
        0 0 15px rgba(125, 165, 40, 0.6),
        0 0 30px rgba(125, 165, 40, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    cursor: pointer;
}

.nav-logo:hover {
    text-shadow:
        0 0 20px rgba(125, 165, 40, 0.8),
        0 0 40px rgba(125, 165, 40, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: linear-gradient(135deg,
        var(--primary-green) 0%,
        var(--hover-green) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    box-shadow: 0 4px 15px rgba(125, 165, 40, 0.3),
                0 0 20px rgba(125, 165, 40, 0.15);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section with video background */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        /* Video Background */
        .video-background {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: -2;
            object-fit: cover;
        }



        .hero-content {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            padding: 50px 0;
        }

        .hero-title {
            font-family: "Rubik Wet Paint", cursive;
            font-size: clamp(3rem, 10vw, 5rem);
            color: var(--toxic-glow);
            margin-bottom: 2rem;
            text-shadow: 
                0 0 15px rgba(125, 165, 40, 0.4),
                0 0 30px rgba(125, 165, 40, 0.2);
            animation: titleGlow 3s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            from {
                text-shadow: 
                    0 0 15px rgba(125, 165, 40, 0.4),
                    0 0 30px rgba(125, 165, 40, 0.2);
            }
            to {
                text-shadow: 
                    0 0 25px rgba(125, 165, 40, 0.6),
                    0 0 45px rgba(125, 165, 40, 0.3);
            }
        }

        .hero-description {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: var(--text-muted);
            margin-bottom: 3rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        /* Social Links with images */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-link {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}


.social-link:hover::before {
    transform: translate(-50%, -50%) scale(1.8);
}

.social-link img {
    object-fit: contain;
    transition: var(--transition);
}

.social-link:hover {
    filter: drop-shadow(0 6px 20px rgba(125, 165, 40, 0.5));
    transform: translateY(-4px) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 30px 0;
    }
    
    /* Make social links smaller on tablets */
    .social-links {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .social-link img {
        height: 40px !important;
        width: auto;
    }
}

@media (max-width: 480px) {
    /* Make social links even smaller on mobile phones */
    .social-links {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .social-link img {
        height: 35px !important;
        width: auto;
    }
}

/* About Section Styles */
.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg,
        rgba(20, 31, 16, 0.98) 0%,
        rgba(31, 51, 21, 0.95) 50%,
        rgba(20, 31, 16, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(125, 165, 40, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(107, 125, 58, 0.08) 0%, transparent 50%);
    animation: toxicPulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes toxicPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(125, 165, 40, 0.25),
        inset 0 0 0 1px rgba(125, 165, 40, 0.2);
    transition: var(--transition);
}

.about-image:hover {
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(125, 165, 40, 0.35),
        inset 0 0 0 1px rgba(125, 165, 40, 0.3);
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}


.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(125, 165, 40, 0.1) 100%);
    pointer-events: none;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--toxic-glow);
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 25px rgba(125, 165, 40, 0.6),
        0 0 40px rgba(125, 165, 40, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.about-text .btn-primary,
.about-text .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.about-text .btn-primary i,
.about-text .btn-secondary i {
    font-size: 1.2rem;
}

/* Mobile Responsive for About Section */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
    }

    .about-text h3 {
        font-size: 2rem;
    }

    .about-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-text h3 {
        font-size: 1.75rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-text .btn-primary,
    .about-text .btn-secondary {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .about-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Update Community Section button icons */
.community-cta .btn-primary i,
.community-cta .btn-secondary i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Enhanced Buttons with toxic gradient */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg,
        var(--primary-green) 0%,
        var(--hover-green) 50%,
        var(--primary-green) 100%);
    color: white;
    border-color: rgba(125, 165, 40, 0.3);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(125, 165, 40, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg,
        var(--hover-green) 0%,
        var(--toxic-glow) 50%,
        var(--hover-green) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 6px 25px rgba(125, 165, 40, 0.4),
        0 0 40px rgba(125, 165, 40, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-decoration: none !important;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--toxic-glow);
    border-color: var(--toxic-glow);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: var(--toxic-glow);
    color: #ffffff;
    box-shadow:
        0 4px 20px rgba(125, 165, 40, 0.3),
        0 0 30px rgba(125, 165, 40, 0.2);
    transform: translateY(-3px);
    text-decoration: none !important;
}

/* Powered by Horizon Section */
.powered-by-horizon {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(20, 31, 16, 0.95) 0%,
        rgba(31, 51, 21, 0.92) 50%,
        rgba(20, 31, 16, 0.95) 100%);
}

.powered-by-horizon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/img/horizon-background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.horizon-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%,
        rgba(125, 165, 40, 0.1) 0%,
        transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.horizon-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.horizon-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.horizon-logo-large {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(125, 165, 40, 0.3));
    transition: var(--transition);
}

.horizon-logo-large:hover {
    filter: drop-shadow(0 15px 50px rgba(125, 165, 40, 0.5));
    transform: scale(1.05);
}

.horizon-text {
    text-align: left;
}

.horizon-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.horizon-text .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Responsive for Horizon Section */
@media (max-width: 968px) {
    .horizon-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .horizon-text {
        text-align: center;
    }

    .horizon-logo-large {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .powered-by-horizon {
        padding: 60px 0;
    }

    .horizon-logo-large {
        max-width: 250px;
    }

    .horizon-description {
        font-size: 1rem;
    }
}

/* Community Section with enhanced toxic effect */
.community {
    padding: 100px 0;
    background: linear-gradient(180deg,
        rgba(20, 31, 16, 0.98) 0%,
        rgba(31, 51, 21, 0.95) 50%,
        rgba(20, 31, 16, 0.98) 100%);
}

.community-card {
    background: radial-gradient(ellipse at center,
        rgba(54, 77, 32, 0.95) 0%,
        rgba(31, 51, 21, 0.98) 60%,
        rgba(20, 31, 16, 1) 100%);
    border-radius: calc(var(--border-radius) + 4px);
    padding: 5rem;
    text-align: center;
    border: 2px solid rgba(125, 165, 40, 0.4);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(125, 165, 40, 0.15),
        inset 0 0 60px rgba(125, 165, 40, 0.05);
}

.community-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(125, 165, 40, 0.12) 0%,
        transparent 70%);
    animation: communityGlow 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes communityGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 1;
    }
}

.community-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--toxic-glow);
    display: block;
    text-shadow: 0 0 10px rgba(125, 165, 40, 0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

.community-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}



/* Footer with toxic bottom fade */
.footer {
    background: linear-gradient(180deg, 
        rgba(31, 51, 21, 0.98) 0%, 
        rgba(20, 31, 16, 1) 100%);
    padding: 3rem 0;
    border-top: 2px solid rgba(125, 165, 40, 0.3);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    color: var(--toxic-glow);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(125, 165, 40, 0.3);
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Page Headers with toxic atmosphere */
.page-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, 
        rgba(54, 77, 32, 0.2) 0%, 
        rgba(31, 51, 21, 0.4) 50%, 
        rgba(20, 31, 16, 0.9) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(125, 165, 40, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(107, 125, 58, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 125, 58, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: toxicPulse 12s ease-in-out infinite;
}

.page-title {
    font-family: "Rubik Wet Paint", cursive;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--toxic-glow);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 15px rgba(125, 165, 40, 0.4),
        0 0 30px rgba(125, 165, 40, 0.2);
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Comic Page Styles with enhanced toxic effects */
.comic-episode {
    background: linear-gradient(145deg,
        rgba(31, 51, 21, 0.95) 0%,
        rgba(42, 64, 25, 0.9) 50%,
        rgba(31, 51, 21, 0.95) 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(125, 165, 40, 0.25);
    transition: var(--transition);
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(125, 165, 40, 0.1),
        inset 0 1px 0 rgba(125, 165, 40, 0.15);
    position: relative;
    overflow: hidden;
}

.comic-episode::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(125, 165, 40, 0.1),
        transparent);
    transition: left 0.7s ease;
}

.comic-episode:hover::before {
    left: 100%;
}

.comic-episode:hover {
    border-color: rgba(125, 165, 40, 0.5);
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(125, 165, 40, 0.2),
        inset 0 1px 0 rgba(125, 165, 40, 0.25);
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.episode-title {
    color: var(--toxic-glow);
    font-size: 1.75rem;
}

.episode-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.episode-badge.complete {
    background: var(--primary-green);
    color: white;
}

.episode-badge.coming-soon {
    background: transparent;
    color: var(--toxic-glow);
    border: 2px solid var(--toxic-glow);
}


/* Mobile Responsive */
@media (max-width: 1024px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg,
            rgba(20, 31, 16, 0.98) 0%,
            rgba(31, 51, 21, 0.95) 50%,
            rgba(20, 31, 16, 0.98) 100%);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.2s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    
    /* Add instant hide class for page navigation */
    .nav-menu.instant-hide {
        transition: none !important;
        left: -100% !important;
    }
    
    /* Hero */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Featured */
    .featured-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-item.reverse {
        direction: ltr;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Community CTA */
    .community-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .community-cta .btn-primary,
    .community-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Episode */
    .episode-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* NFT Grid */
    .nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Contract Address Section */
.contract-section {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contract-label {
    color: var(--toxic-glow);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(125, 165, 40, 0.3);
}

.get-fart-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg,
        var(--primary-green) 0%,
        var(--hover-green) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(125, 165, 40, 0.3);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(125, 165, 40, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.get-fart-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.get-fart-button:hover::before {
    width: 250px;
    height: 250px;
}

.get-fart-button:hover {
    background: linear-gradient(135deg,
        var(--hover-green) 0%,
        var(--toxic-glow) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 4px 20px rgba(125, 165, 40, 0.4),
        0 0 30px rgba(125, 165, 40, 0.3);
    text-decoration: none;
}

.get-fart-button:active {
    transform: translateY(-1px);
}

.get-fart-button i {
    font-size: 1rem;
}

.contract-address-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(125, 165, 40, 0.12);
    border: 2px solid rgba(125, 165, 40, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contract-address-wrapper:hover {
    background: rgba(125, 165, 40, 0.18);
    border-color: rgba(125, 165, 40, 0.6);
    box-shadow:
        0 0 30px rgba(125, 165, 40, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.contract-address {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    user-select: all;
    background: none;
    border: none;
    padding: 0;
}

.copy-button {
    background: var(--toxic-glow);
    border: none;
    color: var(--dark-bg);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(125, 165, 40, 0.3);
}

.copy-button:hover {
    background: var(--hover-green);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 15px rgba(125, 165, 40, 0.5);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button i {
    font-size: 0.875rem;
}

.copy-feedback {
    position: absolute;
    color: var(--toxic-glow);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    margin-top: 0.5rem;
    width: 100%;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contract-section {
        margin-top: 1.5rem;
    }
    
    .contract-address-wrapper {
        max-width: 90vw;
        padding: 0.5rem 0.75rem;
    }
    
    .contract-address {
        font-size: 0.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(90vw - 80px);
    }
    
    .copy-button {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .copy-button i {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contract-label {
        font-size: 0.8rem;
    }
    
    .contract-address {
        font-size: 0.75rem;
    }
    
    .contract-address-wrapper {
        padding: 0.4rem 0.6rem;
    }
}

.copy-button i {
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

/* Optional: Add a different color for the checkmark */
.copy-button i.fa-check {
    color: var(--dark-bg);
}

