/* =====================
   RESET
===================== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
}

/* =====================
   BACKGROUND LAYER (ANTI BUG)
===================== */
body {
    position: relative;
    overflow-x: hidden;
    background: #000;
}

.bg-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    min-height: 100%;

    background:
        radial-gradient(circle at top, rgba(255,215,0,.12), transparent 50%),
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.9)),
        url("images/bg-dragon.webp") center / cover no-repeat;
}

/* =====================
   SPLIT LAYOUT (FIX)
===================== */
.split-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.left-side,
.right-side {
    min-height: 100vh;
}

/* =====================
   LEFT SIDE
===================== */
.left-side {
    flex: 1;
    padding: 20px;
}

.mobile-slider {
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

.swiper-slide img {
    width: 100%;
    display: block;
    border-radius: 14px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
    gap: 12px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    padding: 14px;
    border-radius: 18px;
}

.grid-item img {
    width: 100%;
    border-radius: 12px;
}

/* =====================
   RIGHT SIDE
===================== */
.right-side {
    width: 420px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.glass-card {
    width: 100%;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255,215,0,.15), rgba(0,0,0,.85));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,215,0,.25);
    box-shadow: 0 0 35px rgba(255,215,0,.25);
}

/* =====================
   TEXT
===================== */
.title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: gold;
    margin-bottom: 6px;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #fff;
    opacity: .9;
    margin-bottom: 22px;
}

/* =====================
   BUTTONS
===================== */
.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-btn,
.btn-daftar {
    display: block;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    border-radius: 14px;
    background: linear-gradient(135deg,#ffd700,#ff9f00);
    color: #000;
    text-decoration: none;
}

.custom-btn:hover,
.btn-daftar:hover {
    transform: translateY(-2px);
}

/* =====================
   FOOTER
===================== */
.footer-inside {
    margin-top: 24px;
    text-align: center;
}

.copy-text {
    font-size: 12px;
    opacity: .7;
    color: #fff;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }

    .right-side {
        width: 100%;
    }

    .left-side,
    .right-side {
        min-height: auto;
    }
}
