/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background-color: #050505;
}

/* ================= BACKGROUND NAGA ================= */
body {
    background:
        linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.92)),
        url("images/bg-dragon.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* CAHAYA EMAS */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at right top, rgba(255,215,0,.15), transparent 45%),
        radial-gradient(circle at left bottom, rgba(255,140,0,.12), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ================= LAYOUT ================= */
.split-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* LEFT */
.left-side {
    flex: 1.7;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* RIGHT */
.right-side {
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= SWIPER ================= */
.mySwiper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,204,0,.25);
    box-shadow: 0 0 30px rgba(255,204,0,.12);
}

.mySwiper img {
    width: 100%;
    display: block;
}

/* ================= PROMO GRID ================= */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.grid-item img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06);
    transition: .35s;
}

.grid-item img:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: #ffcc00;
    box-shadow: 0 0 25px rgba(255,204,0,.4);
}

/* ================= GLASS CARD ================= */
.glass-card {
    width: 90%;
    max-width: 420px;
    background: rgba(10,10,10,.82);
    backdrop-filter: blur(18px);
    padding: 40px 28px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid rgba(255,204,0,.25);
    box-shadow: 0 0 60px rgba(255,204,0,.2);
}

/* ================= TEXT ================= */
.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    color: #ffcc00;
    letter-spacing: 2px;
}

.subtitle {
    font-size: .85rem;
    color: #bbb;
    margin: 10px 0 25px;
    letter-spacing: 1px;
}

/* ================= BUTTON ================= */
.link-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-btn {
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(145deg,#151515,#0b0b0b);
    border: 1px solid rgba(255,255,255,.12);
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.custom-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,204,0,.4), transparent);
    transform: translateX(-100%);
    transition: .5s;
}

.custom-btn:hover::before {
    transform: translateX(100%);
}

.custom-btn:hover {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 30px rgba(255,204,0,.6);
}

/* ================= MODAL PROMO ================= */
.modal-promo {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    z-index: 9999;
}

.modal-content {
    background: #0b0b0b;
    max-width: 420px;
    margin: 8% auto;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255,204,0,.3);
    text-align: center;
}

.close-btn {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #ffcc00;
}

/* ================= FOOTER ================= */
.footer-inside {
    margin-top: 25px;
}

.logo-row, .second-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-row img,
.second-row img {
    height: 28px;
}

.copy-text {
    font-size: 12px;
    color: #aaa;
}

/* ================= SNOW ================= */
.snow-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
}

.snow {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    to { transform: translateY(100vh); }
}

/* ================= RESPONSIVE ================= */
@media(max-width:1024px){
    .split-layout { flex-direction: column; }
    .right-side {
        position: relative;
        height: auto;
        padding: 40px 20px;
    }
    .promo-grid { grid-template-columns: repeat(2,1fr); }
}
