/* judge.bar - Forest-Green Neon-Glow Minimalism */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.72;
    color: #b8d4c3;
    background: linear-gradient(135deg, #0b2618 0%, #0f3325 50%, #0b2618 100%);
    overflow-x: hidden;
}

/* ===== HERO - ACT I ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0b2618;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #39db7f;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(6rem, 12vw, 14rem);
    letter-spacing: -0.02em;
    color: #e8f5ec;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTitleIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.hero-tagline {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    color: #b8d4c3;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTaglineIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s forwards;
}

.scroll-chevron {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: chevronPulse 2.5s ease-in-out infinite;
    cursor: pointer;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: #39db7f;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.bg-circle-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
}

.bg-circle-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
}

/* ===== CARD GRID ===== */
.evidence,
.additional-verdicts {
    background: #0b2618;
    padding: 80px 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(340px, 480px));
    gap: 48px;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}

.card-grid-small {
    /* Same grid but for 4 cards section */
}

/* ===== VERDICT CARDS ===== */
.verdict-card {
    background: #0f3325;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 2px 24px rgba(11, 38, 24, 0.12),
                0 0 16px rgba(57, 219, 127, 0.15),
                0 0 48px rgba(57, 219, 127, 0.05);
    border-bottom: 2px solid rgba(57, 219, 127, 0.35);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 300ms ease;
    cursor: default;
}

.verdict-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.verdict-card:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 24px rgba(11, 38, 24, 0.12),
                0 0 24px rgba(57, 219, 127, 0.25),
                0 0 64px rgba(57, 219, 127, 0.1);
}

.card-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #39db7f;
    display: block;
    margin-bottom: 12px;
    transition: color 200ms ease;
}

.verdict-card:hover .card-label {
    color: #e8a849;
}

.card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    letter-spacing: -0.02em;
    color: #e8f5ec;
    margin-bottom: 16px;
    line-height: 1.2;
}

.card-body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.72;
    color: #b8d4c3;
    margin-bottom: 24px;
}

.verdict-line {
    height: 2px;
    background: #39db7f;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(57, 219, 127, 0.4),
                0 0 24px rgba(57, 219, 127, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms ease-out;
}

.verdict-card.visible .verdict-line {
    transform: scaleX(1);
}

/* Hover particle burst container */
.verdict-card .hover-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #39db7f;
    pointer-events: none;
    opacity: 0;
}

/* ===== DELIBERATION - ACT III ===== */
.deliberation {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #081e12;
    overflow: hidden;
}

.interlude-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.interlude-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #39db7f;
    pointer-events: none;
}

.deliberation-quote {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 32px;
}

.quote-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #e8f5ec;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
}

.quote-text.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RECESS - ACT IV ===== */
.recess {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #081e12;
    overflow: hidden;
}

.recess-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.recess-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.recess-domain {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #39db7f;
    text-shadow: 0 0 20px rgba(57, 219, 127, 0.4),
                 0 0 60px rgba(57, 219, 127, 0.15);
}

.site-footer {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.footer-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #b8d4c3;
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b8d4c3;
    opacity: 0.5;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes heroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTaglineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes chevronPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes particleDriftUp {
    0% {
        transform: translate(0, 0);
        opacity: var(--particle-start-opacity, 0.3);
    }
    50% {
        opacity: var(--particle-peak-opacity, 0.8);
    }
    100% {
        transform: translate(var(--drift-x, 20px), var(--drift-y, -120px));
        opacity: var(--particle-start-opacity, 0.3);
    }
}

@keyframes particleDriftHorizontal {
    0% {
        transform: translateX(-20px);
        opacity: 0.1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(calc(100vw + 20px));
        opacity: 0.1;
    }
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--burst-x, 0px), var(--burst-y, -60px));
        opacity: 0;
    }
}

@keyframes particlePulse {
    0%, 100% { opacity: var(--particle-start-opacity, 0.2); }
    50% { opacity: var(--particle-peak-opacity, 0.8); }
}

@keyframes verdictLineDraw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}


/* Dissent verdict state */
.verdict-card.dissent {
    border-bottom-color: rgba(212, 114, 106, 0.45);
}

.verdict-card.dissent .card-label {
    color: #d4726a;
}

.verdict-card.dissent .verdict-line {
    background: #d4726a;
    box-shadow: 0 0 8px rgba(212, 114, 106, 0.4),
                0 0 24px rgba(212, 114, 106, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 959px) {
    .card-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 36px;
    }
}

@media (max-width: 599px) {
    .card-grid {
        max-width: 100%;
        gap: 24px;
    }

    .evidence,
    .additional-verdicts {
        padding: 60px 20px;
    }

    .verdict-card {
        padding: 28px 24px;
    }

    .verdict-card:hover {
        transform: none;
    }

    .hero-title {
        font-size: clamp(3.5rem, 14vw, 6rem);
    }
}
