/* DESIGN LANGUAGE: ELECTRIC SLUDGE */
:root {
    --bg-deep-black: #050505;
    --neon-green: #39FF14;
    --dark-purple: #8B5CF6;
    --text-pure: #FFFFFF;
    --text-muted: #A0A0A0;
    
    --font-massive: 'Anton', sans-serif;
    --font-base: 'Inter', sans-serif;

    /* Base Section Spacing */
    --section-pad-y: 6rem;
    --section-pad-x: 2rem;
}

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

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

/* --- GLOBAL TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
}

/* --- SECTION DIVIDERS --- */
.section-divider-container {
    display: flex;
    justify-content: center;
    width: 100%;
}
.section-divider-container-bottom {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: var(--section-pad-y);
}
.section-divider {
    height: 2px;
    width: 100px;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    opacity: 0.5;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    border-bottom: 2px solid var(--neon-green);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001; /* Above mobile menu */
    background: none;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

.brand-logo-header {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 10px #00FF00);
    background: none;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-pure);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 10px 0; /* Min tap target helper */
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none; /* hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--neon-green);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 5px var(--neon-green);
    margin: 0 auto;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 50px; /* offset for navbar roughly */
    background-color: var(--bg-deep-black);
    background-image: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.95)), url('../images/71A91447-26F5-45BE-9040-0FFAC0E83D28.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    width: 100%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-logo-main {
    width: 100%;
    max-width: 800px;
    height: auto;
    position: static;
    display: block;
    margin: 70px auto 1.5rem auto;
    filter: drop-shadow(0 0 35px rgba(57, 255, 20, 0.5));
    z-index: 10;
}

.hero-subtext {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    animation: bounce 2s infinite;
}
.scroll-indicator p {
    font-family: var(--font-base);
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}
.chevron {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--neon-green);
    border-bottom: 2px solid var(--neon-green);
    transform: rotate(45deg);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* --- BUTTONS & GLITCH EFFECT --- */
.glitch-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    font-family: var(--font-massive);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: transparent;
    border: 3px solid var(--neon-green);
    color: var(--neon-green);
    font-size: 2.2rem;
    padding: 1.2rem 3.5rem;
    letter-spacing: 0.1em;
    position: relative;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4), inset 0 0 10px rgba(57, 255, 20, 0.2);
    text-shadow: 0 0 10px var(--neon-green);
    overflow: hidden;
    min-height: 60px;
}

.btn-primary:hover {
    background: var(--neon-green);
    color: var(--bg-deep-black);
    box-shadow: 0 0 30px var(--neon-green), inset 0 0 15px var(--neon-green);
    text-shadow: none;
}

.glitch-btn::before,
.glitch-btn::after {
    content: "SHOP THE DROP";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--neon-green);
    color: var(--bg-deep-black);
    opacity: 0;
}

.glitch-btn:hover::before {
    opacity: 1;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-4px, -2px);
    animation: glitch-anim-1 0.2s infinite linear alternate-reverse;
}

.glitch-btn:hover::after {
    opacity: 1;
    z-index: 2;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(4px, 2px);
    animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
}

/* --- SECTION TYPOGRAPHY & LAYOUT --- */
.section-title {
    font-family: var(--font-massive);
    font-size: 4rem;
    color: var(--text-pure);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 4px 4px 0px rgba(57,255,20,0.3);
}

.left-align {
    text-align: left;
}

/* --- GLOBAL SECTION PADDING --- */
.manifesto-section, .catalog, .community-section, .signup-section {
    padding: var(--section-pad-y) var(--section-pad-x);
    position: relative;
}

/* --- MANIFESTO SECTION --- */
.manifesto-section {
    background: var(--bg-deep-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.manifesto-content {
    max-width: 900px;
    z-index: 10;
    margin-bottom: 2rem;
}

.impact-text {
    font-family: var(--font-massive);
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 1;
    color: var(--text-pure);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-shadow: 4px 4px 0 var(--neon-green);
}

.manifesto-body {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- CATALOG / PRODUCTS --- */
.catalog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.drop-label {
    font-weight: 900;
    color: var(--neon-green);
    letter-spacing: 0.2rem;
    margin-bottom: -10px;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    /* Enforce 3 equal columns on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(57, 255, 20, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.25);
}

.card-img-container {
    height: 380px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    background: #0a0a0a;
}

.product-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card:hover .product-img {
    transform: scale(1.05);
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.card-info h3 {
    font-family: var(--font-massive);
    font-size: 1.8rem;
    letter-spacing: 1px;
    line-height: 1.2;
    max-width: 70%;
    text-transform: uppercase;
}

.price {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--neon-green);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #444;
    color: var(--text-pure);
    padding: 1.2rem;
    font-size: 1.5rem;
    width: 100%;
    min-height: 50px;
}

.card:hover .btn-secondary {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--bg-deep-black);
    box-shadow: 0 0 10px var(--neon-green);
}

/* --- COMMUNITY / LIFESTYLE SECTION --- */
.community-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.community-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-text .left-align {
    text-align: center;
}

.community-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Masonry / Horizontal row for desktop */
.community-images-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.comm-img-box {
    position: relative;
    overflow: hidden;
    height: 400px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color 0.3s ease;
}

.comm-img-box:hover {
    border-color: var(--neon-green);
}

.comm-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.comm-img-box:hover img {
    filter: grayscale(0%) contrast(105%);
    transform: scale(1.1);
}

/* --- EMAIL SIGNUP --- */
.signup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.signup-container {
    max-width: 800px;
    width: 100%;
    padding: 5rem 2rem;
    border: 2px dashed rgba(57, 255, 20, 0.4);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.signup-container:hover {
    border-color: var(--neon-green);
    box-shadow: inset 0 0 20px rgba(57, 255, 20, 0.1);
}

.signup-title {
    font-family: var(--font-massive);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-pure);
}

.signup-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: 2px solid #444;
    color: var(--text-pure);
    font-family: var(--font-base);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.email-input::placeholder {
    color: #666;
    text-transform: uppercase;
}

.email-input:focus {
    border-color: var(--neon-green);
}

.submit-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    min-height: 55px; /* Minimum tap target */
}

/* --- FOOTER --- */
footer {
    padding: 4rem 2rem 2rem 2rem;
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(57, 255, 20, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

footer .brand-logo {
    max-height: 50px;
    opacity: 0.8;
    transition: opacity 0.3s;
    filter: drop-shadow(0 0 10px #00FF00);
}

footer .brand-logo:hover {
    opacity: 1;
}

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

.social-links a, .legal-links a {
    color: var(--text-pure);
    text-decoration: none;
    font-family: var(--font-massive);
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 10px; /* Improve tap targets */
}

.social-links a:hover, .legal-links a:hover {
    color: var(--neon-green);
}

.legal-links {
    display: flex;
    gap: 2rem;
    font-family: var(--font-base);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.copyright {
    text-align: center;
    font-weight: 900;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST OVERRIDES) --- */
@media (max-width: 850px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        padding: 3rem 0;
        gap: 2rem;
        height: calc(100vh - 65px);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.4rem;
        display: block;
        padding: 15px; /* Minimum 44px tap target */
    }

    .hero {
        background-attachment: scroll; /* Prevent background from disappearing on mobile */
        background-position: center;
    }

    .hero-logo-main {
        max-width: 90%;
    }

    .hero-subtext {
        font-size: 1.2rem;
    }

    .btn-primary {
        font-size: 1.8rem;
        padding: 1.2rem;
        width: 100%; /* Force full width on small screens */
        max-width: 100%;
    }

    .glitch-wrapper {
        width: 100%;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .manifesto-section, .catalog, .community-section, .signup-section {
        padding: 4rem 1.5rem;
    }
    
    .manifesto-body, .community-desc, .signup-sub {
        font-size: 1.1rem;
        min-height: 16px;
    }

    /* Stack product cards to 1 column full width */
    .grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Stack community row */
    .community-images-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .signup-form {
        flex-direction: column;
    }
    
    .email-input {
        width: 100%;
    }

    .submit-btn {
        width: 100%;
    }

    /* Stack footer elements centered */
    .footer-content {
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
    }

    .footer-left, .footer-center, .footer-right {
        justify-content: center;
    }

    .social-links {
        gap: 1.5rem;
    }

    .legal-links {
        gap: 1.5rem;
    }
}
