@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Gold Gradient Text */
.gold-gradient {
    background: linear-gradient(90deg, #bf953f 0%, #fcf6ba 45%, #b38728 70%, #fcf6ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tombol Merah Sesuai Gambar */
.btn-red-download {
    background: linear-gradient(180deg, #ff0000 0%, #a00000 100%);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-red-download:active {
    transform: scale(0.95);
}

/* Welcome Pack Card Sesuai Gambar */
.welcome-pack-card {
    background: #1a1a1a; /* Hitam Pekat */
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 28px;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 420px;
    margin: 0 auto;
}

.welcome-pack-text .title {
    color: #eab308; /* Kuning Emas */
    font-size: 13px;
    font-weight: 800;
    display: block;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.welcome-pack-text .amount {
    color: white;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.gift-icon {
    color: #eab308;
    font-size: 44px;
}

/* App Icon Animation */
@keyframes pulse-custom {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(234, 179, 8, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}

.animate-pulse-custom {
    animation: pulse-custom 2.5s infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

/* Game category icons */
.game-icon-shell {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.game-icon-shell svg {
    width: 39px;
    height: 39px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.game-icon-shell svg text {
    fill: currentColor;
    stroke: none;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-anchor: middle;
}

.game-icon-rummy {
    background: linear-gradient(145deg, #7c3aed, #3730a3);
}

.game-icon-rummy svg rect {
    fill: rgba(255, 255, 255, 0.1);
}

.game-icon-boss {
    color: #fff4bd;
    background: linear-gradient(145deg, #ef3b2d, #9f1712);
}

.game-icon-boss svg path:first-child {
    fill: rgba(255, 226, 112, 0.16);
}

.game-icon-slots {
    color: #eafff2;
    background: linear-gradient(145deg, #19a35d, #076b4d);
}

.game-icon-slots svg rect:first-child {
    fill: rgba(255, 255, 255, 0.08);
}

.game-icon-jaiho {
    background: linear-gradient(145deg, #f6b900, #b33a09);
}

.game-icon-jaiho img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tombol Merah Glossy Sesuai Gambar */
.btn-red-download {
    background: linear-gradient(180deg, #ff3b3b 0%, #cc0000 100%);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5); /* Efek cahaya merah */
    border-radius: 60px; /* Lebih lonjong sesuai gambar */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
}

.btn-red-download:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.7);
}

.btn-red-download:active {
    transform: scale(0.98);
}

/* Welcome Pack Card Sesuai Gambar */
.welcome-pack-card {
    background: #1c1c1c; /* Background gelap solid */
    border: 1px solid #333; /* Border tipis */
    border-radius: 20px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.welcome-pack-text .title {
    color: #facc15; /* Kuning cerah */
    font-size: 14px;
    font-weight: 800;
    display: block;
    letter-spacing: 0.5px;
}

.welcome-pack-text .amount {
    color: white;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.gift-icon {
    color: #facc15; /* Kuning cerah */
    font-size: 40px;
}

/* Floating WhatsApp & Telegram */
.social-float-stack {
    position: fixed;
    right: 16px;
    bottom: 160px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-float-button {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    font-size: 25px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-float-button:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.58);
}

.social-float-button.whatsapp {
    background: #16a34a;
}

.social-float-button.telegram {
    background: #229ed9;
}

/* Live Download Activity */
.live-download-card {
    position: fixed;
    left: 16px;
    bottom: 104px;
    z-index: 90;
    width: min(320px, calc(100vw - 96px));
    padding: 14px 16px;
    border: 1px solid rgba(250, 204, 21, 0.38);
    border-radius: 16px;
    background: rgba(11, 14, 20, 0.95);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(12px);
}

.live-download-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.live-download-title {
    color: #facc15;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.live-download-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 11px rgba(34, 197, 94, 0.82);
    animation: live-download-pulse 1.4s infinite;
}

.live-download-person {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.live-download-meta {
    margin: 3px 0 0;
    color: #9ca3af;
    font-size: 10px;
}

.live-download-changing {
    opacity: 0;
    transform: translateY(5px);
}

@keyframes live-download-pulse {
    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

@media (max-width: 480px) {
    .social-float-stack {
        right: 12px;
        bottom: 168px;
    }

    .live-download-card {
        left: 12px;
        bottom: 100px;
        width: min(272px, calc(100vw - 84px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .live-download-dot {
        animation: none;
    }

    .live-download-person,
    .social-float-button {
        transition: none;
    }
}
