/* ===== Global ===== */
body {
    padding-top: 80px;
}

/* ===== Back Button ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(118, 185, 0, .1);
    border-color: rgba(118, 185, 0, .3);
    color: #76b900;
    transform: translateX(-5px);
}

/* ===== Hero Section ===== */
.news-hero {
    background: linear-gradient(135deg, rgba(118, 185, 0, .08), rgba(118, 185, 0, .02));
    border: 1px solid rgba(118, 185, 0, .15);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    overflow: hidden;
    word-wrap: break-word;
}

.news-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #fff;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(118, 185, 0, .2);
    border: 1px solid rgba(118, 185, 0, .4);
    border-radius: 50px;
    color: #eaffd6;
    font-weight: 700;
    font-size: 0.9rem;
    gap: 6px;
}

.news-date {
    color: rgba(233, 238, 242, .7);
    font-size: 0.95rem;
}

/* ===== Content Card ===== */
.content-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .4);
    overflow: hidden;
    word-wrap: break-word;
}

/* ===== Image Section ===== */
.main-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* ===== Gallery Thumbnails ===== */
.image-gallery {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.gallery-thumb {
    width: 100px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, .1);
    transition: all 0.3s ease;
    background: #000;
}

.gallery-thumb:hover {
    border-color: #76b900;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Content Text ===== */
.news-content {
    color: rgba(233, 238, 242, .9);
    line-height: 1.9;
    font-size: 1.05rem;
    padding: 20px 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* ===== Action Buttons ===== */
.action-section {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.btn-nvidia {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #76b900, #8fd900);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 185, 0, .3);
}

.btn-nvidia:hover {
    background: linear-gradient(135deg, #8fd900, #76b900);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(118, 185, 0, .5);
    color: #000;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .news-hero {
        padding: 20px;
        margin-top: 15px;
    }

    .content-card {
        padding: 18px;
    }

    .gallery-thumb {
        width: 80px;
        height: 55px;
    }

    .btn-nvidia {
        padding: 12px 24px;
        font-size: 1rem;
    }
}