@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --brand-primary: #1d4ed8;
    --brand-secondary: #8b5cf6;
    --brand-accent: #22d3ee;
    --brand-dark: #0f172a;
    --brand-muted: #a5b4fc;
    --surface-base: #f5f7ff;
    --surface-foreground: #ffffff;
    --surface-soft: #eef2ff;
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --border-light: rgba(148, 163, 184, 0.25);
    --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.12);
    --radius-lg: 20px;
    --radius-xl: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.12), transparent 42%), linear-gradient(180deg, var(--surface-base) 0%, #e4e8ff 100%);
    color: var(--text-primary);
    min-height: 100vh;
    margin: 0;
    letter-spacing: 0.01em;
    font-size: clamp(15px, 1.1vw, 16px);
    line-height: 1.6;
}

a {
    color: var(--brand-primary);
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
    color: var(--brand-secondary);
    opacity: 0.85;
}

.app-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.app-section {
    background: var(--surface-foreground);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.app-container {
    max-width: 1140px;
}

.app-navbar {
    background:
        linear-gradient(130deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.88));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.22);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.app-navbar .navbar-brand {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.app-navbar .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.28), transparent 58%), rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-right: 0.75rem;
}

.app-navbar .brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.app-navbar .brand-initials {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.app-navbar .navbar-nav .nav-link {
    color: rgba(248, 250, 252, 0.82);
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

.app-navbar .navbar-nav .nav-link.active,
.app-navbar .navbar-nav .nav-link:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.22);
}

.app-hero {
    position: relative;
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.85));
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: clamp(32px, 6vw, 56px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
    margin-bottom: 2.5rem;
}

.app-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(59, 130, 246, 0.35), transparent 58%),
        radial-gradient(circle at 82% 12%, rgba(139, 92, 246, 0.32), transparent 52%),
        radial-gradient(circle at 50% 80%, rgba(34, 211, 238, 0.25), transparent 60%);
    mix-blend-mode: lighten;
}

.app-hero__grid {
    position: relative;
    display: grid;
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
    z-index: 2;
}

.app-hero--with-media .app-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
}

.app-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-hero__title {
    color: #fff;
    font-size: clamp(28px, 5.5vw, 52px);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.app-hero__lead {
    color: rgba(226, 232, 240, 0.9);
    max-width: 540px;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
}

.app-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(130deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(59, 130, 246, 0.35);
}

.app-hero__media {
    position: relative;
}

.app-hero__media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.4);
    object-fit: cover;
}

.app-footer {
    background: linear-gradient(150deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.88));
    color: rgba(226, 232, 240, 0.85);
    padding: 2.5rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.app-footer .footer-brand {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.app-footer .footer-meta {
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.app-footer .footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.app-footer .footer-links a {
    color: rgba(226, 232, 240, 0.85);
    font-weight: 500;
    text-decoration: none;
}

.app-footer .footer-links a:hover {
    color: #fff;
}

.badge-soft {
    background: rgba(59, 130, 246, 0.12);
    color: var(--brand-primary);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
    font-size: 0.85rem;
}

.card-surface {
    background: var(--surface-foreground);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.card-surface h5 {
    font-weight: 600;
    color: var(--text-primary);
}

.card-surface p {
    color: var(--text-muted);
}

.home-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.home-section:first-of-type {
    margin-top: 0;
}
.home-section__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.home-section__title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}
.home-section__subtitle {
    color: var(--text-muted);
    margin: 0;
}
.home-featured-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.home-featured-card {
    border-radius: 22px;
    background: var(--surface-foreground);
    border: 1px solid rgba(148, 163, 184, 0.16);
    padding: 1.8rem;
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 0.9rem;
}
.home-featured-card::after {
    content: "";
    position: absolute;
    inset: auto -40% -40% auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.28), transparent 70%);
    opacity: 0.7;
}
.home-featured-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.15);
    color: var(--brand-primary);
    font-size: 1.35rem;
    font-weight: 600;
}
.home-featured-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-dark);
}
.home-featured-card p {
    margin: 0;
    color: var(--text-muted);
}
.home-latest-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.home-latest-card {
    background: var(--surface-foreground);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-latest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 52px rgba(15, 23, 42, 0.16);
}
.home-latest-card__media {
    position: relative;
    padding-top: 58%;
    background: rgba(226, 232, 240, 0.6);
    overflow: hidden;
}
.home-latest-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-latest-card__body {
    padding: 1.6rem;
    display: grid;
    gap: 0.75rem;
}
.home-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
}
.news-filter {
    background: var(--surface-foreground);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.8rem;
}
.news-filter form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.news-search {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(241, 245, 255, 0.7);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}
.news-search input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 0.95rem;
    outline: none;
}
.news-search .icon {
    color: var(--brand-primary);
    font-size: 1.1rem;
}
.news-filter .btn-filter {
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    font-weight: 600;
}
.news-grid {
    display: grid;
    gap: 1.5rem;
}
.news-card {
    background: var(--surface-foreground);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    box-shadow: 0 26px 46px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    display: grid;
    gap: 0;
}
.news-card__media {
    position: relative;
    padding-top: 50%;
    background: rgba(226, 232, 240, 0.6);
}
.news-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card__body {
    padding: 1.8rem;
    display: grid;
    gap: 0.75rem;
}
.news-card__title a {
    color: var(--brand-dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}
.news-card__title a:hover {
    color: var(--brand-primary);
}
.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.news-card__excerpt {
    margin-bottom: 0;
    color: var(--text-muted);
}
.sidebar-stack {
    display: grid;
    gap: 1.2rem;
}
.sidebar-card {
    background: var(--surface-foreground);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
    padding: 1.6rem;
}
.sidebar-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--brand-dark);
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}
.sidebar-list__item {
    transition: transform 0.2s ease;
}
.sidebar-list__item:hover {
    transform: translateX(4px);
}
.sidebar-list__item a {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.8rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.sidebar-list__item a:hover {
    opacity: 0.85;
}
.sidebar-list__item a:hover .sidebar-list__title {
    color: var(--brand-primary);
}
.sidebar-list__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(226, 232, 240, 0.6);
}
.sidebar-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-list__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.2rem;
}
.sidebar-list__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.input-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(241, 245, 255, 0.7);
    padding: 0.6rem 1.1rem;
}
.input-pill .icon {
    font-size: 1.1rem;
    color: var(--brand-primary);
}
.input-pill input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    color: var(--brand-dark);
}
.input-pill input::placeholder {
    color: rgba(100, 116, 139, 0.7);
}

@media (max-width: 992px) {
    body {
        font-size: 15px;
    }

    .app-main {
        padding-top: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .app-navbar .navbar-collapse {
        margin-top: 1rem;
        background: rgba(15, 23, 42, 0.85);
        border-radius: var(--radius-lg);
        padding: 1rem;
    }

    .app-navbar .navbar-nav .nav-link {
        display: inline-flex;
        width: 100%;
        font-size: 0.95rem;
    }

    .app-navbar .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.4rem 0.6rem;
    }

    .app-navbar .navbar-toggler:focus {
        outline: 2px solid rgba(59, 130, 246, 0.5);
        outline-offset: 2px;
    }

    .app-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .app-hero {
        padding: clamp(28px, 5vw, 40px);
    }

    .app-hero__title {
        font-size: clamp(24px, 5vw, 36px) !important;
    }

    .app-hero__lead {
        font-size: clamp(0.95rem, 1.1vw, 1.1rem) !important;
    }

    .app-hero--with-media .app-hero__grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 3vw, 32px);
    }

    .news-filter {
        padding: 1.2rem;
    }

    .news-filter form {
        justify-content: flex-start;
    }

    .news-filter .btn-filter {
        width: 100%;
    }

    .news-card__body {
        padding: 1.5rem;
    }

    .news-card__title a {
        font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    }

    .home-section__title {
        font-size: clamp(20px, 3vw, 28px) !important;
    }
}

@media (max-width: 768px) {
    .app-hero {
        padding: clamp(24px, 4vw, 36px) !important;
        border-radius: 20px;
    }

    .app-hero__title {
        font-size: clamp(22px, 5vw, 28px) !important;
        margin-bottom: 0.6rem;
    }

    .app-hero__lead {
        font-size: 0.95rem !important;
    }

    .news-card__body {
        padding: 1.3rem;
    }

    .home-featured-card,
    .home-latest-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .app-main {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .app-navbar {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .app-navbar .brand-mark {
        width: 36px;
        height: 36px;
    }

    .app-navbar .navbar-brand {
        font-size: 0.95rem;
    }

    .app-navbar .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .app-hero {
        padding: 20px 18px 28px !important;
        margin-bottom: 2rem;
    }

    .app-hero__title {
        font-size: 20px !important;
    }

    .app-hero__lead {
        font-size: 0.9rem !important;
    }

    .app-footer {
        padding: 2rem 0 1.5rem;
    }

    .app-footer .footer-links {
        gap: 0.8rem;
        font-size: 0.85rem;
        flex-direction: column;
    }

    .news-card__body {
        padding: 1.2rem;
    }

    .news-card__title a {
        font-size: 1.05rem;
    }

    .home-featured-card,
    .home-latest-card {
        padding: 1.3rem;
    }

    .home-featured-card h3 {
        font-size: 18px;
    }

    .sidebar-card {
        padding: 1.3rem;
    }
}

/* ============================================
   ANIMASI SMOOTH & ATRAKTIF
   ============================================ */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Smooth Transitions untuk Semua Elemen */
.app-navbar {
    animation: fadeInDown 0.6s ease-out;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.app-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

.app-hero {
    animation: fadeIn 0.8s ease-out;
}

.app-hero__title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.app-hero__lead {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.app-hero__cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.app-hero__media {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.app-hero__media img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.app-hero__media:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Home Section Animations */
.home-section {
    animation: fadeIn 0.6s ease-out;
}

.home-section__title {
    animation: fadeInLeft 0.6s ease-out;
}

.home-featured-card {
    animation: fadeInUp 0.6s ease-out both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-featured-card:nth-child(1) {
    animation-delay: 0.1s;
}

.home-featured-card:nth-child(2) {
    animation-delay: 0.2s;
}

.home-featured-card:nth-child(3) {
    animation-delay: 0.3s;
}

.home-featured-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 56px rgba(15, 23, 42, 0.18);
}

.home-featured-card__icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.home-featured-card:hover .home-featured-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.home-latest-card {
    animation: fadeInUp 0.6s ease-out both;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.home-latest-card:nth-child(1) {
    animation-delay: 0.1s;
}

.home-latest-card:nth-child(2) {
    animation-delay: 0.2s;
}

.home-latest-card:nth-child(3) {
    animation-delay: 0.3s;
}

.home-latest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 60px rgba(15, 23, 42, 0.2);
}

.home-latest-card__media {
    overflow: hidden;
}

.home-latest-card__media img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.home-latest-card:hover .home-latest-card__media img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* News Card Animations */
.news-card {
    animation: fadeInUp 0.5s ease-out both;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 56px rgba(15, 23, 42, 0.16);
}

.news-card__media {
    overflow: hidden;
}

.news-card__media img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card__media img {
    transform: scale(1.08);
}

.news-card__title a {
    transition: color 0.3s ease;
}

.news-card:hover .news-card__title a {
    color: var(--brand-primary);
}

/* Sidebar Animations */
.sidebar-card {
    animation: fadeInRight 0.5s ease-out;
}

.sidebar-list__item {
    animation: fadeInRight 0.4s ease-out both;
}

.sidebar-list__item:nth-child(1) { animation-delay: 0.1s; }
.sidebar-list__item:nth-child(2) { animation-delay: 0.2s; }
.sidebar-list__item:nth-child(3) { animation-delay: 0.3s; }
.sidebar-list__item:nth-child(4) { animation-delay: 0.4s; }
.sidebar-list__item:nth-child(5) { animation-delay: 0.5s; }

.sidebar-list__thumb {
    overflow: hidden;
}

.sidebar-list__thumb img {
    transition: transform 0.4s ease;
}

.sidebar-list__item:hover .sidebar-list__thumb img {
    transform: scale(1.1);
}

/* Button Animations */
.btn,
.btn-filter,
.app-hero__cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before,
.btn-filter::before,
.app-hero__cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before,
.btn-filter:hover::before,
.app-hero__cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover,
.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn:active,
.btn-filter:active {
    transform: translateY(0);
}

.app-hero__cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 48px rgba(59, 130, 246, 0.4);
}

/* Badge Animations */
.badge-soft {
    animation: scaleIn 0.4s ease-out;
    transition: transform 0.2s ease, background 0.2s ease;
}

.badge-soft:hover {
    transform: scale(1.1);
}

/* Card Surface Animations */
.card-surface {
    animation: fadeInUp 0.5s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-surface:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* News Filter Animations */
.news-filter {
    animation: fadeInDown 0.5s ease-out;
}

.news-search {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-search:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

/* Loading State */
@keyframes skeleton {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

/* Scroll Animations (akan diaktifkan dengan JavaScript) */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Reduce Motion untuk Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

