/* politics.day — Evolved-Minimal Neon Grid */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.8;
    color: #5A4830;
    background-color: #FFF8F0;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
    font-family: 'Zilla Slab', serif;
    color: #2A1810;
}

h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: 0.04em;
}

h2 {
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.02em;
}

h3 {
    font-weight: 700;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    line-height: 1.35;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF8F0;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s ease-out 0.3s forwards;
}

.site-title {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #D08040;
    box-shadow: 0 0 12px rgba(220, 120, 40, 0.5);
    opacity: 0;
    animation: neonLineReveal 0.8s ease-out 1.1s forwards;
}

.site-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #D08040;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0;
    animation: taglineFade 0.6s ease-out 1.6s forwards;
}

/* Hero geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.geo-hero-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation: geoFloat 8s ease-in-out infinite;
}

.geo-hero-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 12%;
    animation: geoFloat 10s ease-in-out 2s infinite;
}

.geo-hero-3 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    left: 20%;
    animation: geoFloat 12s ease-in-out 4s infinite;
}

/* ============================================
   NEON GLOW LINES
   ============================================ */
.neon-line {
    width: 100%;
    height: 2px;
    background: #D08040;
    box-shadow: 0 0 8px rgba(220, 120, 40, 0.4), 0 0 16px rgba(220, 120, 40, 0.2);
    position: relative;
    opacity: 0;
    animation: neonPulse 3s ease-in-out infinite;
}

.neon-line.visible {
    opacity: 1;
}

/* ============================================
   CARD SECTIONS
   ============================================ */
.card-section {
    position: relative;
    padding: 60px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 32px;
    padding-left: 4px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 3px;
    background: #D08040;
    box-shadow: 0 0 6px rgba(220, 120, 40, 0.3);
}

/* ============================================
   CARD GRID
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    background: #FEFCF6;
    border: 1px solid #E8E0D0;
    border-radius: 8px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    transform: translateY(16px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(42, 24, 16, 0.08);
}

.card-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    color: #D08040;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: block;
    margin-bottom: 12px;
}

.card-title {
    margin-bottom: 12px;
}

.card-body {
    font-weight: 300;
    color: #5A4830;
    line-height: 1.75;
}

/* Glitch effect on cards */
.card.glitch {
    animation: glitchFlicker 0.1s ease-in-out;
}

@keyframes glitchFlicker {
    0% { filter: none; }
    50% { filter: hue-rotate(90deg); }
    100% { filter: none; }
}

/* ============================================
   GEOMETRIC INTERSECTION DECORATIONS
   ============================================ */
.geo-intersection-1 {
    width: 30px;
    height: 30px;
    top: 140px;
    right: 60px;
}

.geo-intersection-2 {
    width: 24px;
    height: 24px;
    bottom: 100px;
    left: 40px;
}

.geo-intersection-3 {
    width: 28px;
    height: 28px;
    top: 120px;
    left: 30px;
}

.geo-intersection-4 {
    width: 22px;
    height: 22px;
    top: 50%;
    right: 20px;
}

.geo-intersection-5 {
    width: 26px;
    height: 26px;
    bottom: 80px;
    right: 50px;
}

.geo-intersection-6 {
    width: 24px;
    height: 24px;
    top: 100px;
    right: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    padding: 40px 24px;
    text-align: center;
    background: #FFF8F0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-brand {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2A1810;
    letter-spacing: 0.04em;
}

.footer-note {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    color: #D08040;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

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

@keyframes neonLineReveal {
    to {
        opacity: 1;
    }
}

@keyframes taglineFade {
    to {
        opacity: 1;
    }
}

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

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 8px rgba(220, 120, 40, 0.4), 0 0 16px rgba(220, 120, 40, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(220, 120, 40, 0.6), 0 0 24px rgba(220, 120, 40, 0.3);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-section {
        padding: 40px 20px 60px;
    }
}

@media (max-width: 560px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-section {
        padding: 32px 16px 48px;
    }

    .geo-hero-1,
    .geo-hero-2,
    .geo-hero-3 {
        display: none;
    }
}
