@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

:root {
    --bg: #071026;
    --card: #0f1724;
    --accent: #f6b93b;
    --glass: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* money rain */

.money-rain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

a {
    text-decoration: none;
}

.bill {
    position: absolute;
    top: -10vh;
    left: 50%;
    font-size: 26px;
    opacity: 0.95;
    transform-origin: center;
    animation: fall linear infinite;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0);
        opacity: 1
    }

    100% {
        transform: translateY(110vh) rotate(540deg);
        opacity: 0.9
    }
}

/* main stage */

.stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem
}

.card {
    width: 1180px;
    max-width: 96%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

/* temple */

.temple {
    width: 44%;
    float: left;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

.svg-box {
    /* width: 220px;
            height: 220px;
            border-radius: 50%;
            background: linear-gradient(135deg, #fceabb, #f8b500); */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(248, 181, 0, 0.18);
    transform: translateZ(40px) rotateX(6deg)
}

.content {
    width: 56%;
    float: right;
    padding: 10px
}

.title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px
}

.subtitle {
    color: #858585;
    margin-bottom: 14px
}

/* -------------------------
        3D BUTTONS + NEW LINE
        --------------------------*/

.download-line {
    width: 100%;
    text-align: center;
    margin: 16px 0 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    transform-style: preserve-3d;
    position: relative;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.btn:active {
    transform: translateY(5px) scale(0.96);
}

.btn-download {
    background: linear-gradient(180deg, #25D366, #128C7E);
    color: white;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
    }

    100% {
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.75);
    }
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
    transform: translateZ(22px);
    pointer-events: none
}

.btn-row {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

/* whatsapp + contact */

.btn-whatsapp {
    background: linear-gradient(180deg, #000000, #128C7E);
    color: white
}

.btn-contact {
    background: linear-gradient(180deg, #000000, #128C7E);
    color: white
}

/* meta boxes */

.meta {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.meta .box {
    flex: 1;
    background: var(--glass);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600
}

.note {
    margin-top: 22px;
    color: #94a3b8;
    font-size: 13px;
    clear: both
}

/* responsive */

@media(max-width:820px) {

    .temple,
    .content {
        width: 100%;
        float: none;
        text-align: center
    }

    .btn-row {
        justify-content: center
    }
}

/* Admin Panel Section */

.admin-panel {
    margin-top: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #fff;
}

.admin-panel h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.admin-panel p {
    margin: 6px 0;
}

/* GAME RATE SECTION */

.game-rate-section {
    margin: 40px auto;
    max-width: 1180px;
    text-align: center;
}

.game-rate-title {
    font-size: 26px;
    font-weight: 800;
    color: #1f7a4f;
    margin-bottom: 6px;
}

.game-rate-sub {
    font-size: 15px;
    color: #444;
    margin-bottom: 26px;
}

.game-rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.rate-card {
    background: #e9f5ec;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.rate-card h4 {
    margin: 0;
    background: #ea048f;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
}

.rate-value {
    margin-top: 10px;
    background: #e4f3ea;
    border: 2px solid #222;
    border-radius: 10px;
    padding: 12px;
    font-size: 18px;
    font-weight: 700;
}

/* AVAILABLE GAMES SECTION */

.games-section {
    max-width: 1180px;
    margin: 60px auto;
    padding: 0 10px;
}

.games-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.game-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.game-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.game-number {
    font-size: 20px;
    font-weight: 700;
    color: #666;
    margin: 6px 0;
}

.game-status {
    color: red;
    font-weight: 700;
    margin-bottom: 12px;
}

.game-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.game-actions button {
    flex: 1;
    border: 2px solid #111;
    background: #fff;
    border-radius: 30px;
    padding: 6px 0;
    font-weight: 700;
    cursor: pointer;
}

.game-time {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.play-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff3b3b;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 0 6px rgba(255, 59, 59, 0.2);
}

.game-status {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    font-size: 14px;
}

.game-status.open {
    color: #155724;
    background-color: #d4edda;
    /* green */
}

.game-status.close {
    color: #721c24;
    background-color: #f8d7da;
    /* red */
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

.play-btn.open {
    background-color: #28a745;
    /* green */
}

.play-btn.close {
    background-color: #dc3545;
    /* red */
    cursor: not-allowed;
    opacity: 0.6;
}

.game-actions {
    display: flex;
    gap: 10px;
}

.chart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    /* remove underline */
    border: none;
    min-width: 110px;
}

.chart-btn.open {
    background-color: #28a745;
    /* green */
    color: #fff;
    cursor: pointer;
}

.chart-btn.close {
    background-color: #dc3545;
    /* red */
    color: #fff;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
    /* disable click */
}