/* politics.bar - Dark Neon Bar Aesthetic */
/* Palette:
   Bar dark: #0A0A18
   Neon pink: #FF3878
   Neon blue: #3878FF
   Candle amber: #F0B040
   Text warm: #E8E0D0
   Blob lavender: #6858A0
   Blob teal: #38A088
*/

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A18;
    color: #E8E0D0;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   ORGANIC BLOB THOUGHT FORMS
   ============================================ */

.blob {
    position: fixed;
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
    pointer-events: none;
    z-index: 0;
}

.blob-lavender {
    background-color: #6858A0;
    opacity: 0.12;
}

.blob-teal {
    background-color: #38A088;
    opacity: 0.1;
}

.blob-1 {
    width: 350px;
    height: 350px;
    top: 10%;
    left: -5%;
    animation: blobMorph1 15s ease-in-out infinite;
}

.blob-2 {
    width: 280px;
    height: 280px;
    top: 30%;
    right: -8%;
    animation: blobMorph2 18s ease-in-out infinite;
}

.blob-3 {
    width: 400px;
    height: 400px;
    top: 55%;
    left: 5%;
    animation: blobMorph3 20s ease-in-out infinite;
}

.blob-4 {
    width: 300px;
    height: 300px;
    top: 75%;
    right: 2%;
    animation: blobMorph1 16s ease-in-out infinite reverse;
}

.blob-5 {
    width: 250px;
    height: 250px;
    top: 90%;
    left: 15%;
    animation: blobMorph2 14s ease-in-out infinite;
}

@keyframes blobMorph1 {
    0%, 100% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
    25% { border-radius: 55% 45% 40% 60% / 40% 55% 45% 60%; }
    50% { border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%; }
    75% { border-radius: 60% 40% 45% 55% / 45% 60% 40% 55%; }
}

@keyframes blobMorph2 {
    0%, 100% { border-radius: 50% 50% 45% 55% / 45% 55% 50% 50%; }
    33% { border-radius: 42% 58% 55% 45% / 58% 42% 45% 55%; }
    66% { border-radius: 58% 42% 50% 50% / 42% 58% 55% 45%; }
}

@keyframes blobMorph3 {
    0%, 100% { border-radius: 55% 45% 50% 50% / 50% 50% 45% 55%; }
    20% { border-radius: 45% 55% 42% 58% / 55% 45% 58% 42%; }
    40% { border-radius: 50% 50% 58% 42% / 42% 58% 50% 50%; }
    60% { border-radius: 42% 58% 45% 55% / 58% 42% 42% 58%; }
    80% { border-radius: 58% 42% 55% 45% / 45% 55% 55% 45%; }
}

/* ============================================
   CANDLE ATMOSPHERIC WARM POOLS
   ============================================ */

.candle-pool {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.candle-pool.visible {
    opacity: 1;
}

.candle-pool-1 {
    width: 150px;
    height: 150px;
    top: 8%;
    left: 20%;
    background: radial-gradient(circle, rgba(240, 176, 64, 0.2) 0%, transparent 70%);
}

.candle-pool-2 {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 15%;
    background: radial-gradient(circle, rgba(240, 176, 64, 0.18) 0%, transparent 70%);
}

.candle-pool-3 {
    width: 130px;
    height: 130px;
    top: 50%;
    left: 10%;
    background: radial-gradient(circle, rgba(240, 176, 64, 0.15) 0%, transparent 70%);
}

.candle-pool-4 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 20%;
    background: radial-gradient(circle, rgba(240, 176, 64, 0.22) 0%, transparent 70%);
}

.candle-pool-5 {
    width: 80px;
    height: 80px;
    top: 88%;
    left: 30%;
    background: radial-gradient(circle, rgba(240, 176, 64, 0.17) 0%, transparent 70%);
}

/* ============================================
   BAR SIGN HERO
   ============================================ */

.bar-sign {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
}

.neon-stripe {
    position: absolute;
    height: 2px;
    width: 100%;
    opacity: 0.4;
}

.neon-stripe-pink {
    top: 30%;
    background: linear-gradient(90deg, transparent, #FF3878, transparent);
    animation: stripeFlicker 8s ease-in-out infinite;
}

.neon-stripe-blue {
    bottom: 30%;
    background: linear-gradient(90deg, transparent, #3878FF, transparent);
    animation: stripeFlicker 10s ease-in-out infinite 2s;
}

@keyframes stripeFlicker {
    0%, 90%, 100% { opacity: 0.4; }
    92% { opacity: 0.15; }
    94% { opacity: 0.4; }
    96% { opacity: 0.2; }
    98% { opacity: 0.4; }
}

.bar-sign-content {
    text-align: center;
    z-index: 2;
}

.bar-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 56px);
    color: #E8E0D0;
    text-shadow:
        0 0 10px #FF3878,
        0 0 20px #FF3878,
        0 0 40px rgba(255, 56, 120, 0.4);
    opacity: 0;
    animation: neonIlluminate 0.6s ease forwards 0.3s;
    letter-spacing: 0.02em;
}

.bar-subtitle {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 13px;
    font-style: italic;
    color: #E8E0D0;
    opacity: 0;
    margin-top: 16px;
    animation: fadeIn 1s ease forwards 1s;
}

@keyframes neonIlluminate {
    0% {
        opacity: 0;
        text-shadow: 0 0 0 #FF3878;
    }
    60% {
        opacity: 1;
        text-shadow:
            0 0 10px #FF3878,
            0 0 20px #FF3878,
            0 0 40px rgba(255, 56, 120, 0.4);
    }
    70% {
        opacity: 0.7;
        text-shadow:
            0 0 5px #FF3878;
    }
    80% {
        opacity: 1;
        text-shadow:
            0 0 10px #FF3878,
            0 0 20px #FF3878,
            0 0 40px rgba(255, 56, 120, 0.4);
    }
    100% {
        opacity: 1;
        text-shadow:
            0 0 10px #FF3878,
            0 0 20px #FF3878,
            0 0 40px rgba(255, 56, 120, 0.4);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* Flame Elements */
.flame-container {
    position: absolute;
    bottom: 15%;
    display: flex;
    gap: 120px;
    z-index: 1;
}

.flame {
    width: 30px;
    height: 45px;
    opacity: 0;
    animation: flameAppear 1.5s ease forwards, flameFlicker 3s ease-in-out infinite;
}

.flame-1 { animation-delay: 0.5s, 1.5s; }
.flame-2 { animation-delay: 0.7s, 1.7s; }
.flame-3 { animation-delay: 0.9s, 1.9s; }

@keyframes flameAppear {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes flameFlicker {
    0%, 100% { transform: scaleY(1) scaleX(1); }
    25% { transform: scaleY(1.08) scaleX(0.95); }
    50% { transform: scaleY(0.94) scaleX(1.04); }
    75% { transform: scaleY(1.05) scaleX(0.97); }
}

/* ============================================
   DISCOURSE STREAM
   ============================================ */

.discourse {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}

.discourse-column {
    max-width: 640px;
    margin: 0 auto;
}

/* Round Markers */
.round-marker {
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
    font-size: clamp(24px, 2.5vw, 40px);
    color: #F0B040;
    text-shadow: 0 0 8px rgba(240, 176, 64, 0.4);
    margin-bottom: 32px;
    text-align: center;
}

/* Discourse Blocks */
.discourse-block {
    margin-bottom: 48px;
    padding: 32px;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Anti-design intentional imperfections */
.discourse-block:nth-child(3n+1) {
    transform: rotate(-0.4deg);
}

.discourse-block:nth-child(3n+2) {
    transform: rotate(0.3deg);
}

.discourse-block:nth-child(3n) {
    transform: rotate(-0.6deg);
    margin-left: 8px;
}

/* Hover: correct anti-design misalignment */
.discourse-block:hover {
    transform: rotate(0deg);
}

/* Alternating neon hover borders */
.discourse-block:nth-child(odd):hover {
    border-left-color: #FF3878;
    box-shadow: -4px 0 15px rgba(255, 56, 120, 0.2);
}

.discourse-block:nth-child(even):hover {
    border-left-color: #3878FF;
    box-shadow: -4px 0 15px rgba(56, 120, 255, 0.2);
}

/* Entrance states (hidden until animated) */
.discourse-block-fade {
    opacity: 0;
    transition: opacity 0.8s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.discourse-block-fade.visible {
    opacity: 1;
}

.discourse-block-slide {
    opacity: 0;
    transform: translateX(-30px) rotate(-0.4deg);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.discourse-block-slide.visible {
    opacity: 1;
    transform: translateX(0) rotate(-0.4deg);
}

.discourse-block-slide:hover {
    transform: translateX(0) rotate(0deg);
}

.discourse-block-snap {
    opacity: 0;
}

.discourse-block-snap.visible {
    opacity: 1;
    animation: snapIn 0.15s ease;
}

@keyframes snapIn {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* Breathing animation for visible blocks */
.discourse-block.visible {
    animation: breathe 6s ease-in-out infinite;
}

.discourse-block-snap.visible {
    animation: snapIn 0.15s ease, breathe 6s ease-in-out infinite 0.15s;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.005); }
}

/* Discourse Headings */
.discourse-heading {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 28px);
    color: #E8E0D0;
    margin-bottom: 16px;
    text-shadow: 0 0 6px rgba(255, 56, 120, 0.15);
}

/* Asides */
.aside {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 13px;
    font-style: italic;
    color: #E8E0D0;
    opacity: 0.6;
    margin-top: 16px;
    padding-left: 16px;
    border-left: 1px solid #6858A0;
}

/* ============================================
   CANDLE-LIT INTERLUDES
   ============================================ */

.candle-interlude {
    margin: 64px 0;
    text-align: center;
    position: relative;
    padding: 48px 0;
}

.interlude-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 176, 64, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.interlude-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 13px;
    font-style: italic;
    color: #F0B040;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

/* ============================================
   LAST CALL FOOTER
   ============================================ */

.last-call {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.last-call-content {
    position: relative;
    z-index: 2;
}

.last-call-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
    font-size: clamp(24px, 2.5vw, 40px);
    color: #F0B040;
    text-shadow: 0 0 8px rgba(240, 176, 64, 0.3);
    margin-bottom: 16px;
    text-transform: lowercase;
}

.last-call-domain {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 32px);
    color: #E8E0D0;
    text-shadow: 0 0 8px rgba(56, 120, 255, 0.3);
    margin-bottom: 24px;
}

.last-call-aside {
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 13px;
    font-style: italic;
    color: #E8E0D0;
    opacity: 0.4;
}

.blob-footer-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 10%;
    opacity: 0.08;
    animation: blobMorph1 12s ease-in-out infinite;
}

.blob-footer-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: 5%;
    right: 15%;
    opacity: 0.06;
    animation: blobMorph2 14s ease-in-out infinite;
}

/* ============================================
   NEON FLICKER UTILITY
   ============================================ */

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.neon-flicker {
    animation: neonFlicker 0.1s ease;
}

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

@media (max-width: 700px) {
    .discourse-column {
        max-width: 100%;
        padding: 0 8px;
    }

    .discourse-block {
        padding: 24px 16px;
    }

    .flame-container {
        gap: 60px;
    }

    .blob {
        display: none;
    }
}
