/* =========================================
   V9 REDEMPTION: PREMIUM CYBERPUNK BLOG
   Based on ai-agents.css (Pro Systems)
   ========================================= */

/* Scope Reset */
.article-content-v9 {
    width: 100%;
    max-width: 100%;
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #0a0a14 100%);
    /* Deep Space */
    color: #e4e4e7;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.article-content-v9 * {
    box-sizing: border-box;
}

/* --- Typography --- */
h2.v9-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(90deg, #00D4FF 0%, #A78BFA 50%, #FF006E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.v9-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #b0b0c0;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* --- Hero Video --- */
.v9-hero-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.v9-hero-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

/* --- Timeline / Cards Grid --- */
.v9-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.v9-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Accordion States */
.v9-card.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.v9-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    /* Neon Hover */
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Header: Badge + Title */
/* Toggle Icon */
.v9-accordion-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    color: #fff;
}

.v9-card.active .v9-accordion-icon {
    transform: rotate(180deg);
    background: var(--ia-cyan, #00D4FF);
    color: #000;
}

.v9-card-header {
    cursor: pointer;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

/* Content Body - Accordion Logic */
.v9-card-body {
    display: none;
    /* Hidden by default */
    padding: 0 30px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    animation: slideDown 0.3s ease-out;
}

.v9-card.active .v9-card-body {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.v9-summary-text {
    color: #a1a1aa;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 2px solid rgba(167, 139, 250, 0.3);
    /* Purple accent */
}

/* Video Embed inside Card - CRITICAL REQUEST */
.v9-card-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v9-card-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Tweaks */
@media (max-width: 600px) {
    .article-content-v9 {
        padding: 20px;
    }

    .v9-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .v9-timestamp-badge {
        width: fit-content;
    }

    h2.v9-main-title {
        font-size: 1.8rem;
    }
}