:root {
    --etalase-primary: #5b5ce2;
    --etalase-primary-dark: #3f3fb8;
    --etalase-secondary: #7c3aed;
    --etalase-accent: #f59e0b;
    --etalase-ink: #172033;
    --etalase-muted: #6b7280;
    --etalase-border: #e8eaf2;
    --etalase-surface: #ffffff;
    --etalase-bg: #f6f7fb;
    --etalase-radius: 20px;
    --etalase-shadow: 0 16px 45px rgba(31, 41, 55, 0.08);
}

body {
    background: var(--etalase-bg);
    color: var(--etalase-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

/* Navbar */
.etalase-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(232, 234, 242, 0.9);
    box-shadow: 0 8px 28px rgba(31, 41, 55, 0.06);
    backdrop-filter: blur(14px);
}

.etalase-logo {
    width: auto;
    max-width: 128px;
    object-fit: contain;
}

.etalase-navbar .nav-link {
    position: relative;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 650;
    border-radius: 12px;
    padding: 0.68rem 0.82rem !important;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.etalase-navbar .nav-link:hover,
.etalase-navbar .nav-link.active {
    color: var(--etalase-primary);
    background: #f0f1ff;
}

.event-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    color: #4f46e5 !important;
    background: #f2f1ff;
}

.event-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--etalase-accent);
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.15);
}

.etalase-dropdown {
    min-width: 220px;
    padding: 0.55rem;
    border: 1px solid var(--etalase-border);
    border-radius: 16px;
    box-shadow: var(--etalase-shadow);
}

.etalase-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
    color: #374151;
    font-weight: 550;
}

.etalase-dropdown .dropdown-item:hover {
    color: var(--etalase-primary);
    background: #f3f4ff;
}

.download-app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--etalase-border);
    border-radius: 12px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-app-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.1);
}

/* Common */
.etalase-ad-slot {
    overflow: hidden;
    border-radius: 16px;
}

.etalase-ad-slot img,
.etalase-ad-slot iframe {
    max-width: 100%;
}

.home-search-shell > * {
    border-radius: 16px !important;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    border-radius: 26px;
    background: #111827;
    box-shadow: 0 24px 55px rgba(43, 48, 110, 0.18);
}

.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
    min-height: 410px;
}

.event-hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 18%, rgba(251, 191, 36, 0.36), transparent 24%),
        linear-gradient(125deg, #27265f 0%, #4f46e5 48%, #7c3aed 100%);
}

.event-hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(18, 17, 53, 0.94) 0%, rgba(42, 36, 126, 0.77) 54%, rgba(80, 47, 160, 0.28) 100%),
        var(--event-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.event-hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to right, #000, transparent);
}

.event-hero-content {
    width: min(720px, 76%);
    padding: 3rem 3.25rem;
    color: #fff;
}

.event-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: max-content;
    margin-bottom: 1rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.event-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 5px rgba(251, 191, 36, 0.18);
}

.event-hero-content h1 {
    max-width: 650px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.event-hero-content p {
    max-width: 610px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

.event-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.event-primary-button,
.event-secondary-button {
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 750;
}

.event-primary-button {
    color: #312e81;
    border-color: #fff;
    background: #fff;
}

.event-primary-button:hover {
    color: #312e81;
    background: #f9fafb;
    transform: translateY(-1px);
}

.event-secondary-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.event-secondary-button:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.18);
}

.event-quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.event-quick-facts span {
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.25);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.76rem;
    font-weight: 650;
}

.standard-hero-slide {
    position: relative;
    overflow: hidden;
}

.standard-hero-image {
    width: 100%;
    min-height: 410px;
    object-fit: cover;
}

.standard-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.04) 65%);
}

.standard-hero-caption {
    position: absolute;
    right: 2rem;
    bottom: 2.25rem;
    left: 2rem;
    color: #fff;
}

.standard-hero-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #ddd6fe;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.standard-hero-caption h2 {
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
}

.home-hero .swiper-button-next,
.home-hero .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.home-hero .swiper-button-next::after,
.home-hero .swiper-button-prev::after {
    color: #312e81;
    font-size: 0.95rem;
    font-weight: 900;
}

.home-hero .swiper-pagination-main {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 18px;
    left: 0;
    text-align: center;
}

.home-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.75);
    opacity: 0.7;
}

.home-hero .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: #fff;
    opacity: 1;
}

/* Activity summary */
.activity-summary-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid #dddffd;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f7f7ff);
    box-shadow: 0 12px 34px rgba(79, 70, 229, 0.08);
}

.activity-summary-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #5b5ce2, #7c3aed);
    color: #fff;
    font-size: 1.15rem;
}

.activity-summary-eyebrow,
.home-section-eyebrow {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--etalase-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-summary-copy h2 {
    margin: 0 0 0.25rem;
    color: var(--etalase-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.activity-summary-copy p {
    margin: 0;
    color: var(--etalase-muted);
    font-size: 0.88rem;
}

.activity-summary-link,
.home-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--etalase-primary);
    font-size: 0.85rem;
    font-weight: 750;
    white-space: nowrap;
}

.activity-summary-link:hover,
.home-more-link:hover {
    color: var(--etalase-secondary);
}

/* Home cards */
.home-content-card {
    padding: 1.2rem;
    border: 1px solid var(--etalase-border);
    border-radius: var(--etalase-radius);
    background: var(--etalase-surface);
    box-shadow: 0 12px 38px rgba(31, 41, 55, 0.055);
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-section-header .section-title,
.home-section-header .h2-title {
    color: var(--etalase-ink);
    font-size: 1.28rem;
    font-weight: 820;
    letter-spacing: -0.025em;
}

.app-item-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    padding: 0.7rem;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #fafaff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-item-card:hover {
    transform: translateY(-3px);
    border-color: #dddffd;
    box-shadow: 0 12px 28px rgba(49, 46, 129, 0.09);
}

.app-item-image {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 7px 18px rgba(31, 41, 55, 0.12);
}

.app-item-content {
    min-width: 0;
}

.app-item-content span {
    display: block;
}

.app-item-content .title,
.featured-app-card .title {
    overflow: hidden;
    color: var(--etalase-ink);
    font-size: 0.9rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-item-content .developer {
    overflow: hidden;
    margin-top: 0.22rem;
    color: var(--etalase-muted);
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-item-content .date {
    margin-top: 0.35rem;
    color: #9ca3af;
    font-size: 0.7rem;
}

.app-rating {
    margin-top: 0.32rem;
}

.featured-app-card {
    display: block;
    height: 100%;
    padding: 0.65rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.featured-app-card:hover {
    transform: translateY(-3px);
    background: #f7f7ff;
}

.featured-app-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 9px 24px rgba(31, 41, 55, 0.12);
}

.featured-app-card .title {
    margin-top: 0.65rem;
}

.topic-modern-card,
.news-modern-card {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--etalase-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(31, 41, 55, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-modern-card:hover,
.news-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.11);
}

.topic-modern-card {
    min-height: 190px;
}

.topic-modern-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.topic-modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.05) 72%);
}

.topic-modern-title {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 780;
    line-height: 1.35;
}

.news-modern-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-modern-body {
    padding: 1rem 1.05rem 1.1rem;
}

.news-modern-label {
    color: var(--etalase-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-modern-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.85em;
    margin: 0.4rem 0 0.7rem;
    color: var(--etalase-ink);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-modern-read {
    color: var(--etalase-primary);
    font-size: 0.8rem;
    font-weight: 720;
}

.home-sidebar-stack > * {
    overflow: hidden;
    margin-bottom: 1rem !important;
    border: 1px solid var(--etalase-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.055) !important;
}

/* T&C */
.tnc-page {
    min-height: 70vh;
}

.tnc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--etalase-muted);
    font-size: 0.82rem;
}

.tnc-breadcrumb a {
    color: var(--etalase-primary);
    font-weight: 700;
}

.tnc-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    min-height: 260px;
    padding: 2.6rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 14%, rgba(251, 191, 36, 0.35), transparent 23%),
        linear-gradient(125deg, #26255c 0%, #4f46e5 52%, #7c3aed 100%);
    box-shadow: 0 24px 55px rgba(43, 48, 110, 0.18);
}

.tnc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.tnc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.tnc-hero h1 {
    margin-bottom: 0.6rem;
    color: #fff;
    font-size: clamp(2.15rem, 5vw, 4rem);
    font-weight: 870;
    letter-spacing: -0.05em;
}

.tnc-hero p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

.tnc-hero-decoration {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 2.8rem;
    transform: rotate(7deg);
    backdrop-filter: blur(10px);
}

.tnc-card,
.tnc-side-card {
    border: 1px solid var(--etalase-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--etalase-shadow);
}

.tnc-card {
    padding: 1.35rem;
}

.tnc-card-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.45rem 0.45rem 1.2rem;
    border-bottom: 1px solid var(--etalase-border);
}

.tnc-card-number {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #efefff;
    color: var(--etalase-primary);
    font-size: 1.2rem;
    font-weight: 850;
}

.tnc-card-heading h2 {
    margin: 0;
    color: var(--etalase-ink);
    font-size: 1.3rem;
    font-weight: 820;
}

.tnc-rule-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tnc-rule-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.15rem 0.45rem;
    border-bottom: 1px solid #f0f1f5;
}

.tnc-rule-list li:last-child {
    border-bottom: 0;
}

.tnc-rule-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f1f2ff;
    color: var(--etalase-primary);
    font-size: 0.82rem;
    font-weight: 850;
}

.tnc-rule-list h3 {
    margin: 0 0 0.25rem;
    color: var(--etalase-ink);
    font-size: 0.98rem;
    font-weight: 780;
}

.tnc-rule-list p {
    margin: 0;
    color: var(--etalase-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.tnc-side-card {
    position: sticky;
    top: 94px;
    padding: 1.5rem;
}

.tnc-side-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 17px;
    background: linear-gradient(135deg, #5b5ce2, #7c3aed);
    color: #fff;
    font-size: 1.15rem;
}

.tnc-side-card h2 {
    margin-bottom: 0.65rem;
    color: var(--etalase-ink);
    font-size: 1.35rem;
    font-weight: 830;
}

.tnc-side-card > p {
    color: var(--etalase-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.tnc-fact-list {
    display: grid;
    gap: 0.7rem;
    margin: 1.25rem 0;
}

.tnc-fact-list > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 14px;
    background: #f7f7ff;
}

.tnc-fact-list strong {
    color: var(--etalase-primary);
    font-size: 1.12rem;
    text-align: center;
}

.tnc-fact-list span {
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 650;
}

.tnc-cta-button {
    width: 100%;
    padding: 0.82rem 1rem;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #5b5ce2, #7c3aed);
    color: #fff;
    font-weight: 780;
    box-shadow: 0 12px 25px rgba(91, 92, 226, 0.24);
}

.tnc-cta-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.tnc-back-link {
    display: block;
    margin-top: 1rem;
    color: var(--etalase-muted);
    font-size: 0.82rem;
    font-weight: 650;
    text-align: center;
}

@media (max-width: 991.98px) {
    .etalase-navbar {
        position: relative;
    }

    .offcanvas-collapse {
        padding: 1rem;
    }

    .event-hero-content {
        width: 86%;
        padding: 2.5rem;
    }

    .tnc-side-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .home-hero,
    .home-hero .swiper-wrapper,
    .home-hero .swiper-slide {
        min-height: 470px;
    }

    .event-hero-content {
        width: 100%;
        padding: 2rem 1.25rem 3.5rem;
    }

    .event-hero-content h1 {
        font-size: 2.15rem;
    }

    .event-hero-background {
        background-image:
            linear-gradient(180deg, rgba(18, 17, 53, 0.8) 0%, rgba(42, 36, 126, 0.94) 62%, rgba(80, 47, 160, 0.98) 100%),
            var(--event-image);
        background-position: center top;
    }

    .event-quick-facts {
        gap: 0.45rem;
    }

    .activity-summary-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .activity-summary-link {
        grid-column: 1 / -1;
        justify-content: center;
        padding-top: 0.85rem;
        border-top: 1px solid var(--etalase-border);
    }

    .home-section-header {
        align-items: center;
    }

    .app-item-card {
        display: block;
        padding: 0.6rem;
    }

    .app-item-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        margin-bottom: 0.65rem;
    }

    .tnc-hero {
        min-height: 300px;
        padding: 2rem 1.35rem;
    }

    .tnc-hero-decoration {
        position: absolute;
        right: -20px;
        bottom: -24px;
        opacity: 0.25;
    }

    .tnc-card {
        padding: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .event-hero-actions {
        display: grid;
    }

    .event-primary-button,
    .event-secondary-button {
        width: 100%;
    }

    .event-quick-facts span {
        font-size: 0.7rem;
    }

    .home-content-card {
        padding: 0.85rem;
        border-radius: 17px;
    }

    .home-section-header .section-title,
    .home-section-header .h2-title {
        font-size: 1.08rem;
    }
}


/* ========================================================
   COMPACT RECOMMENDATION
   ======================================================== */
.recommendation-card {
    overflow: hidden;
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.recommendation-item {
    display: block;
    min-width: 0;
    padding: 0.55rem;
    border: 1px solid transparent;
    border-radius: 15px;
    background: #fafaff;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-item:hover {
    transform: translateY(-3px);
    border-color: #dddffd;
    box-shadow: 0 10px 24px rgba(49, 46, 129, 0.09);
}

.recommendation-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 7px 18px rgba(31, 41, 55, 0.11);
}

.recommendation-title {
    display: block;
    overflow: hidden;
    margin-top: 0.55rem;
    color: var(--etalase-ink);
    font-size: 0.78rem;
    font-weight: 730;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .recommendation-list {
        display: flex;
        overflow-x: auto;
        gap: 0.7rem;
        padding-bottom: 0.35rem;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .recommendation-item {
        flex: 0 0 112px;
        scroll-snap-align: start;
    }
}


/* ==========================================================================
   ETALASE HOME ENHANCEMENT
   Struktur utama tetap mengikuti layout sebelumnya.
   ========================================================================== */

.etalase-home-enhanced {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.etalase-home-enhanced > .container {
    position: relative;
    z-index: 2;
}

.home-ambient {
    position: absolute;
    z-index: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(18px);
    opacity: 0.28;
    animation: ambientFloat 13s ease-in-out infinite alternate;
}

.home-ambient-one {
    top: 70px;
    left: -260px;
    background: radial-gradient(circle, rgba(91, 92, 226, 0.28), transparent 67%);
}

.home-ambient-two {
    top: 660px;
    right: -280px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 68%);
    animation-delay: -5s;
}

@keyframes ambientFloat {
    from {
        transform: translate3d(0, -14px, 0) scale(0.96);
    }
    to {
        transform: translate3d(30px, 28px, 0) scale(1.08);
    }
}

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 0.62s ease var(--reveal-delay, 0ms),
        transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Search */
.home-search-shell {
    position: relative;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.home-search-shell:focus-within {
    transform: translateY(-2px);
    filter: drop-shadow(0 12px 22px rgba(62, 65, 143, 0.12));
}

/* Hero */
.home-hero {
    transform: translateZ(0);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.home-hero:hover {
    box-shadow: 0 30px 70px rgba(43, 48, 110, 0.24);
}

.event-hero-slide {
    --hero-x: 0px;
    --hero-y: 0px;
}

.event-hero-background {
    transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.045);
    transition: transform 0.18s linear;
    will-change: transform;
}

.event-hero-slide::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -120%;
    left: -34%;
    width: 34%;
    height: 340%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.16),
        transparent
    );
    transform: rotate(18deg);
    animation: heroShine 7.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShine {
    0%,
    55% {
        left: -42%;
        opacity: 0;
    }
    65% {
        opacity: 1;
    }
    88%,
    100% {
        left: 120%;
        opacity: 0;
    }
}

.event-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.event-orb-one {
    top: 46px;
    right: 80px;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    animation: orbFloatOne 6s ease-in-out infinite;
}

.event-orb-two {
    right: 210px;
    bottom: 54px;
    width: 32px;
    height: 32px;
    background: rgba(251, 191, 36, 0.76);
    box-shadow: 0 0 0 10px rgba(251, 191, 36, 0.1);
    animation: orbFloatTwo 4.8s ease-in-out infinite;
}

@keyframes orbFloatOne {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -18px, 0);
    }
}

@keyframes orbFloatTwo {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(0.92);
    }
    50% {
        transform: translate3d(14px, -12px, 0) scale(1.08);
    }
}

.event-sparkles {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.42;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 82% 26%, #fff 0 1px, transparent 2px),
        radial-gradient(circle at 76% 64%, #fff 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 92% 54%, #fbbf24 0 1.5px, transparent 3px),
        radial-gradient(circle at 69% 20%, #fff 0 1px, transparent 2px);
    animation: sparklePulse 3.4s ease-in-out infinite alternate;
}

@keyframes sparklePulse {
    from {
        opacity: 0.2;
        transform: scale(0.98);
    }
    to {
        opacity: 0.58;
        transform: scale(1.015);
    }
}

.event-kicker {
    animation: kickerPulse 3s ease-in-out infinite;
}

@keyframes kickerPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(251, 191, 36, 0.08);
    }
}

.event-primary-button,
.event-secondary-button {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.event-primary-button:hover,
.event-secondary-button:hover {
    transform: translateY(-3px);
}

.event-primary-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 92, 226, 0.13), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.event-primary-button:hover::after {
    left: 150%;
}

.button-loading-text {
    display: none;
}

.event-primary-button.is-loading .button-default-text {
    display: none;
}

.event-primary-button.is-loading .button-loading-text {
    display: inline;
}

.event-app-note {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.95rem;
    color: rgba(255, 255, 255, 0.73);
    font-size: 0.76rem;
    font-weight: 620;
}

.event-app-note-icon {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fcd34d;
    font-size: 0.68rem;
}

.standard-hero-link {
    position: relative;
    display: block;
    width: 100%;
    min-height: 410px;
}

.standard-hero-image {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.standard-hero-link:hover .standard-hero-image {
    transform: scale(1.045);
}

.standard-hero-caption {
    transition: transform 0.35s ease;
}

.standard-hero-link:hover .standard-hero-caption {
    transform: translateY(-6px);
}

.standard-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: max-content;
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
}

/* Section card */
.home-content-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(91, 92, 226, 0.12), rgba(124, 58, 237, 0.03)) border-box;
    border: 1px solid transparent;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

.home-content-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 92, 226, 0.08), transparent 68%);
    pointer-events: none;
    transition: transform 0.4s ease;
}

.home-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(35, 39, 83, 0.1);
}

.home-content-card:hover::before {
    transform: scale(1.22);
}

.home-section-header {
    position: relative;
}

.home-section-header::after {
    content: "";
    position: absolute;
    bottom: -0.72rem;
    left: 0;
    width: 46px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--etalase-primary), var(--etalase-secondary));
    opacity: 0.72;
}

.home-more-link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.home-more-link:hover span {
    transform: translateX(4px);
}

/* Interactive items */
.interactive-card {
    position: relative;
    overflow: hidden;
}

.interactive-card::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -80%;
    width: 55%;
    height: 300%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
    transform: rotate(20deg);
    opacity: 0;
    pointer-events: none;
    transition: left 0.65s ease, opacity 0.25s ease;
}

.interactive-card:hover::after {
    left: 140%;
    opacity: 0.6;
}

.app-item-card {
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.app-item-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #ffffff, #f5f5ff);
}

.app-item-image,
.recommendation-image {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.app-item-card:hover .app-item-image,
.recommendation-item:hover .recommendation-image {
    transform: scale(1.055) rotate(-1deg);
    box-shadow: 0 14px 28px rgba(31, 41, 55, 0.18);
}

.recommendation-item {
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.recommendation-item:hover {
    transform: translateY(-6px);
    background: linear-gradient(145deg, #fff, #f2f1ff);
}

.topic-modern-image,
.news-modern-image {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.topic-modern-card:hover .topic-modern-image,
.news-modern-card:hover .news-modern-image {
    transform: scale(1.055);
}

.topic-modern-title,
.news-modern-body {
    position: relative;
    z-index: 2;
}

.news-modern-read {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.news-modern-card:hover .news-modern-read {
    transform: translateX(4px);
}

/* Sidebar */
.home-sidebar-stack {
    position: sticky;
    top: 90px;
}

.home-sidebar-stack > * {
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.home-sidebar-stack > *:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 92, 226, 0.18) !important;
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.1) !important;
}

/* Ads */
.etalase-ad-slot {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.etalase-ad-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 34px rgba(31, 41, 55, 0.07);
}

@media (max-width: 991.98px) {
    .home-sidebar-stack {
        position: static;
    }

    .event-orb-one {
        right: 30px;
    }

    .event-orb-two {
        right: 125px;
    }
}

@media (max-width: 767.98px) {
    .home-ambient {
        display: none;
    }

    .event-orb-one {
        top: 34px;
        right: -18px;
        opacity: 0.45;
    }

    .event-orb-two {
        right: 38px;
        bottom: 40px;
        opacity: 0.55;
    }

    .event-app-note {
        align-items: flex-start;
    }

    .home-content-card:hover,
    .app-item-card:hover,
    .recommendation-item:hover {
        transform: none;
    }

    [data-reveal] {
        transform: translate3d(0, 14px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .event-hero-background {
        transform: none;
    }
}


/* ==========================================================================
   FINAL SLIDER SIZE & DATABASE IMAGE FIX
   ========================================================================== */

/*
 * Satu tinggi yang konsisten untuk seluruh slide.
 * Ini mencegah slide database mengikuti tinggi konten activity lalu menyisakan
 * ruang kosong/gelap di bagian bawah.
 */
.home-hero {
    --hero-height: clamp(500px, 56vw, 610px);
    width: 100%;
    height: var(--hero-height);
    min-height: 0 !important;
    overflow: hidden;
    border-radius: 26px;
    background: #171744;
}

.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
}

.home-hero .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Activity slide */
.event-hero-slide {
    display: flex;
    align-items: stretch;
    min-height: 0 !important;
}

.event-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(720px, 82%);
    height: 100%;
    padding: clamp(2rem, 4vw, 3.3rem);
}

.event-hero-content h1 {
    max-width: 680px;
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 5.1vw, 4.35rem);
    line-height: 0.99;
}

.event-hero-content p {
    max-width: 640px;
}

/* Slider dari database harus selalu memenuhi area slider */
.standard-hero-slide,
.standard-hero-link {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
}

.standard-hero-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #101321;
}

.standard-hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    transition:
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.standard-hero-slide.is-slide-active .standard-hero-image {
    transform: scale(1.045);
}

.standard-hero-link:hover .standard-hero-image {
    transform: scale(1.065);
}

/*
 * Overlay penuh, bukan hanya sebagian gambar.
 */
.standard-hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 12, 29, 0.78) 0%,
            rgba(10, 12, 29, 0.34) 52%,
            rgba(10, 12, 29, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(10, 12, 29, 0.78) 0%,
            rgba(10, 12, 29, 0.06) 62%
        );
    pointer-events: none;
}

/* Caption dibuat konsisten dengan activity slide */
.standard-hero-caption {
    position: absolute;
    z-index: 2;
    right: auto;
    bottom: clamp(3rem, 7vw, 5.2rem);
    left: clamp(2rem, 5vw, 3.4rem);
    width: min(610px, calc(100% - 5rem));
    color: #fff;
    transform: translateY(16px);
    opacity: 0;
    transition:
        opacity 0.55s ease 0.12s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.standard-hero-slide.is-slide-active .standard-hero-caption {
    transform: translateY(0);
    opacity: 1;
}

.standard-hero-caption-glass {
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(12, 14, 35, 0.24);
    box-shadow: 0 18px 46px rgba(4, 5, 18, 0.16);
    backdrop-filter: blur(8px);
}

.standard-hero-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #dcd9ff;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.standard-hero-caption h2 {
    max-width: 600px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    font-weight: 860;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.standard-hero-cta {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.84);
}

/* Tombol navigasi yang jelas */
.home-hero .swiper-button-next,
.home-hero .swiper-button-prev {
    z-index: 10;
    display: grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(5, 7, 24, 0.22);
    opacity: 0;
    transform: translateX(8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.home-hero .swiper-button-prev {
    transform: translateX(-8px);
}

.home-hero:hover .swiper-button-next,
.home-hero:hover .swiper-button-prev {
    opacity: 1;
    transform: translateX(0);
}

.home-hero .swiper-button-next::after,
.home-hero .swiper-button-prev::after {
    color: #36358f;
    font-size: 1rem;
    font-weight: 900;
}

.home-hero .swiper-button-next:hover,
.home-hero .swiper-button-prev:hover {
    background: #fff;
}

/* Pagination selalu berada di dalam slider */
.home-hero .swiper-pagination-main {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 16px !important;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 2px;
    width: 100%;
}

.home-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.72);
    opacity: 0.72;
    transition: width 0.25s ease, opacity 0.25s ease;
}

.home-hero .swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 99px;
    background: #fff;
    opacity: 1;
}

/*
 * Layar tablet: tetap besar tetapi tidak memaksa isi terlalu padat.
 */
@media (max-width: 991.98px) {
    .home-hero {
        --hero-height: clamp(490px, 70vw, 590px);
    }

    .event-hero-content {
        width: 88%;
    }

    .standard-hero-caption {
        width: min(560px, calc(100% - 4rem));
    }
}

/*
 * Mobile dibuat lebih tinggi agar semua CTA activity tetap masuk,
 * sedangkan gambar DB tetap cover penuh.
 */
@media (max-width: 767.98px) {
    .home-hero {
        --hero-height: 570px;
        border-radius: 22px;
    }

    .event-hero-content {
        justify-content: flex-end;
        width: 100%;
        padding: 2rem 1.35rem 3.8rem;
    }

    .event-hero-content h1 {
        font-size: clamp(2.15rem, 11vw, 3.35rem);
        line-height: 0.99;
    }

    .event-hero-background {
        background-image:
            linear-gradient(
                180deg,
                rgba(24, 20, 70, 0.28) 0%,
                rgba(34, 28, 103, 0.76) 45%,
                rgba(35, 27, 95, 0.98) 100%
            ),
            var(--event-image);
    }

    .standard-hero-image {
        object-position: center center;
    }

    .standard-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(8, 10, 28, 0.04) 0%,
                rgba(8, 10, 28, 0.4) 45%,
                rgba(8, 10, 28, 0.94) 100%
            );
    }

    .standard-hero-caption {
        right: 1.25rem;
        bottom: 3.8rem;
        left: 1.25rem;
        width: auto;
        padding: 1rem;
    }

    .standard-hero-caption h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

    .home-hero .swiper-button-next,
    .home-hero .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .home-hero {
        --hero-height: 600px;
    }

    .event-quick-facts {
        gap: 0.38rem;
    }

    .event-quick-facts span {
        padding: 0.38rem 0.58rem;
        font-size: 0.66rem;
    }
}

/*
 * Browser yang meminta pengurangan animasi tetap mendapat gambar penuh.
 */
@media (prefers-reduced-motion: reduce) {
    .standard-hero-image,
    .standard-hero-caption {
        transition: none !important;
    }

    .standard-hero-caption {
        transform: none;
        opacity: 1;
    }
}


/* ==========================================================================
   FINAL DATABASE SLIDER BACKGROUND FIX
   Gambar database menjadi background full-cover seluruh kotak slider.
   ========================================================================== */

.home-hero .standard-hero-slide {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #101321;
}

.home-hero .standard-hero-slide .standard-hero-link {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #101321;
}

.home-hero .standard-hero-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-image: var(--db-slider-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.015);
    transform-origin: center;
    transition:
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
    will-change: transform;
}

.home-hero .standard-hero-slide.is-slide-active .standard-hero-background {
    transform: scale(1.045);
}

.home-hero .standard-hero-link:hover .standard-hero-background {
    transform: scale(1.065);
}

/*
 * Sembunyikan aturan gambar lama apabila cache Blade/CSS masih membawa
 * elemen img dari versi sebelumnya.
 */
.home-hero .standard-hero-slide .standard-hero-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Overlay harus penuh mengikuti seluruh slider. */
.home-hero .standard-hero-slide .standard-hero-overlay {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background:
        linear-gradient(
            90deg,
            rgba(7, 9, 25, 0.72) 0%,
            rgba(7, 9, 25, 0.26) 54%,
            rgba(7, 9, 25, 0.05) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 9, 25, 0.82) 0%,
            rgba(7, 9, 25, 0.04) 62%
        ) !important;
    pointer-events: none;
}

/* Caption tetap berada di atas background dan overlay. */
.home-hero .standard-hero-caption {
    position: absolute !important;
    z-index: 2 !important;
    right: auto !important;
    bottom: clamp(3.2rem, 7vw, 5rem) !important;
    left: clamp(2rem, 5vw, 3.4rem) !important;
    display: block;
    width: min(600px, calc(100% - 5rem)) !important;
}

.home-hero .standard-hero-title {
    display: block;
    max-width: 590px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    font-weight: 860;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

/* Tidak ada background kosong pada bagian bawah slider. */
.home-hero .standard-hero-slide::after,
.home-hero .standard-hero-link::after {
    display: none !important;
}

@media (max-width: 767.98px) {
    .home-hero .standard-hero-background {
        background-position: center center;
    }

    .home-hero .standard-hero-slide .standard-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 9, 25, 0.05) 0%,
                rgba(7, 9, 25, 0.36) 48%,
                rgba(7, 9, 25, 0.94) 100%
            ) !important;
    }

    .home-hero .standard-hero-caption {
        right: 1.25rem !important;
        bottom: 3.8rem !important;
        left: 1.25rem !important;
        width: auto !important;
    }

    .home-hero .standard-hero-title {
        font-size: clamp(1.9rem, 9vw, 2.75rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero .standard-hero-background {
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   DATABASE SLIDER IMAGE - DIRECT IMG FIX
   ========================================================================== */

/*
 * Gambar langsung menggunakan URL yang dibentuk dari nilai sliders.image.
 * Aturan ini sengaja sangat spesifik agar mengalahkan CSS slider versi lama.
 */
#swiper-main.home-hero .standard-hero-slide {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #101321 !important;
}

#swiper-main.home-hero .standard-hero-slide .standard-hero-link {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #101321 !important;
}

#swiper-main.home-hero .standard-hero-db-image {
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.015);
    transform-origin: center center;
    transition:
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease;
}

#swiper-main.home-hero
.standard-hero-slide.is-slide-active
.standard-hero-db-image {
    transform: scale(1.045);
}

#swiper-main.home-hero
.standard-hero-link:hover
.standard-hero-db-image {
    transform: scale(1.065);
}

/* Background span versi sebelumnya tidak lagi digunakan. */
#swiper-main.home-hero .standard-hero-background {
    display: none !important;
}

/* Overlay wajib menutupi gambar penuh. */
#swiper-main.home-hero .standard-hero-slide .standard-hero-overlay {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background:
        linear-gradient(
            90deg,
            rgba(7, 9, 25, 0.68) 0%,
            rgba(7, 9, 25, 0.23) 55%,
            rgba(7, 9, 25, 0.05) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 9, 25, 0.78) 0%,
            rgba(7, 9, 25, 0.02) 64%
        ) !important;
    pointer-events: none !important;
}

/* Caption selalu berada di atas gambar. */
#swiper-main.home-hero .standard-hero-caption {
    position: absolute !important;
    z-index: 2 !important;
}

/*
 * Pastikan wrapper Swiper tidak menghitung tinggi berdasarkan ukuran asli
 * gambar 850 x 410.
 */
#swiper-main.home-hero,
#swiper-main.home-hero > .swiper-wrapper,
#swiper-main.home-hero > .swiper-wrapper > .swiper-slide {
    height: var(--hero-height) !important;
    min-height: var(--hero-height) !important;
}

@media (max-width: 767.98px) {
    #swiper-main.home-hero .standard-hero-db-image {
        object-position: center center !important;
    }

    #swiper-main.home-hero .standard-hero-slide .standard-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7, 9, 25, 0.04) 0%,
                rgba(7, 9, 25, 0.34) 47%,
                rgba(7, 9, 25, 0.94) 100%
            ) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #swiper-main.home-hero .standard-hero-db-image {
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   FINAL FULL-COVER DATABASE SLIDER
   ========================================================================== */

/*
 * Slide, link, dan background dikunci ke tinggi slider.
 * Selector memakai ID agar mengalahkan aturan lama.
 */
#swiper-main.home-hero {
    position: relative !important;
    overflow: hidden !important;
}

#swiper-main.home-hero > .swiper-wrapper,
#swiper-main.home-hero > .swiper-wrapper > .swiper-slide {
    height: 100% !important;
    min-height: 100% !important;
}

#swiper-main.home-hero .standard-hero-slide {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    background: #101321 !important;
}

#swiper-main.home-hero .standard-hero-db-cover {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;

    /*
     * Nilai gambar berasal langsung dari style inline Blade:
     * background-image: url('{{ $sliderImageUrl }}')
     */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: #101321 !important;

    transform: scale(1.001);
    transform-origin: center center;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

#swiper-main.home-hero
.standard-hero-slide.is-slide-active
.standard-hero-db-cover {
    transform: scale(1.025);
}

#swiper-main.home-hero
.standard-hero-db-cover:hover {
    transform: scale(1.04);
}

/*
 * Elemen img hanya menjadi fallback aksesibilitas.
 * Gambar visual berasal dari background full-cover.
 */
#swiper-main.home-hero .standard-hero-accessible-image {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Nonaktifkan seluruh gambar visual dari versi CSS lama. */
#swiper-main.home-hero .standard-hero-db-image,
#swiper-main.home-hero .standard-hero-image,
#swiper-main.home-hero .standard-hero-background {
    display: none !important;
}

/* Overlay memenuhi seluruh slide, bukan mengikuti tinggi gambar asli. */
#swiper-main.home-hero
.standard-hero-db-cover
.standard-hero-overlay {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 29, 0.66) 0%,
            rgba(8, 10, 29, 0.22) 55%,
            rgba(8, 10, 29, 0.04) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 10, 29, 0.78) 0%,
            rgba(8, 10, 29, 0.03) 64%
        ) !important;
    pointer-events: none !important;
}

/* Caption berada di atas overlay. */
#swiper-main.home-hero
.standard-hero-db-cover
.standard-hero-caption {
    position: absolute !important;
    z-index: 2 !important;
    right: auto !important;
    bottom: clamp(3.25rem, 7vw, 5rem) !important;
    left: clamp(2rem, 5vw, 3.4rem) !important;
    width: min(600px, calc(100% - 5rem)) !important;
}

/*
 * Tinggi desktop mengikuti ukuran slider activity.
 * Semua slide database otomatis mengikuti tinggi ini.
 */
@media (min-width: 768px) {
    #swiper-main.home-hero {
        height: clamp(500px, 56vw, 610px) !important;
        min-height: clamp(500px, 56vw, 610px) !important;
    }
}

@media (max-width: 767.98px) {
    #swiper-main.home-hero {
        height: 570px !important;
        min-height: 570px !important;
    }

    #swiper-main.home-hero .standard-hero-db-cover {
        background-position: center center !important;
    }

    #swiper-main.home-hero
    .standard-hero-db-cover
    .standard-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(8, 10, 29, 0.04) 0%,
                rgba(8, 10, 29, 0.34) 47%,
                rgba(8, 10, 29, 0.94) 100%
            ) !important;
    }

    #swiper-main.home-hero
    .standard-hero-db-cover
    .standard-hero-caption {
        right: 1.25rem !important;
        bottom: 3.8rem !important;
        left: 1.25rem !important;
        width: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #swiper-main.home-hero .standard-hero-db-cover {
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   FINAL PROPORTIONAL SLIDER FIX
   Desktop mengikuti rasio gambar upload SliderController: 850 x 410.
   ========================================================================== */

/*
 * Hapus tinggi 500-610 px dari aturan lama.
 * Lebar slider menentukan tinggi secara otomatis berdasarkan 850:410.
 */
@media (min-width: 768px) {
    #swiper-main.home-hero {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 850 / 410 !important;
        overflow: hidden !important;
        border-radius: 26px !important;
        background: #171744 !important;
    }

    #swiper-main.home-hero > .swiper-wrapper,
    #swiper-main.home-hero > .swiper-wrapper > .swiper-slide {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    /*
     * Slide database mengikuti seluruh border slider.
     */
    #swiper-main.home-hero .standard-hero-slide,
    #swiper-main.home-hero .standard-hero-link,
    #swiper-main.home-hero .standard-hero-db-cover {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        border-radius: inherit !important;
        overflow: hidden !important;
    }

    #swiper-main.home-hero .standard-hero-db-cover {
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    /*
     * Activity slide dipadatkan agar tetap rapi pada rasio 850:410.
     */
    #swiper-main.home-hero .event-hero-slide {
        height: 100% !important;
        min-height: 0 !important;
    }

    #swiper-main.home-hero .event-hero-content {
        justify-content: center !important;
        width: min(690px, 80%) !important;
        height: 100% !important;
        padding: clamp(1.65rem, 3vw, 2.45rem) !important;
    }

    #swiper-main.home-hero .event-hero-content h1 {
        max-width: 650px !important;
        margin-bottom: 0.7rem !important;
        font-size: clamp(2.25rem, 4.35vw, 3.55rem) !important;
        line-height: 0.99 !important;
    }

    #swiper-main.home-hero .event-hero-content p {
        max-width: 610px !important;
        margin-bottom: 1rem !important;
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    #swiper-main.home-hero .event-kicker {
        margin-bottom: 0.7rem !important;
        padding: 0.38rem 0.65rem !important;
        font-size: 0.68rem !important;
    }

    #swiper-main.home-hero .event-primary-button,
    #swiper-main.home-hero .event-secondary-button {
        min-height: 42px !important;
        padding: 0.62rem 0.92rem !important;
        font-size: 0.8rem !important;
    }

    #swiper-main.home-hero .event-app-note {
        margin-top: 0.65rem !important;
        font-size: 0.7rem !important;
    }

    #swiper-main.home-hero .event-quick-facts {
        gap: 0.45rem !important;
        margin-top: 0.75rem !important;
    }

    #swiper-main.home-hero .event-quick-facts span {
        padding: 0.35rem 0.58rem !important;
        font-size: 0.68rem !important;
    }

    /*
     * Caption slider database tetap proporsional dan tidak terlalu besar.
     */
    #swiper-main.home-hero
    .standard-hero-db-cover
    .standard-hero-caption {
        right: auto !important;
        bottom: clamp(2.4rem, 5vw, 3.4rem) !important;
        left: clamp(1.7rem, 4vw, 2.8rem) !important;
        width: min(560px, calc(100% - 4rem)) !important;
        padding: 0.9rem 1rem !important;
    }

    #swiper-main.home-hero .standard-hero-title {
        font-size: clamp(1.75rem, 3.6vw, 2.85rem) !important;
        line-height: 1.02 !important;
    }

    #swiper-main.home-hero .standard-hero-label {
        margin-bottom: 0.3rem !important;
        font-size: 0.66rem !important;
    }

    #swiper-main.home-hero .standard-hero-cta {
        margin-top: 0.55rem !important;
        font-size: 0.72rem !important;
    }
}

/*
 * Mobile tetap lebih tinggi karena activity memiliki teks dan dua tombol.
 */
@media (max-width: 767.98px) {
    #swiper-main.home-hero {
        width: 100% !important;
        height: 570px !important;
        min-height: 570px !important;
        aspect-ratio: auto !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }

    #swiper-main.home-hero > .swiper-wrapper,
    #swiper-main.home-hero > .swiper-wrapper > .swiper-slide {
        height: 100% !important;
        min-height: 100% !important;
    }

    #swiper-main.home-hero .standard-hero-db-cover {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-position: center center !important;
        background-size: cover !important;
        border-radius: inherit !important;
    }
}