/* =====================================================
   /assets/style.css - Tema SHBET
   ===================================================== */

/* ---------- RESET & VARIABLES ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0186f3;
    --primary-dark: #0071b2;
    --secondary: #dd9933;
    --dark-red: #030180;
    --topbar-bg: #052783;
    --text: #1a1a1a;
    --text-light: #666;
    --white: #fff;
    --bg-light: #efefef;
    --border: #e0e0e0;
    --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --container: 1250px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- TOPBAR / RUNNING TEXT ---------- */
.topbar {
    background: var(--topbar-bg);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 45s linear infinite;
}

.marquee-content span {
    display: inline-block;
    padding-right: 5rem;
}

.topbar:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---------- HEADER ---------- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    gap: 20px;
}

.logo {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ---------- BUTTONS ---------- */
.btn {
    padding: 10px 26px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(141deg, #ca10ff 0%, #080769 60%, #00eaff);
    color: #fff;
    border: 2px solid #fffe00;
    animation: tada 1.5s infinite;
}

.btn-login {
    background: #faca46;
    color: #000;
    animation: pulse 1.4s ease-out infinite;
}

@keyframes tada {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    20% {
        transform: scale(0.95) rotate(-3deg);
    }

    30%,
    50%,
    70% {
        transform: scale(1.1) rotate(1deg);
    }

    40%,
    60%,
    80% {
        transform: scale(1.1) rotate(-2deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

/* ---------- NAVBAR (DENGAN BORDER) ---------- */
.main-nav {
    background: var(--primary);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.nav-list a {
    display: block;
    padding: 10px 18px;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ---------- HAMBURGER (MOBILE) ---------- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary);
    cursor: pointer;
}

/* ---------- DRAWER MOBILE ---------- */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}

.mobile-drawer.open {
    pointer-events: auto;
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.drawer-logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.drawer-menu {
    list-style: none;
    padding: 10px 0;
    flex: 1;
}

.drawer-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.drawer-menu a:hover,
.drawer-menu a.active {
    background: var(--primary);
    color: var(--white);
}

.drawer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.drawer-buttons .btn {
    text-align: center;
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: #fff;
}

.slide h2 {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.slide p {
    font-size: 1.1rem;
}

.slide-1 {
    background: linear-gradient(135deg, #f30101 0%, #ff6b35 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.slider-dots button.active {
    background: #fff;
}

/* ---------- KATEGORI GAME ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 30px 0;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 10px;
    text-align: center;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.category-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ---------- CTA BUTTONS ---------- */
.cta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 10px 0 30px;
}

.btn-cta {
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    text-align: center;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ---------- ARTIKEL / KONTEN ---------- */
.article-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.article-section h1,
.article-section h2,
.article-section h3 {
    color: var(--primary);
    margin: 24px 0 12px;
    line-height: 1.3;
}

.article-section h1 {
    font-size: 1.9rem;
    text-align: center;
}

.article-section h2 {
    font-size: 1.5rem;
}

.article-section h3 {
    font-size: 1.2rem;
}

.article-section p {
    margin-bottom: 14px;
    text-align: justify;
}

.article-section ul,
.article-section ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.article-section li {
    margin-bottom: 6px;
}

.article-section img {
    border-radius: var(--radius);
    margin: 12px auto;
}

/* Judul bergradasi */
.title-gradient {
    background: linear-gradient(-225deg, #00f5ff 0%, #ffff00 29%, #f81123 67%, #fff800 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 3s linear infinite;
    text-transform: uppercase;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--primary);
    color: var(--white);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 0;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 16px;
}

.footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-col a {
    color: #ffdddd;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    font-size: 14px;
}

.copyright {
    background: var(--dark-red);
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .header-buttons {
        display: none;
    }

    .nav-list {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .header-inner {
        height: 70px;
    }

    .logo {
        font-size: 26px;
    }

    .logo span {
        font-size: 14px;
    }

    .slide {
        height: 240px;
        padding: 20px;
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.95rem;
    }

    .article-section {
        padding: 20px;
    }

    .article-section h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide h2 {
        font-size: 1.2rem;
    }

    .slide p {
        font-size: 0.85rem;
    }
}

/* =====================================================
   ARTICLE LAYOUT   VERSI RAPI DENGAN BORDER
   ===================================================== */
.article-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
}

/* ---------- HEADER / INTRO (kotak khusus) ---------- */
.article-header {
    background: var(--white);
    border: 2px solid var(--border);
    border-left: 6px solid var(--primary);
    border-radius: var(--radius);
    padding: 32px 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.article-header h1 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.9rem;
    line-height: 1.3;
}

.article-header p:last-child {
    margin-bottom: 0;
}

/* ---------- CARD TIAP BAB ---------- */
.content-section {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    position: relative;
    transition: border-color 0.25s ease;
}

.content-section:hover {
    border-color: #ffb8b8;
}

/* ---------- JUDUL BAB (H2) DENGAN NOMOR ---------- */
.content-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
    font-size: 1.35rem;
    color: var(--text);
    line-height: 1.3;
}

.section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 700;
}

/* ---------- SUB-JUDUL (H3) DENGAN ACCENT KIRI ---------- */
.content-section h3 {
    margin: 28px 0 12px;
    padding: 4px 0 4px 14px;
    border-left: 4px solid var(--primary);
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1.4;
}

.content-section h3:first-of-type {
    margin-top: 8px;
}

/* ---------- PARAGRAF & LIST DALAM CARD ---------- */
.content-section p {
    margin-bottom: 14px;
    text-align: justify;
    color: #333;
}

.content-section ul,
.content-section ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.content-section li strong {
    color: var(--primary-dark);
}

/* ---------- TABEL DENGAN BORDER TEGAS ---------- */
.content-section .table-wrap {
    margin: 22px 0;
    overflow-x: auto;
    border-radius: 6px;
    border: 2px solid var(--border);
    background: #fff;
}

.content-section .table-info {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    font-size: 14px;
}

.content-section .table-info th,
.content-section .table-info td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.content-section .table-info thead th {
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.content-section .table-info tbody tr:nth-child(even) {
    background: #fafafa;
}

.content-section .table-info tbody tr:hover {
    background: #fff5f5;
}

.content-section .table-info td strong {
    color: var(--primary-dark);
}

/* ---------- CARD KESIMPULAN (HIGHLIGHT) ---------- */
.content-section.highlight {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-color: var(--primary);
}

.content-section.highlight h2 {
    border-bottom-color: var(--primary-dark);
}

.content-section.highlight h2 .section-num {
    background: var(--primary-dark);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .article-header {
        padding: 24px 20px;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 22px 18px;
    }

    .content-section h2 {
        font-size: 1.15rem;
        gap: 10px;
    }

    .section-num {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .content-section h3 {
        font-size: 1rem;
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 18px 14px;
    }
}

/* Judul Kelompok (Tanpa Garis Merah, Ada Garis Bawah) */
.content-section h3.group-title {
    border-left: none;
    padding-left: 0;
    color: var(--text);
    font-size: 1.15rem;
    margin-top: 28px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

/* Sub-item (Dengan Garis Merah Kiri) */
.content-section h4 {
    margin: 22px 0 10px;
    padding: 4px 0 4px 14px;
    border-left: 4px solid var(--primary);
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

/* =====================================================
   FORMULIR SINGLE COLUMN (MIRIP GAMBAR REFERENSI)
   ===================================================== */
.shbet-form-single {
    margin-top: 20px;
    max-width: 500px;
}

.shbet-form-single .form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.shbet-form-single label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.req {
    color: #1a73e8;
    margin-right: 4px;
}

.shbet-form-single input[type="text"],
.shbet-form-single input[type="password"],
.shbet-form-single input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #b8d4ff;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.2s;
}

.shbet-form-single input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.helper-text {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    line-height: 1.4;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
    user-select: none;
}

.captcha-container {
    display: flex;
    gap: 10px;
}

.captcha-container input {
    flex: 1;
}

.captcha-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e6d690;
    border: 1px solid #d4c47c;
    border-radius: 8px;
    padding: 0 10px;
    min-width: 120px;
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.refresh-icon {
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
}

.shbet-form-single .checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 25px;
}

.shbet-form-single .checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.shbet-form-single .checkbox-group label {
    font-weight: 400;
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
    cursor: pointer;
}

.shbet-form-single .checkbox-group strong {
    color: #1a73e8;
}

.btn-submit-blue {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-submit-blue:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =====================================================
   PENGATURAN UKURAN FORM (RESPONSIF)
   ===================================================== */
#form-daftar,
#form-login {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

.shbet-form .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.shbet-form label {
    font-weight: 600;
    font-size: 14px;
    color: #222;
    margin-bottom: 6px;
}

.shbet-form input[type="text"],
.shbet-form input[type="password"],
.shbet-form input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #b8d4ff;
    border-radius: 25px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.shbet-form input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-group label {
    font-weight: 400 !important;
    font-size: 13px;
    line-height: 1.4;
}

/* =====================================================
   PENGATURAN DI MOBILE (LAYAR KECIL)
   ===================================================== */
@media (max-width: 768px) {

    #form-daftar,
    #form-login {
        max-width: 100%;
        margin: 20px 0;
        padding: 20px 15px;
    }
}

/* =====================================================
   DESAIN FAQ (TERBUKA TANPA ACCORDION)
   ===================================================== */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item strong {
    display: block;
    font-size: 15px;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.faq-item strong::before {
    content: "Q:";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

.faq-item p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
    position: relative;
}

.faq-item p::before {
    content: "A:";
    position: absolute;
    left: 0;
    color: #1a73e8;
    font-weight: 700;
}

/* =====================================================
   MEMBUAT HEADER TETAP MENEMPEL SAAT SCROLL
   ===================================================== */
#site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   SLIDER FULL WIDTH (PENUH MEMENUHI LAYAR)
   ===================================================== */
.hero-slider {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    width: 100%;
    position: relative;
    aspect-ratio: 3 / 1;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .slide {
        aspect-ratio: 16 / 9;
    }
}

/* =====================================================
   PENGATURAN GAMBAR LOGO & BANNER FOOTER
   ===================================================== */
.site-header .logo img {
    max-height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-image-wrapper {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-image-wrapper img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

.drawer-header img {
    max-height: 35px;
    width: auto;
}

@media (max-width: 768px) {
    .site-header .logo img {
        max-height: 40px;
    }

    .footer-logo img {
        max-height: 40px;
        margin: 0 auto 15px;
    }

    .footer-image-wrapper img {
        max-width: 100%;
    }
}

/* =====================================================
   TOMBOL MELAYANG DI TENGAH BAWAH & POP-UP
   ===================================================== */
.floating-promo-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    background: linear-gradient(141deg, #ca10ff 0%, #0111ff 60%, #00eaff);
    color: #fff;
    border: 2px solid #fffe00;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    white-space: nowrap;
    animation: tada-center 1.5s infinite;
}

@keyframes tada-center {

    0%,
    100% {
        transform: translate(-50%, 0) scale(1);
    }

    10%,
    20% {
        transform: translate(-50%, 0) scale(0.95) rotate(-3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: translate(-50%, 0) scale(1.1) rotate(1deg);
    }

    40%,
    60%,
    80% {
        transform: translate(-50%, 0) scale(1.1) rotate(-2deg);
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 6px solid #f30101;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.popup-close:hover {
    color: #f30101;
}

.popup-icon {
    font-size: 50px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

.popup-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 900;
    color: #1a1a1a;
}

.popup-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-popup {
    display: inline-block;
    width: 100%;
    background: linear-gradient(to right, #f30101 0%, #ff4b4b 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 1, 1, 0.4);
    transition: transform 0.2s;
}

.btn-popup:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .floating-promo-btn {
        bottom: 20px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* =====================================================
   BREADCRUMB VISUAL (SEO + Navigasi)
   ===================================================== */
.site-breadcrumb {
    background: #f5f6f8;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    padding: 10px 0;
}

.site-breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.site-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.site-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    line-height: 1.4;
}

.site-breadcrumb li:not(:last-child)::after {
    content: "›";
    color: #9ca3af;
    margin-left: 4px;
    font-size: 15px;
}

.site-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color .15s ease;
}

.site-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.site-breadcrumb li[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 480px) {
    .site-breadcrumb {
        font-size: 12.5px;
    }
}