@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

:root {
    --electric-yellow: #FFD700;
    --deep-blue: #1E3A8A;
    --black: #000000;
    --white: #FFFFFF;
    --border-width: 6px;
    /* Thick borders */
    --shadow-offset: 10px;
    /* Big shadows */
    --font-heading: 'Impact', 'Arial Black', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at center, #2549AB 0%, var(--deep-blue) 100%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-attachment: fixed;
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    cursor: crosshair;
    /* Brutalist touch */
}

/* Slam Animation */
@keyframes slam {
    0% {
        transform: scale(3) rotate(20deg);
        opacity: 0;
    }

    70% {
        transform: scale(0.9) rotate(-5deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(var(--angle, 0deg));
    }
}

.sticker {
    animation: slam 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, float 4s ease-in-out infinite 0.6s;
}

/* Stagger slam animation for cards */
.feature-card:nth-child(1) {
    animation-delay: 0.2s, 0.6s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s, 0.6s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s, 0.6s;
}

/* Base Neobrutalist Styles */
.neo-box {
    background: var(--electric-yellow);
    border: var(--border-width) solid var(--black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--black);
    padding: 2rem;
    color: var(--black);
    transition: transform 0.2s, box-shadow 0.2s;
}

.neo-box:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--black);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.9;
}

/* Marquee */
.marquee-container {
    background: var(--electric-yellow);
    border-bottom: var(--border-width) solid var(--black);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
}

.marquee-content {
    animation: marquee 30s linear infinite;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-heading);
    color: var(--black);
    font-size: 1.5rem;
    padding-left: 100%;
}

.marquee-logo {
    height: 1.2rem;
    width: auto;
    filter: brightness(0);
    /* Make it black to match the marquee text */
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Background Shapes */
.floating-shape {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

/* Animations */
/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

/* Stickers */
.sticker {
    background: var(--electric-yellow);
    color: var(--black);
    /* Fix: high contrast text */
    border: var(--border-width) solid var(--black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--black);
    padding: 2.5rem;
    transform: rotate(var(--angle, 0deg));
    animation: float 4s ease-in-out infinite;
    position: relative;
}

.sticker.white {
    background: var(--white);
    color: var(--black);
}

.sticker.yellow {
    background: var(--electric-yellow);
}

.sticker.dark-grey {
    background: #1A1A1A;
    color: var(--white);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.main-logo {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    transition: transform 0.2s;
}

.title-wrapper:hover .main-logo {
    animation: pulse 0.5s ease-in-out infinite;
}

.subtitle-wrapper {
    max-width: 600px;
}

.subtitle-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle-wrapper p {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    width: 100%;
    margin-top: 40px;
}

.feature-card:nth-child(even) {
    margin-top: 40px;
}

.feature-card:nth-child(odd) {
    margin-top: -20px;
}

.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Join Section */
.join-section {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.join-headline {
    font-family: var(--font-heading);
    color: var(--electric-yellow);
    font-size: 2rem;
    margin-bottom: 20px;
    -webkit-text-stroke: 1px var(--black);
    letter-spacing: 1px;
}

.input-group {
    display: flex;
    padding: 10px !important;
    gap: 10px;
    background: var(--white) !important;
}

#email-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 1rem;
    outline: none;
    color: var(--black);
}

#email-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

#email-input:focus {
    animation: border-glitch 0.2s linear infinite;
}

#join-btn {
    background: var(--electric-yellow);
    border: var(--border-width) solid var(--black);
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 0 2rem;
    cursor: pointer;
    transition: all 0.1s;
}

#join-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: -4px -4px 0px var(--black);
}

.spam-text {
    margin-top: 20px;
    font-weight: 900;
    color: var(--electric-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-text-stroke: 1px var(--black);
    /* Add outline for maximum pop */
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.stat-item label {
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
}

.stat-item span {
    font-weight: 900;
}

/* Footer */
.footer {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 900;
    font-size: 1.2rem;
}

.copyright {
    padding: 10px 20px !important;
    font-weight: 900;
    font-size: 0.9rem;
}

/* Animation Additions */
@keyframes border-glitch {
    0% {
        border: 4px dashed var(--black);
    }

    50% {
        border: 4px dotted var(--black);
    }

    100% {
        border: 4px dashed var(--black);
    }
}

.glitch-text:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) rotate(var(--angle, 0deg));
    }

    50% {
        transform: scale(1.05) rotate(calc(var(--angle, 0deg) + 2deg));
    }

    100% {
        transform: scale(1) rotate(var(--angle, 0deg));
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(var(--angle, 0deg));
    }

    50% {
        transform: translateY(-10px) rotate(calc(var(--angle, 0deg) - 1deg));
    }

    100% {
        transform: translateY(0px) rotate(var(--angle, 0deg));
    }
}

@keyframes glitch {
    0% {
        clip-path: inset(10% 0 30% 0);
        transform: translate(-2px);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-2px);
    }

    100% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(0);
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}