/* politics.quest - Neon-Electric Activism Design */
/* Palette: #0A0A18 #FF3060 #30FFCC #F0F0F8 #7050C0 #3080E0 #404058 */

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #0A0A18;
    color: #F0F0F8;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ============================================
   RALLY STAGE (HERO)
   ============================================ */

#rally-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A0A18;
}

/* Aurora Lights */
#aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.aurora-band {
    position: absolute;
    width: 200%;
    height: 200px;
    color: #7050C0;
}

.aurora-band path:nth-child(2) {
    color: #3080E0;
}

.aurora-band-1 {
    top: 10%;
    left: -50%;
    animation: auroraDrift1 20s linear infinite;
}

.aurora-band-2 {
    top: 40%;
    left: -30%;
    animation: auroraDrift2 25s linear infinite;
}

.aurora-band-3 {
    top: 70%;
    left: -60%;
    animation: auroraDrift3 22s linear infinite;
}

@keyframes auroraDrift1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(25%); }
}

@keyframes auroraDrift2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-20%); }
}

@keyframes auroraDrift3 {
    0% { transform: translateX(0); }
    100% { transform: translateX(15%); }
}

/* Abstract Shapes Hero */
#abstract-shapes-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.abstract-shape {
    position: absolute;
    opacity: 0;
    animation: shapeFadeIn 1.5s ease forwards;
}

.shape-circle {
    width: 80px;
    height: 80px;
    top: 12%;
    left: 8%;
    animation-delay: 0.8s;
}

.shape-triangle {
    width: 70px;
    height: 70px;
    top: 20%;
    right: 12%;
    animation-delay: 1.1s;
}

.shape-arrow {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 15%;
    animation-delay: 1.4s;
}

.shape-fist {
    width: 75px;
    height: 75px;
    bottom: 20%;
    right: 10%;
    animation-delay: 1.0s;
}

.shape-diamond {
    width: 55px;
    height: 55px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-200px);
    animation-delay: 1.3s;
}

@keyframes shapeFadeIn {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 0.7; transform: scale(1); }
}

/* Preserve translate on diamond */
.shape-diamond {
    animation: shapeFadeInDiamond 1.5s ease 1.3s forwards;
}

@keyframes shapeFadeInDiamond {
    0% { opacity: 0; transform: translate(-50%, -50%) translateX(-200px) scale(0.7); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) translateX(-200px) scale(1); }
}

/* Hero Content */
#hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

#domain-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: clamp(28px, 3.5vw, 56px);
    letter-spacing: 0.01em;
    color: #F0F0F8;
    opacity: 0;
    animation: titleFadeIn 600ms ease 300ms forwards;
    text-shadow: 0 0 30px rgba(255, 48, 96, 0.4), 0 0 60px rgba(48, 255, 204, 0.2);
}

#hero-tagline {
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 20px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #30FFCC;
    margin-top: 16px;
    opacity: 0;
    animation: titleFadeIn 600ms ease 700ms forwards;
}

@keyframes titleFadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Neon pulse on hero */
#rally-stage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    box-shadow: inset 0 0 120px rgba(255, 48, 96, 0.08), inset 0 0 240px rgba(48, 255, 204, 0.04);
    animation: heroNeonPulse 4s ease-in-out infinite;
}

@keyframes heroNeonPulse {
    0%, 100% { box-shadow: inset 0 0 120px rgba(255, 48, 96, 0.08), inset 0 0 240px rgba(48, 255, 204, 0.04); }
    50% { box-shadow: inset 0 0 150px rgba(255, 48, 96, 0.14), inset 0 0 300px rgba(48, 255, 204, 0.08); }
}

/* Scroll Indicator */
#scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: titleFadeIn 600ms ease 1.2s forwards;
}

#scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   POSTER WALL (MASONRY)
   ============================================ */

#poster-wall,
#poster-wall-2 {
    position: relative;
    padding: 0;
    background: #0A0A18;
}

#masonry-grid,
#masonry-grid-2 {
    column-count: 3;
    column-gap: 12px;
    padding: 24px 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-block {
    break-inside: avoid;
    margin-bottom: 12px;
    padding: 24px;
    background: #404058;
    border: 2px solid transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.masonry-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Neon Borders */
.neon-coral-border {
    border-color: #FF3060;
    box-shadow: 0 0 8px rgba(255, 48, 96, 0.4);
}

.neon-mint-border {
    border-color: #30FFCC;
    box-shadow: 0 0 8px rgba(48, 255, 204, 0.4);
}

/* Block Types */
.block-header {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
    color: #F0F0F8;
}

.block-manifesto p,
.block-declaration p {
    color: #F0F0F8;
    line-height: 1.8;
}

.block-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.8;
    color: #F0F0F8;
    border-left: 3px solid #FF3060;
    padding-left: 16px;
}

.neon-mint-border .block-quote blockquote,
.neon-mint-border blockquote {
    border-left-color: #30FFCC;
}

.block-data {
    text-align: center;
    padding: 20px 24px;
}

.data-label {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #F0F0F8;
    opacity: 0.7;
    margin-bottom: 6px;
}

.data-value {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: clamp(24px, 2.5vw, 36px);
    letter-spacing: 0.01em;
    margin-bottom: 10px;
}

.neon-coral-border .data-value {
    color: #FF3060;
    text-shadow: 0 0 12px rgba(255, 48, 96, 0.5);
}

.neon-mint-border .data-value {
    color: #30FFCC;
    text-shadow: 0 0 12px rgba(48, 255, 204, 0.5);
}

.data-context {
    font-size: 13px;
    line-height: 1.7;
    color: #F0F0F8;
    opacity: 0.8;
}

/* Pulse Attention */
.pulse-attention {
    animation: pulseGlow 2s ease-in-out infinite;
    animation-play-state: paused;
}

.pulse-attention.visible {
    animation-play-state: running;
}

.pulse-attention.neon-coral-border {
    animation-name: pulseGlowCoral;
}

.pulse-attention.neon-mint-border {
    animation-name: pulseGlowMint;
}

@keyframes pulseGlowCoral {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 48, 96, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 48, 96, 0.7), 0 0 40px rgba(255, 48, 96, 0.3); }
}

@keyframes pulseGlowMint {
    0%, 100% { box-shadow: 0 0 8px rgba(48, 255, 204, 0.4); }
    50% { box-shadow: 0 0 20px rgba(48, 255, 204, 0.7), 0 0 40px rgba(48, 255, 204, 0.3); }
}

/* Hover Effects */
.masonry-block:hover {
    cursor: default;
}

.masonry-block.neon-coral-border:hover {
    box-shadow: 0 0 12px rgba(255, 48, 96, 0.6), 0 0 24px rgba(255, 48, 96, 0.3);
}

.masonry-block.neon-mint-border:hover {
    box-shadow: 0 0 12px rgba(48, 255, 204, 0.6), 0 0 24px rgba(48, 255, 204, 0.3);
}

.masonry-block:hover .block-header {
    text-shadow: 0 0 8px rgba(255, 48, 96, 0.4);
}

.masonry-block.neon-mint-border:hover .block-header {
    text-shadow: 0 0 8px rgba(48, 255, 204, 0.4);
}

.masonry-block.pulse-attention:hover {
    animation-play-state: paused;
}

/* ============================================
   AURORA MOVEMENT SECTION
   ============================================ */

#aurora-movement {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A0A18;
}

#aurora-movement-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.aurora-movement-band {
    position: absolute;
    width: 200%;
    height: 300px;
}

.aurora-mv-1 {
    top: 0;
    left: -50%;
    animation: auroraDrift1 18s linear infinite;
}

.aurora-mv-2 {
    top: 0;
    left: -30%;
    animation: auroraDrift2 22s linear infinite;
}

#aurora-movement-text {
    position: relative;
    z-index: 5;
    max-width: 600px;
    text-align: center;
    padding: 0 24px;
}

#aurora-movement-text p {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(16px, 1.3vw, 22px);
    line-height: 1.8;
    color: #F0F0F8;
    text-shadow: 0 0 20px rgba(112, 80, 192, 0.3);
}

/* ============================================
   CAMPAIGN HQ (FOOTER)
   ============================================ */

#campaign-hq {
    position: relative;
    padding: 60px 12px 40px;
    background: #0A0A18;
    overflow: hidden;
}

/* Footer Shapes */
#footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-shape {
    position: absolute;
    opacity: 0.4;
}

.fs-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 5%;
    animation: footerShapeFloat 8s ease-in-out infinite;
}

.fs-2 {
    width: 50px;
    height: 50px;
    top: 10%;
    right: 8%;
    animation: footerShapeFloat 10s ease-in-out infinite 1s;
}

.fs-3 {
    width: 45px;
    height: 45px;
    bottom: 20%;
    left: 12%;
    animation: footerShapeFloat 9s ease-in-out infinite 2s;
}

.fs-4 {
    width: 55px;
    height: 55px;
    bottom: 15%;
    right: 6%;
    animation: footerShapeFloat 7s ease-in-out infinite 0.5s;
}

@keyframes footerShapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Footer Aurora */
#footer-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.footer-aurora-band {
    position: absolute;
    width: 200%;
    height: 150px;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    animation: auroraDrift1 15s linear infinite;
}

/* Footer Content */
#footer-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

#footer-masonry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.footer-block {
    padding: 24px;
    background: #404058;
    border: 2px solid transparent;
}

.footer-block.neon-coral-border {
    border-color: #FF3060;
    box-shadow: 0 0 8px rgba(255, 48, 96, 0.4);
}

.footer-block.neon-mint-border {
    border-color: #30FFCC;
    box-shadow: 0 0 8px rgba(48, 255, 204, 0.4);
}

.footer-block .block-header {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-block p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
}

#footer-domain {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #404058;
}

#footer-domain span {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.01em;
    color: #F0F0F8;
    text-shadow: 0 0 12px rgba(255, 48, 96, 0.3), 0 0 24px rgba(48, 255, 204, 0.15);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    #masonry-grid,
    #masonry-grid-2 {
        column-count: 2;
    }

    .shape-circle { width: 60px; height: 60px; }
    .shape-triangle { width: 55px; height: 55px; }
    .shape-arrow { width: 50px; height: 50px; }
    .shape-fist { width: 60px; height: 60px; }
    .shape-diamond { width: 45px; height: 45px; }
}

@media (max-width: 600px) {
    #masonry-grid,
    #masonry-grid-2 {
        column-count: 1;
        padding: 12px;
    }

    #footer-masonry {
        grid-template-columns: 1fr;
    }

    .masonry-block {
        padding: 18px;
    }

    #aurora-movement {
        height: 240px;
    }

    .shape-circle,
    .shape-triangle,
    .shape-arrow,
    .shape-fist,
    .shape-diamond {
        display: none;
    }
}
