* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a, #1a0505, #2d0a0a, #1a0505, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    z-index: 0;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.scales-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(200, 50, 50, 0.08) 0%, transparent 60%),
        repeating-linear-gradient(45deg, 
            transparent 0px, 
            transparent 20px, 
            rgba(255, 215, 0, 0.03) 20px, 
            rgba(255, 215, 0, 0.03) 21px
        ),
        repeating-linear-gradient(-45deg, 
            transparent 0px, 
            transparent 20px, 
            rgba(255, 215, 0, 0.03) 20px, 
            rgba(255, 215, 0, 0.03) 21px
        );
    z-index: 0;
    pointer-events: none;
    animation: scalesMove 20s linear infinite;
}

@keyframes scalesMove {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(5%, 5%) rotate(2deg) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translate(0, 10%) rotate(0deg) scale(1.1);
        opacity: 0.6;
    }
    75% {
        transform: translate(-5%, 5%) rotate(-2deg) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.5;
    }
}

.glitter-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glitter {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ffd700, transparent);
    border-radius: 50%;
    animation: glitterFloat linear infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.glitter:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-duration: 8s;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
}
.glitter:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-duration: 10s;
    animation-delay: 1s;
    width: 3px;
    height: 3px;
}
.glitter:nth-child(3) {
    left: 40%;
    top: 10%;
    animation-duration: 12s;
    animation-delay: 2s;
    width: 5px;
    height: 5px;
}
.glitter:nth-child(4) {
    left: 55%;
    top: 75%;
    animation-duration: 9s;
    animation-delay: 0.5s;
    width: 4px;
    height: 4px;
}
.glitter:nth-child(5) {
    left: 70%;
    top: 30%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    width: 7px;
    height: 7px;
}
.glitter:nth-child(6) {
    left: 85%;
    top: 55%;
    animation-duration: 13s;
    animation-delay: 0.8s;
    width: 3px;
    height: 3px;
}
.glitter:nth-child(7) {
    left: 15%;
    top: 85%;
    animation-duration: 7s;
    animation-delay: 2.5s;
    width: 5px;
    height: 5px;
}
.glitter:nth-child(8) {
    left: 50%;
    top: 45%;
    animation-duration: 14s;
    animation-delay: 1.2s;
    width: 8px;
    height: 8px;
}
.glitter:nth-child(9) {
    left: 90%;
    top: 15%;
    animation-duration: 10s;
    animation-delay: 3s;
    width: 4px;
    height: 4px;
}
.glitter:nth-child(10) {
    left: 35%;
    top: 90%;
    animation-duration: 11s;
    animation-delay: 0.3s;
    width: 6px;
    height: 6px;
}
.glitter:nth-child(11) {
    left: 75%;
    top: 5%;
    animation-duration: 9s;
    animation-delay: 1.8s;
    width: 3px;
    height: 3px;
}
.glitter:nth-child(12) {
    left: 5%;
    top: 50%;
    animation-duration: 12s;
    animation-delay: 2.2s;
    width: 5px;
    height: 5px;
}
.glitter:nth-child(13) {
    left: 60%;
    top: 65%;
    animation-duration: 8s;
    animation-delay: 0.7s;
    width: 4px;
    height: 4px;
}
.glitter:nth-child(14) {
    left: 45%;
    top: 25%;
    animation-duration: 10s;
    animation-delay: 1.9s;
    width: 6px;
    height: 6px;
}
.glitter:nth-child(15) {
    left: 20%;
    top: 40%;
    animation-duration: 13s;
    animation-delay: 2.8s;
    width: 3px;
    height: 3px;
}

@keyframes glitterFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(20px, -30px) scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-10px, -60px) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

.light-line {
    position: fixed;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1), transparent);
    z-index: 0;
    pointer-events: none;
    animation: lightMove 8s linear infinite;
}

.light-line:nth-child(1) {
    top: 20%;
    left: -100%;
    width: 300%;
    animation-delay: 0s;
}

.light-line:nth-child(2) {
    top: 50%;
    left: -100%;
    width: 250%;
    animation-delay: 3s;
    height: 1px;
}

.light-line:nth-child(3) {
    top: 80%;
    left: -100%;
    width: 350%;
    animation-delay: 5s;
    height: 1px;
}

@keyframes lightMove {
    0% {
        transform: translateX(0) rotate(-5deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(-5deg);
        opacity: 0;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== CARD ===== */
.card {
    background: linear-gradient(145deg, #1a0a0a, #2d0a0a, #1a0505);
    padding: 48px 40px 40px;
    border-radius: 28px;
    max-width: 460px;
    width: 90%;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 215, 0, 0.1),
        0 0 40px rgba(255, 215, 0, 0.05);
    text-align: center;
    animation: slideUp 0.5s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), transparent, rgba(255, 215, 0, 0.3));
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.2);
    }
}

.title::before {
    content: '🐉 ';
}

.title::after {
    content: ' 👗';
}

.subtitle {
    font-size: 16px;
    color: #d4a574;
    margin-bottom: 32px;
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: 1px;
}

.btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 14px;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.btn:last-child {
    margin-bottom: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn:active {
    transform: translateY(4px) scale(0.98);
}

/* --- Tombol "Ingin Belanja" — Emas Merah (Naga) --- */
.btn-beli {
    background: linear-gradient(145deg, #8b1a1a, #5c0a0a);
    box-shadow: 0 6px 0 #3a0505, 0 8px 24px rgba(139, 26, 26, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.btn-beli:hover {
    box-shadow: 0 10px 0 #3a0505, 0 14px 32px rgba(139, 26, 26, 0.5);
    background: linear-gradient(145deg, #a02020, #6b0f0f);
    border-color: rgba(255, 215, 0, 0.4);
}

.btn-beli:active {
    box-shadow: 0 2px 0 #3a0505;
}

.btn-info {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    box-shadow: 0 6px 0 #000000, 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.btn-info:hover {
    box-shadow: 0 10px 0 #000000, 0 14px 32px rgba(0, 0, 0, 0.5);
    background: linear-gradient(145deg, #2a2a2a, #0f0f0f);
    border-color: rgba(255, 215, 0, 0.3);
}

.btn-info:active {
    box-shadow: 0 2px 0 #000000;
}

.btn-beli .icon {
    font-size: 22px;
    margin-right: 8px;
}

.btn-info .icon {
    font-size: 22px;
    margin-right: 8px;
}

@media (max-width: 480px) {
    .card {
        padding: 32px 20px 28px;
    }

    .title {
        font-size: 22px;
    }

    .title::before,
    .title::after {
        display: none;
    }

    .btn {
        font-size: 16px;
        padding: 14px 16px;
    }
}