@import 'https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7/fonts/Anuphan/var/Anuphan[wght].css';
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Anuphan', sans-serif;
}

/* ===== Design Tokens ===== */
:root {
    --bg:          #f8f7f4;
    --bg-card:     #ffffff;
    --bg-muted:    #f1ede6;
    --border:      rgba(0,0,0,0.08);
    --text:        #1a1208;
    --text-muted:  #78716c;
    --orange:      #f97316;
    --orange-dark: #ea580c;
    --orange-pale: #fff7ed;
    --orange-mid:  rgba(249,115,22,0.12);
    --shadow-sm:   0 2px 8px rgba(249,115,22,0.08);
    --shadow-md:   0 8px 32px rgba(249,115,22,0.12);
    --shadow-lg:   0 20px 60px rgba(249,115,22,0.15);
}

body {
    color: var(--text);
    min-height: 100vh;
    font-family: 'Anuphan', sans-serif;

}

/* ===== Navbar glass ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ===== Game Card ===== */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
}
.game-card:hover {
    border-color: rgba(249,115,22,0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

/* ===== Banner glow ===== */
.banner-glow {
    box-shadow: 0 0 0 1px rgba(249,115,22,0.15), 0 8px 40px rgba(249,115,22,0.1);
}

/* ===== Orange glow button ===== */
.orange-glow {
    box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}
.orange-glow:hover {
    box-shadow: 0 6px 28px rgba(249,115,22,0.55);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-muted); }
::-webkit-scrollbar-thumb { background: rgba(249,115,22,0.4); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ===== Payment Page Styles ===== */
body.payment-page { 
    background-color: #020617; 
    color: white;
    overflow-x: hidden;
}

.bg-mesh {
    background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}

.method-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.method-card:hover {
    transform: translateY(-5px);
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
}
.method-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.status-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: bold;
    text-transform: uppercase;
}
.status-online { background: rgba(249, 115, 22, 0.2); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.3); }
.status-offline { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Modal Animation */
.modal-backdrop {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-content {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}
.modal-active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.input-dark {
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.2s;
}
.input-dark:focus {
    border-color: #f97316;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}