:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-red: #ff3333;
    /* Revolution Red */
    --accent-gold: #ffcc00;
    /* Justice Gold */
    --accent-gray: #333333;
    --font-head: 'Bebas Neue', display;
    --font-body: 'Montserrat', sans-serif;
}

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

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

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAA5OTkAAABMTExERERmZmYzMzPMzMxloRvSAAAAAHRSTlMAMwAOLiI8baTnAAAAhUlEQVQ4y2NgQAX8DIwsYWAMY2BId4OwjCCs4QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QzM6QwMAJTYy70jC31qAAAAAElFTkSuQmCC');
    opacity: 0.05;
    z-index: 9999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Typography Helpers */
h1,
h2,
h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px 20px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    border-bottom: 4px solid var(--accent-red);
}

.glitch-wrapper {
    position: relative;
    margin-bottom: 20px;
}

h1.glitch {
    font-size: 5rem;
    line-height: 1;
    color: var(--text-color);
    position: relative;
    animation: shake 5s infinite;
}

.sub-glitch {
    color: var(--accent-red) !important;
}

/* Glitch Effect */
@keyframes shake {
    0% {
        transform: translate(0, 0);
    }

    2% {
        transform: translate(-2px, 1px);
    }

    4% {
        transform: translate(2px, -1px);
    }

    6% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Counter */
#counter-container {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding: 10px 20px;
    border: 2px solid var(--accent-gold);
    background: rgba(255, 204, 0, 0.1);
    display: inline-block;
    animation: pulse 1s infinite;
}

#voice-count {
    font-size: 2rem;
    color: #fff;
    margin-left: 10px;
}

/* Particles */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.particle {
    position: absolute;
    pointer-events: none;
    animation: fade-out 1s ease-out forwards;
}

.particle {
    position: absolute;
    pointer-events: none;
    animation: fade-out 1s ease-out forwards;
}

@keyframes fade-out {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #cccccc;
}

.divider {
    width: 100px;
    height: 6px;
    background-color: var(--accent-gold);
    margin: 0 auto 30px;
}

.demand {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.highlight {
    color: var(--accent-gold);
    text-decoration: underline;
    text-decoration-thickness: 5px;
}

.context {
    font-size: 1.2rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Manifesto Section */
.manifesto {
    padding: 80px 0;
    background-color: #111;
}

.manifesto .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.card {
    background: #1a1a1a;
    padding: 40px;
    border-left: 5px solid var(--accent-red);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.2);
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 15px;
}

.card p {
    font-size: 1.1rem;
    color: #ddd;
}

/* Protest Ground Section */
.protest-ground {
    padding: 80px 0;
    background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
}

.protest-ground h2 {
    font-size: 4rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.placard-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.placard {
    background: #eee;
    color: #111;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    transform: rotate(-1deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    border: 4px solid #111;
}

.placard::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: repeating-linear-gradient(45deg,
            #333,
            #333 5px,
            #555 5px,
            #555 10px);
}

.placard-content {
    border: 3px solid #111;
    padding: 30px;
    text-align: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    display: block;
}

#protest-message {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.1;

    margin-bottom: 20px;
    min-height: 4.4rem;
    /* Approx 4 lines of text height to prevent jump */
}

.hashtags {
    font-weight: 700;
    color: var(--accent-red);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: #080808;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.video-section h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--accent-red);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
    max-height: 80vh;
}

/* Actions */
.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.share-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.5);
    animation: pulse 2s infinite;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

.btn-twitter {
    background-color: #000;
    border: 2px solid #333;
}

.btn-twitter:hover {
    border-color: #fff;
}

.btn-facebook {
    background-color: #3b5998;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 51, 51, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

/* Footer */
footer {
    padding: 50px 0;
    background-color: #000;
    border-top: 1px solid #333;
    margin-top: 50px;
}

footer p {
    font-family: var(--font-head);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #555;
}

.small {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    letter-spacing: 0 !important;
    text-transform: none;
    margin-top: 10px;
}

/* Mobile Responsive & Sticky Actions */
@media (max-width: 768px) {
    h1.glitch {
        font-size: 3rem;
    }

    .demand {
        font-size: 2.2rem;
    }

    .placard {
        transform: none;
        padding: 20px;
        border-width: 2px;
    }

    .placard-content {
        padding: 15px;
    }

    #protest-message {
        font-size: 1.8rem;
    }

    /* Sticky Actions for Easy Use */
    .actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.95);
        /* Matches bg-color */
        padding: 10px;
        z-index: 1000;
        border-top: 2px solid var(--accent-red);
        display: flex;
        flex-direction: column;
        /* Stack share buttons above generate */
        gap: 10px;
        backdrop-filter: blur(10px);
        box-shadow: 0 -10px 30px rgba(255, 51, 51, 0.2);
    }

    .share-buttons {
        display: flex;
        /* Restore share buttons */
        width: 100%;
        justify-content: center;
        gap: 10px;
        order: 1;
        /* Above generate button */
    }

    .btn {
        padding: 12px 20px;
        /* Slightly smaller padding for mobile */
        font-size: 1rem;
    }

    /* Make share buttons iconic and compact on mobile */
    .share-buttons .btn {
        flex: 1;
        /* Distribute space evenly */
        justify-content: center;
    }

    /* For "Extreme Easy Use", we strictly prioritize the MAIN action: Generate */
    #generate-btn {
        width: 100%;
        font-size: 1.3rem;
        padding: 15px;
        animation: pulse-aggressive 1s infinite;
        order: 2;
        /* Keep at bottom */
    }

    /* Add padding to body so content isn't hidden behind sticky footer */
    body {
        padding-bottom: 160px;
        /* Increased padding for larger sticky footer */
    }
}

/* Aggressive Animations */
@keyframes pulse-aggressive {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 5px rgba(255, 51, 51, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

/* Screen Shock Effect */
.shockwave {
    animation: shock 0.2s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shock {
    0% {
        transform: translate(0, 0) scale(1);
        filter: hue-rotate(0deg);
    }

    25% {
        transform: translate(-5px, 5px) scale(1.01);
        filter: hue-rotate(90deg);
    }

    50% {
        transform: translate(5px, -5px) scale(1.02);
        filter: invert(1);
    }

    /* Flash invert */
    75% {
        transform: translate(-5px, 5px) scale(1.01);
        filter: hue-rotate(-90deg);
    }

    100% {
        transform: translate(0, 0) scale(1);
        filter: hue-rotate(0deg);
    }
}

/* Enhanced Typography */
h1.glitch {
    text-shadow: 3px 3px 0px var(--accent-red), -2px -2px 0px var(--accent-gray);
}

.highlight {
    background-color: var(--accent-gold);
    color: #000;
    padding: 0 10px;
    text-decoration: none;
    box-shadow: 5px 5px 0px #fff;
    display: inline-block;
    transform: rotate(-2deg);
}

/* --- FIRE & REVOLUTION UPDATE --- */

/* Burning Text Effect */
.burning {
    color: #fff;
    text-shadow:
        0 0 10px #ff3333,
        0 0 20px #ff3333,
        0 0 40px #ff3333,
        0 0 80px #ffcc00;
    animation: burn-pulse 1.5s infinite alternate;
}

@keyframes burn-pulse {
    from {
        text-shadow:
            0 0 10px #ff3333,
            0 0 20px #ff3333,
            0 0 30px #ffcc00;
    }

    to {
        text-shadow:
            0 0 20px #ff3333,
            0 0 30px #ff3333,
            0 0 50px #ffcc00,
            0 0 70px #ffcc00;
    }
}



/* War Room Protocol */
.protocol-section {
    padding: 60px 20px;
    background: #050505;
    border-top: 1px solid #333;
    font-family: 'Courier New', monospace;
    /* Terminal look */
    color: #4af626;
    /* Terminal Green */
    text-align: left;
}

.protocol-title {
    color: #ff3333;
    text-align: center;
    font-family: var(--font-head);
    font-size: 3rem;
    margin-bottom: 40px;
    letter-spacing: 5px;
    animation: blink-warning 1s infinite;
}

@keyframes blink-warning {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 20px #ff3333;
    }
}

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

.protocol-card {
    border: 1px solid #333;
    padding: 20px;
    background: #0a0a0a;
    transition: all 0.3s ease;
}

.protocol-card:hover {
    border-color: #4af626;
    background: #0f1f0f;
    box-shadow: 0 0 15px rgba(74, 246, 38, 0.2);
}

.protocol-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffcc00;
}

.protocol-card h4 {
    color: #4af626;
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.protocol-card p {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

/* Recruit Section */
.recruit-section {
    padding: 60px 20px;
    background: #0d0d0d;
    border-top: 1px solid #333;
    text-align: center;
}

.recruit-section h2 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.recruit-section p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.share-website-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25d366;
    border: 2px solid #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

#tweet-btn {
    animation: pulse-blue 1.5s infinite;
    border: 2px solid white !important;
    box-shadow: 0 0 15px rgba(29, 161, 242, 0.5);
    background: #1da1f2 !important;
    font-weight: 800;
}

@keyframes pulse-blue {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 161, 242, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(29, 161, 242, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 161, 242, 0);
    }
}