:root {
    --primary-color: #44B486;
    --primary-dark: #2E8B57;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-dark: rgba(30, 30, 30, 0.8);
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* === News Hero === */
.news-hero {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(68, 180, 134, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(68, 180, 134, 0.02) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.news-hero .container {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInFromLeft 1s ease-out 0.3s forwards;
    text-align: left;
    width: 100%;
    padding-left: 8%;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #292929);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    width: fit-content;
    margin-left: 0;
}

.news-hero p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #ffffff; /* PERUBAHAN: Teks putih solid */
    max-width: 600px;
    margin: 0 0 0 0;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-80px);
    animation: slideInFromLeft 0.8s ease-out 0.6s forwards;
    text-align: left;
    width: fit-content;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: var(--bg-glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: var(--spacing-md);
    opacity: 0;
    transform: translateX(-80px);
    animation: slideInFromLeft 0.8s ease-out 0.8s forwards;
    position: relative;
    overflow: hidden;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(68, 180, 134, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-more:hover::before {
    left: 100%;
}

.btn-more:hover {
    background: rgba(68, 180, 134, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(68, 180, 134, 0.3);
}

/* === Featured News Section === */
.featured-section {
    background: var(--bg-darker);
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(68, 180, 134, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(68, 180, 134, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #44B486, #2E8B57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.featured-card {
    background: var(--bg-glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.featured-card:hover::before {
    left: 100%;
}

.featured-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(68, 180, 134, 0.25);
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    padding: var(--spacing-lg);
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: 'Poppins', sans-serif;
}

.featured-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.featured-card:hover .featured-title {
    color: var(--primary-color);
}

.featured-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* === Categories Filter === */
.categories-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(68, 180, 134, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(68, 180, 134, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.categories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.category-btn {
    background: var(--bg-glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 10px 24px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    background: rgba(68, 180, 134, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(68, 180, 134, 0.3);
}

/* === Latest News Section === */
.latest-section {
    background: var(--bg-darker);
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.latest-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(68, 180, 134, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(68, 180, 134, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.news-card {
    background: var(--bg-glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.news-card:hover::before {
    left: 100%;
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(68, 180, 134, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-category {
    display: inline-block;
    background: rgba(68, 180, 134, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(68, 180, 134, 0.3);
}

.news-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--primary-color);
}

.news-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.pagination nav {
    display: inline-flex;
    gap: var(--spacing-xs);
}

.pagination .page-link {
    background: var(--bg-glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 10px 18px;
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pagination .page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.pagination .page-link:hover::before {
    left: 100%;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 180, 134, 0.3);
}

/* === Base Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 60vh;
        padding: 0 var(--spacing-sm);
    }

    .news-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: var(--spacing-sm);
    }

    .news-hero p {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .featured-section,
    .latest-section {
        padding: var(--spacing-xl) 0;
    }

    .featured-grid,
    .news-grid {
        gap: var(--spacing-md);
    }

    .featured-card,
    .news-card {
        transform: translateY(30px);
    }

    .featured-image {
        height: 250px;
    }

    .news-image {
        height: 180px;
    }

    .featured-content,
    .news-content {
        padding: var(--spacing-md);
    }

    .categories-filter {
        justify-content: flex-start;
        gap: var(--spacing-xs);
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .news-hero {
        height: 50vh;
    }

    .news-hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .featured-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: var(--spacing-lg);
    }

    .featured-image {
        height: 200px;
    }

    .news-image {
        height: 160px;
    }

    .featured-content,
    .news-content {
        padding: var(--spacing-sm);
    }

    .pagination .page-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}