/* Icon-only placard action buttons for mobile */
@media (max-width: 600px) {
    .placard-actions-grid .btn {
        min-width: 44px;
        max-width: 48px;
        padding: 10px 0 6px 0;
        font-size: 1.2rem;
        flex: 1 1 22%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .placard-actions-grid .btn span {
        display: none;
    }
}

/* Placard action buttons horizontal layout and wrap for mobile */
.placard-actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .placard-actions-grid {
        flex-direction: row;
        gap: 6px;
        margin-top: 10px;
    }

    .placard-actions-grid .btn {
        flex: 1 1 45%;
        min-width: 120px;
        font-size: 0.97rem;
        padding: 10px 0;
    }
}

:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-red: #0066cc;
    /* Trust Blue (was Revolution Red) */
    --accent-gold: #ff9900;
    /* Growth Orange (was 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;
}

/* 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(0, 102, 204, 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.2rem;
    line-height: 1.2;

    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(0, 102, 204, 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(0, 102, 204, 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(0, 102, 204, 0.7);
    }

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

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 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;
}

/* --- Placard Actions Horizontal Scroll --- */
.placard-actions-container {
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 20px;
    position: relative;
}

/* Reduce spacing on mobile */
@media (max-width: 768px) {
    .placard-actions-container {
        margin-bottom: 5px !important;
        margin-top: 0 !important;
        /* Removed top margin */
    }
}

.placard-actions-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 5px 15px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    scroll-snap-type: x mandatory;
}

/* Center buttons on desktop */
@media (min-width: 769px) {
    .placard-actions-scroll {
        justify-content: center;
        overflow-x: hidden;
        /* Hide scrollbar if centered and fits */
        padding-bottom: 0;
        /* Remove extra scroll padding on desktop */
    }
}

/* Reduce toggle spacing on mobile */
@media (max-width: 768px) {
    .placard-actions-scroll {
        padding-bottom: 5px;
        /* Reduced from 15px */
    }
}

.placard-actions-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.placard-actions-scroll .btn {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row !important;
    /* Forces inline icon+text */
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 6px 16px;
    /* Reduced from 12px 20px for slim look */
    font-size: 0.85rem;
    /* Slightly smaller text for balance */
    border-radius: 50px;
    scroll-snap-align: center;
    transition: all 0.3s ease;
}

.placard-actions-scroll .btn i {
    font-size: 1.1rem;
    margin-bottom: 0 !important;
}

/* Ripple Highlight Effect */
@keyframes ripple-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

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

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

/* Prominent Highlights - Mobile (Image+Text Tweet) */
@media (max-width: 768px) {
    .prominent-mobile {
        background: #1da1f2 !important;
        border: 2px solid #fff !important;
        animation: pulse-blue 1.5s infinite;
        box-shadow: 0 0 15px rgba(29, 161, 242, 0.5);
        font-weight: 800;
        transform: scale(1.05);
    }
}

/* Prominent Highlights - Desktop (Text Only Tweet) */
@media (min-width: 769px) {
    .prominent-web {
        background: #1da1f2 !important;
        border: 2px solid #fff !important;
        animation: pulse-blue 1.5s infinite;
        box-shadow: 0 0 15px rgba(29, 161, 242, 0.5);
        font-weight: 800;
        transform: scale(1.05);
    }
}

/* 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.6rem;
    }

    /* Toggles in Flow - Visible below message */
    .toggles-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100%;
    }


    .placard-actions-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 20px;
        width: 100%;
    }

    .placard-actions-grid .btn {
        padding: 12px 5px;
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .placard-actions-grid .btn i {
        font-size: 1.2rem;
    }

    .placard-btn-share {
        background: #1DA1F2 !important;
        color: #fff !important;
    }

    .placard-btn-copy {
        background: var(--accent-gold) !important;
        color: #000 !important;
    }

    .placard-btn-save {
        background: #28a745 !important;
        color: #fff !important;
    }

    .placard-btn-share:hover {
        background: #1a91da !important;
    }

    .placard-btn-copy:hover {
        background: #e6b800 !important;
    }

    .placard-btn-save:hover {
        background: #218838 !important;
    }


    /* Sticky Actions for Easy Use - Buttons Only - COMPACTED */
    .actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 13, 0.95);
        padding: 0px 0 5px;
        /* Reduced top padding */
        z-index: 1000;
        border-top: 2px solid var(--accent-red);
        backdrop-filter: blur(10px);
        box-shadow: 0 -10px 30px rgba(0, 102, 204, 0.2);
        display: flex;
        /* Ensure flex is explicit */
        flex-direction: column;
        gap: 5px !important;
        /* Override global 30px gap */
    }

    .actions #generate-btn {
        margin: 0 10px 5px;
        /* Reduced bottom margin too */
        width: calc(100% - 20px);
    }


    .share-buttons {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 5px;
        /* Reduced from 10px */
        order: 1;
    }

    .btn {
        padding: 8px 12px;
        /* Even more compact padding */
        font-size: 0.9rem;
    }

    .share-buttons .btn {
        flex: 1;
        justify-content: center;
        min-width: auto;
    }

    #generate-btn {
        width: 100%;
        font-size: 1.1rem;
        padding: 10px;
        /* Reduced from 12px */
        animation: pulse-aggressive 1s infinite;
        order: 2;
        margin-bottom: 0;
    }

    /* Add SUBSTANTIAL padding to body so content can scroll well above sticky footer */
    body {
        padding-bottom: 200px;
        /* Greatly increased to ensure visibility */
    }
}

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

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

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 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);
}

/* Specific style for the second hero line */
h1.glitch.sub-glitch {
    color: var(--accent-red) !important;
    text-shadow: 3px 3px 0px #ffffff;
}

.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);
}

/* Glow/Burning Text Effect */
.burning {
    color: #fff;
    text-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-red);
    animation: burn-pulse 1.5s infinite alternate;
}

@keyframes burn-pulse {
    from {
        text-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-red);
    }

    to {
        text-shadow: 0 0 20px var(--accent-red), 0 0 40px rgba(0, 102, 204, 0.6);
    }
}



/* 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: var(--accent-red);
    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 var(--accent-red);
    }
}

.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;
}

/* Pulse Blue Animation */
@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);
    }
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.3s;
    border-radius: 26px;
    border: 2px solid #555;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-container {
    animation: glow-toggle 2s infinite alternate;
}

@keyframes glow-toggle {
    from {
        filter: drop-shadow(0 0 2px rgba(255, 204, 0, 0.3));
    }

    to {
        filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.6));
    }
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: #080808;
    border-top: 1px solid #333;
    text-align: center;
}

.gallery-section h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #1a1a1a;
    border-top: 1px solid #333;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    background: none;
    border: none;
    color: #ccc;
    font-family: var(--font-head);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 4px;
}

.action-btn i {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.action-btn:hover {
    background: var(--accent-red);
    color: #fff;
}

.action-btn:not(:last-child) {
    border-right: 1px solid #333;
}

.share-btn:hover {
    background: #1DA1F2;
}

/* Twitter Blue */
.copy-btn:hover {
    background: var(--accent-gold);
}

.download-btn:hover {
    background: #28a745;
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- BRAND HEADER --- */
.brand-header {
    background: #000;
    padding: 10px 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-red);
    position: relative;
    /* Non-sticky by default */
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make header sticky only on desktop */
@media (min-width: 769px) {
    .brand-header {
        position: sticky;
        top: 0;
    }
}

.brand-logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 5px;
    text-shadow: 2px 2px 0px var(--accent-red);
    animation: pulse 3s infinite;
}


/* --- NOTIFICATION POPUP --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background: #111;
    border: 2px solid var(--accent-gold);
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.2);
}

.popup-overlay.show .popup-card {
    transform: scale(1);
}

.popup-title {
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.popup-text {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-input {
    background: #222;
    border: 1px solid #444;
    padding: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
}

.popup-input:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.popup-btn-primary {
    background: var(--accent-gold);
    color: #000;
    border: none;
    padding: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.popup-btn-primary:hover {
    background: #fff;
    transform: scale(1.02);
}

.popup-btn-base {
    background: transparent;
    color: #777;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
}

.popup-close-x {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
}

.popup-close-x:hover {
    color: #fff;
}