/* ===================================================
   DON'T SAY GAME STUDIO - News Page Stylesheet
   CA-236
   =================================================== */

/* --- NEWS HERO BANNER --- */
.news-hero {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        rgba(9, 12, 20, 1) 0%,
        rgba(18, 24, 39, 1) 25%,
        rgba(255, 138, 42, 0.04) 50%,
        rgba(18, 24, 39, 1) 75%,
        rgba(9, 12, 20, 1) 100%
    );
}

.news-hero-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 138, 42, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.news-hero-bg::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(156, 77, 255, 0.04) 0%, transparent 70%);
    transform: translate(50%, -50%);
    border-radius: 50%;
}

.news-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(9, 12, 20, 0.3) 0%,
        rgba(9, 12, 20, 0.6) 60%,
        rgba(9, 12, 20, 1) 100%
    );
}

.news-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 0 24px;
}

.news-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(255, 138, 42, 0.2);
}

.news-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--orange);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-hero-description {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* --- LATEST HEADLINES --- */
.news-headlines {
    padding: 80px 48px;
}

.headlines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 138, 42, 0.12);
}

.news-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.news-card-badge.orange {
    background: var(--orange);
}

.news-card-badge.purple {
    background: var(--purple);
}

.news-card-artwork {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: var(--bg-card);
}

.news-card-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-artwork img {
    transform: scale(1.03);
}

.studio-update-artwork {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(18, 24, 39, 1), rgba(255, 138, 42, 0.06));
}

.studio-logo-artwork {
    width: 120px !important;
    height: auto !important;
    object-fit: contain !important;
}

.news-card-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-body h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-body p {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-card-body .btn-secondary {
    margin-top: auto;
    align-self: flex-start;
}

/* --- HORIZONTAL TIMELINE --- */
.news-timeline {
    padding: 80px 48px;
}

.h-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 0;
}

.h-timeline-track {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--orange) 10%,
        var(--orange) 90%,
        transparent
    );
    transform: translateY(-50%);
    border-radius: 2px;
}

.h-timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.h-timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.h-timeline-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(255, 138, 42, 0.4);
    transition: box-shadow 0.3s;
}

.h-timeline-item.completed .h-timeline-node {
    background: var(--orange);
    border-color: var(--orange);
}

.h-timeline-item.active .h-timeline-node {
    box-shadow: 0 0 24px rgba(255, 138, 42, 0.7);
    border-width: 4px;
}

.h-timeline-item.upcoming .h-timeline-node {
    border-color: var(--purple);
    box-shadow: 0 0 16px rgba(156, 77, 255, 0.4);
}

.h-timeline-item.future .h-timeline-node {
    border-style: dashed;
    opacity: 0.7;
}

.h-timeline-node.pulse {
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 138, 42, 0.3); }
    50% { box-shadow: 0 0 28px rgba(255, 138, 42, 0.7); }
}

.h-check {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.h-emoji {
    font-size: 1.1rem;
}

.h-timeline-label {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.h-timeline-title {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

.h-timeline-date {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--orange);
    font-weight: 400;
}

/* --- WHAT'S NEXT --- */
.news-whats-next {
    padding: 100px 48px;
    text-align: center;
}

.whats-next-content {
    max-width: 700px;
    margin: 0 auto;
}

.whats-next-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-accent-line {
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 24px;
}

.section-accent-line.center {
    margin-left: auto;
    margin-right: auto;
}

.whats-next-text p {
    font-family: var(--font-body);
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 12px;
}

.whats-next-quote {
    margin-top: 36px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    padding: 24px 32px;
    border-left: 4px solid var(--orange);
    background: rgba(255, 138, 42, 0.04);
    border-radius: 0 var(--radius) var(--radius) 0;
    text-align: left;
    text-shadow: 0 0 30px rgba(255, 138, 42, 0.15);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .headlines-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .h-timeline-items {
        flex-direction: column;
        gap: 32px;
    }

    .h-timeline-track {
        top: 5%;
        bottom: 5%;
        left: 50%;
        right: auto;
        width: 3px;
        height: auto;
        transform: translateX(-50%);
        background: linear-gradient(
            to bottom,
            transparent,
            var(--orange) 10%,
            var(--orange) 90%,
            transparent
        );
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 380px;
    }

    .news-hero-content h1 {
        font-size: 2rem;
    }

    .whats-next-quote {
        font-size: 1.1rem;
        padding: 20px 24px;
    }
}
