/* --- 1. THEME VARIABLES --- */
:root {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #334155;
    --primary: #22c55e;
    --primary-grad: linear-gradient(135deg, #22c55e, #16a34a);
    --accent: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --telegram: #29b6f6;
    --bkash: #e2136e;
    --nagad: #ec1c24;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
html, body { height: 100%; width: 100%; font-family: 'Poppins', sans-serif; background: var(--bg-body); color: var(--text-main); font-size: 14px; overflow: hidden; }
h1, h2, h3, .stat-val, .dm-cred-val { font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-danger { color: var(--danger) !important; }
#app-interface { position: relative; height: 100%; width: 100%; overflow: hidden; display: block; }
.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(8px); z-index: 9999; display: none; justify-content: center; align-items: center; flex-direction: column; animation: fadeIn 0.3s ease; }
.loading-overlay.active { display: flex; }
.spinner-box { position: relative; width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; }
.spinner { width: 100%; height: 100%; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--primary); animation: spin 1.2s linear infinite; position: absolute; }
.spinner::before { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--accent); animation: spin 2s linear infinite; }
.spinner::after { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border-radius: 50%; border: 4px solid transparent; border-top-color: #3b82f6; animation: spin 1.5s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loading-text { margin-top: 25px; color: white; font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 2px; font-size: 1.1rem; text-transform: uppercase; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.skeleton-view { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-body); z-index: 50; padding: 0; overflow-y: hidden; display: flex; flex-direction: column; }
.skeleton-view.hidden { display: none; }
.sk-banner { height: 220px; width: 100%; background: #1e293b; border-radius: 0 0 25px 25px; margin-bottom: 20px; position: relative; overflow: hidden; }
.sk-notice { height: 40px; margin: 0 20px 20px; background: #1e293b; border-radius: 6px; position: relative; overflow: hidden; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 20px; margin-bottom: 15px; }
.sk-card { height: 160px; background: #1e293b; border-radius: 16px; position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-100%); background-image: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.05) 20%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0)); animation: shimmer 2s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.page-section { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow-y: auto; background: var(--bg-body); padding-bottom: 100px; opacity: 0; transform: scale(0.98); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 10; display: none; }
.page-section.active { opacity: 1; transform: scale(1); pointer-events: auto; display: block; z-index: 20; }
.page-section::-webkit-scrollbar { width: 0px; background: transparent; }
.banner-slider { height: 220px; background-color: #334155; position: relative; border-bottom-left-radius: 25px; border-bottom-right-radius: 25px; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
.banner-track { display: flex; height: 100%; transition: transform 0.5s ease-in-out; }
.banner-slide { min-width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; bottom: 0; width: 100%; height: 50%; background: linear-gradient(to top, var(--bg-body), transparent); pointer-events: none; }
.dots-bg { display: flex; justify-content: center; margin-top: -20px; position: relative; z-index: 5; margin-bottom: 15px; }
.dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; margin: 0 3px; transition: 0.3s; }
.dot.active { background: var(--primary); width: 25px; border-radius: 4px; }
.notice-bg { padding: 12px 15px; background: linear-gradient(90deg, rgba(245,158,11,0.1), transparent); border-left: 3px solid var(--accent); margin: 10px 20px 20px; border-radius: 6px; display: flex; align-items: center; overflow: hidden; }
.notice-wrapper { flex: 1; overflow: hidden; white-space: nowrap; position: relative; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.notice-text { display: inline-block; font-size: 0.85rem; font-weight: 500; color: #fbbf24; padding-left: 100%; animation: scroll-left 15s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.section-header { padding: 0 20px; margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.section-title { font-size: 1.2rem; font-weight: 700; color: white; border-left: 4px solid var(--primary); padding-left: 10px; }
.games-grid-common { display: grid; grid-template-columns: 1fr; gap: 15px; padding: 0 20px; margin-bottom: 15px; }
.game-card-wrapper { cursor: pointer; transition: transform 0.1s; }
.game-card-wrapper:active { transform: scale(0.96); }
.game-card-border { background: var(--bg-card); padding: 0; border-radius: 16px; height: 160px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.game-card-inner { height: 100%; display: flex; flex-direction: column; }
.game-image-area { flex: 1; background: linear-gradient(135deg, #334155, #1e293b); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.game-cat-img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; opacity: 0.9; }
.game-info-area { padding: 12px; background: rgba(30,41,59,0.9); backdrop-filter: blur(5px); border-top: 1px solid rgba(255,255,255,0.05); }
.game-name { font-size: 0.9rem; font-weight: 700; color: white; display: block; text-transform: uppercase; margin-bottom: 2px; }
.match-status { font-size: 0.7rem; color: var(--primary); font-weight: 600; display: block; }
.match-card-xml { background: var(--bg-card); border-radius: 8px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); transition: 0.2s; position: relative; cursor: pointer; }
.match-card-xml:active { transform: scale(0.98); }
.mc-xml-top { padding: 10px; display: flex; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); pointer-events: none; }
.mc-xml-img { width: 90px; height: 55px; border-radius: 6px; object-fit: cover; background: #000; }
.mc-xml-info { flex: 1; display: flex; flex-direction: column; }
.mc-xml-badge { align-self: flex-end; background: #f97316; color: white; font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 2px; }
.mc-xml-title { font-size: 0.95rem; font-weight: 700; color: white; line-height: 1.2; margin-bottom: 3px; }
.mc-xml-Time { font-size: 0.75rem; color: #ef4444; font-weight: 600; }
.mc-xml-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; row-gap: 15px; padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); pointer-events: none; }
.mc-xml-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mc-xml-lbl { font-size: 0.65rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.mc-xml-val { font-size: 0.85rem; font-weight: 700; color: white; font-family: 'Rajdhani', sans-serif; }
.mc-xml-progress-row { padding: 10px 15px; display: flex; align-items: center; gap: 15px; }
.mc-xml-prog-box { flex: 1; pointer-events: none; }
.mc-prog-bar { height: 6px; background: #334155; border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.mc-prog-fill { height: 100%; background: var(--primary); border-radius: 3px; }
.mc-prog-text { display: flex; justify-content: space-between; font-size: 0.7rem; color: #94a3b8; font-weight: 600; }
.btn-xml-join { border: 1px solid var(--primary); color: var(--primary); background: rgba(34,197,94,0.1); padding: 6px 20px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; cursor: pointer; text-transform: uppercase; transition: 0.2s; z-index: 5; position: relative; }
.btn-xml-join:active { transform: scale(0.95); }
.btn-xml-join.full { border-color: #ef4444; color: #ef4444; background: rgba(239,68,68,0.1); }
.mc-xml-actions { display: flex; padding: 0 10px 10px; flex-wrap: wrap; gap: 5px; }
.mc-xml-act-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px; font-size: 0.75rem; font-weight: 600; color: #3b82f6; cursor: pointer; border-radius: 6px; background: rgba(255,255,255,0.02); z-index: 5; position: relative; }
.mc-xml-Timer { background: #15803d; padding: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; color: white; transition: 0.3s; pointer-events: none; }
.mc-xml-Timer.ended { background: #334155; color: #94a3b8; }
.dt-header-card { background: var(--bg-card); border-radius: 12px; padding: 15px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.05); }
.dt-rules-box { background: rgba(245,158,11,0.1); border: 1px dashed #f59e0b; padding: 15px; border-radius: 8px; color: #f59e0b; font-size: 0.85rem; white-space: pre-line; line-height: 1.6; margin-bottom: 20px; }
.dt-part-title { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 10px; border-left: 4px solid var(--primary); padding-left: 10px; }
.dt-part-list { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.dt-part-row { display: flex; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: center; }
.dt-part-row:last-child { border-bottom: none; }
.dt-p-name { color: white; font-weight: 600; font-size: 0.9rem; }
.dt-p-status { font-size: 0.75rem; background: rgba(34,197,94,0.1); color: var(--primary); padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.btn-dt-action { width: 100%; padding: 15px; border-radius: 12px; background: var(--primary); color: white; font-weight: 800; font-size: 1rem; border: none; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(34,197,94,0.3); }
.btn-dt-action:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-dt-action.room { background: #f59e0b; box-shadow: 0 5px 15px rgba(245,158,11,0.3); }
.res-card-xml { background: white; border-radius: 8px; margin-bottom: 15px; padding: 10px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border-left: 5px solid #22c55e; position: relative; }
.res-card-xml.cancelled { border-left-color: #ef4444; background: #fff0f0; }
.res-status-badge { position: absolute; top: 0; left: 0; background: #22c55e; color: white; font-size: 10px; padding: 4px 10px; border-bottom-right-radius: 8px; font-weight: 700; z-index: 2; }
.res-card-xml.cancelled .res-status-badge { background: #ef4444; }
.rc-top { display: flex; gap: 10px; margin-bottom: 10px; margin-top: 5px; }
.rc-img { width: 85px; height: 47px; object-fit: cover; border-radius: 4px; background: #000; }
.rc-info-box { flex: 1; display: flex; flex-direction: column; }
.rc-match-no-wrap { position: absolute; top: 10px; right: 10px; background: #f67c01; color: white; font-size: 11px; font-weight: bold; padding: 2px 8px; border-radius: 4px; }
.rc-title { color: #424242; font-size: 14px; font-weight: bold; line-height: 1.2; margin-bottom: 2px; margin-right: 60px; }
.rc-Time { color: #424242; font-size: 11px; font-weight: 600; margin-top: 3px; }
.sub-tabs-box { display: flex; background: #1e293b; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sub-tab-item { flex: 1; text-align: center; padding: 12px; color: #94a3b8; font-weight: 700; cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; letter-spacing: 1px; }
.sub-tab-item.active { color: white; border-bottom-color: var(--primary); background: linear-gradient(to top, rgba(34,197,94,0.1), transparent); }
.profile-header { background: linear-gradient(to bottom, #1e293b, #0f172a); padding: 40px 25px 30px; text-align: center; border-radius: 0 0 40px 40px; border-bottom: 1px solid #334155; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.p-avatar-box { position: relative; width: 100px; height: 100px; margin: 0 auto 15px; }
.p-avatar { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--primary); padding: 4px; background: #0f172a; }
.p-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.rank-badge { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); background: var(--accent); color: black; font-weight: 800; font-size: 0.7rem; padding: 2px 10px; border-radius: 20px; border: 2px solid #0f172a; }
.stat-row { display: flex; justify-content: space-between; margin-top: 25px; background: rgba(255,255,255,0.03); padding: 15px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05); }
.stat-box { text-align: center; flex: 1; }
.stat-val { font-size: 1.3rem; font-weight: 700; color: white; display: block; }
.stat-lbl { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.menu-item { display: flex; align-items: center; padding: 16px; background: var(--bg-card); cursor: pointer; border-radius: 12px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.02); transition: 0.2s; text-decoration: none; }
.menu-item:active { transform: scale(0.98); background: #253248; }
.menu-icon { width: 40px; height: 40px; background: rgba(34,197,94,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-right: 15px; color: var(--primary); font-size: 1.1rem; }
.menu-text { font-size: 0.95rem; color: white; flex: 1; font-weight: 500; }
.logout-btn { background: rgba(239,68,68,0.1); color: var(--danger); text-align: center; padding: 14px; margin: 30px 0; border-radius: 12px; font-weight: bold; cursor: pointer; border: 1px solid rgba(239,68,68,0.3); text-decoration: none; display: block; }
.wallet-card { background: linear-gradient(135deg, #1e293b, #0f172a); padding: 30px; border-radius: 24px; text-align: center; border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); margin-bottom: 25px; }
.wallet-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 60%); z-index: 0; }
.w-content { position: relative; z-index: 1; }
.w-btn-row { display: flex; gap: 12px; margin-top: 25px; }
.w-btn { flex: 1; padding: 12px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; }
.w-btn:active { transform: scale(0.95); }
.wb-add { background: var(--primary); color: black; box-shadow: 0 4px 15px rgba(34,197,94,0.3); }
.wb-with { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.1); }
.tut-row { margin-top: 20px; }
.tut-btn { display: flex; align-items: center; background: #334155; padding: 12px; border-radius: 10px; margin-bottom: 10px; cursor: pointer; border: 1px solid rgba(255,255,255,0.05); transition: 0.2s; text-decoration: none; }
.tut-btn:active { transform: scale(0.98); }
.tut-icon-img { width: 30px; height: 30px; border-radius: 50%; margin-right: 15px; object-fit: cover; }
.tut-text { flex: 1; font-weight: 600; color: white; font-size: 0.9rem; }
.sub-page { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-body); z-index: 600; display: none; flex-direction: column; overflow-y: auto; padding-bottom: 20px; }
.sub-page.active { display: flex; animation: slideIn 0.25s cubic-bezier(0.165, 0.84, 0.44, 1); }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.sub-header { padding: 15px 20px; background: rgba(15,23,42,0.95); backdrop-filter: blur(10px); color: white; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); position: sticky; top: 0; z-index: 100; height: 60px; }
.back-btn { margin-right: 15px; font-size: 1.1rem; cursor: pointer; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); text-decoration: none; color: white; }
.nav-bar { position: fixed; bottom: 20px; left: 20px; right: 20px; height: 70px; background: rgba(30,41,59,0.85); backdrop-filter: blur(15px); display: flex; justify-content: space-around; align-items: center; z-index: 500; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.nav-item { display: flex; flex-direction: column; align-items: center; color: #64748b; gap: 4px; transition: 0.3s; cursor: pointer; padding: 10px; flex: 1; position: relative; }
.nav-item.active { color: var(--primary); }
.nav-item.active i { transform: translateY(-4px); font-size: 1.4rem; text-shadow: 0 0 15px rgba(34,197,94,0.5); }
.nav-item.active::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; }
.nav-item i { font-size: 1.2rem; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.nav-item span { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.5px; }
.modal-wrap { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 5000; display: none; align-items: flex-end; justify-content: center; }
.modal-wrap.active { display: flex; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(3px); }
.modal-sheet { width: 100%; max-width: 500px; background: #1e293b; border-radius: 25px 25px 0 0; padding: 30px 25px; z-index: 2; animation: slideUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); max-height: 85vh; overflow-y: auto; border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 -10px 40px rgba(0,0,0,0.5); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.input-box { width: 100%; padding: 16px; border: 1px solid #475569; background: var(--bg-input); border-radius: 12px; font-size: 0.95rem; color: white; margin-bottom: 15px; font-family: 'Poppins'; transition: 0.2s; }
.input-box:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
.input-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; display: block; margin-left: 4px; }
.btn-main { width: 100%; padding: 15px; border-radius: 12px; background: var(--primary-grad); color: white; font-weight: 700; border: none; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 15px rgba(34,197,94,0.3); display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-main:disabled { opacity: 0.7; cursor: not-allowed; }
.btn-outline { padding: 8px 15px; border-radius: 8px; border: 1px solid var(--primary); background: transparent; color: var(--primary); font-weight: 600; cursor: pointer; }
.fab { position: fixed; bottom: 105px; right: 20px; width: 55px; height: 55px; background: var(--telegram); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; box-shadow: 0 4px 15px rgba(41,182,246,0.4); cursor: pointer; z-index: 550; transition: 0.2s; text-decoration: none; }
.fab:active { transform: scale(0.9); }
#toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: rgba(30,41,59,0.95); color: white; padding: 12px 25px; border-radius: 50px; z-index: 9000; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.1); opacity: 0; transition: 0.3s; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,0.5); backdrop-filter: blur(5px); }
#toast.active { opacity: 1; top: 40px; }
.placeholder-view { text-align: center; padding: 60px 20px; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.placeholder-view::before { content: '\f119'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 2rem; opacity: 0.3; }
.auth-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-body); z-index: 6000; display: flex; flex-direction: column; justify-content: center; padding: 30px; background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 70%); overflow-y: auto; }
.auth-logo { width: 100px; height: 100px; background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 25px; display: inline-flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--primary); margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }
.wd-header-balance { background: white; padding: 15px; text-align: center; border-radius: 8px; margin-bottom: 15px; color: black; }
.wd-balance-row { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 5px; }
.wd-payment-grid { display: flex; gap: 10px; margin-bottom: 20px; }
.wd-method-card { flex: 1; background: white; border-radius: 8px; height: 70px; position: relative; cursor: pointer; transition: 0.2s; border: 2px solid transparent; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; overflow: hidden; }
.wd-method-card.active { border-color: #f59e0b; background: #fff8e1; }
.wd-check-icon { position: absolute; top: 5px; right: 5px; color: #22c55e; font-size: 14px; display: none; }
.wd-method-card.active .wd-check-icon { display: block; }
.wd-method-info { display: flex; align-items: center; gap: 5px; }
.wd-method-name { color: #757575; font-size: 12px; font-weight: 600; }
.wd-input-group { margin-bottom: 15px; position: relative; }
.wd-input-field { width: 100%; padding: 15px; background: transparent; border: 1px solid #94a3b8; border-radius: 4px; color: white; font-size: 16px; outline: none; transition: 0.2s; }
.wd-input-field:focus { border-color: var(--primary); border-width: 2px; }
.wd-amount-row { display: flex; align-items: center; margin-bottom: 10px; }
.wd-currency-symbol { font-size: 30px; color: #94a3b8; margin-right: 10px; font-weight: bold; }
.wd-warning { color: #ef4444; font-size: 14px; margin-top: 10px; text-align: center; display: block; }
.btn-withdraw-xml { width: 100%; background: #f59e0b; color: white; font-weight: bold; padding: 12px; border: none; border-radius: 4px; margin-top: 20px; font-size: 16px; cursor: pointer; text-transform: uppercase; box-shadow: 0 4px 10px rgba(245,158,11,0.3); display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-withdraw-xml:disabled { opacity: 0.7; cursor: not-allowed; }
.dep-tabs { display: flex; background: #0f172a; padding: 5px; border-radius: 12px; margin-bottom: 20px; }
.dep-tab { flex: 1; text-align: center; padding: 10px; color: #94a3b8; font-weight: bold; cursor: pointer; border-radius: 8px; transition: 0.3s; }
.dep-tab.active.bkash { background: var(--bkash); color: white; }
.dep-tab.active.nagad { background: var(--nagad); color: white; }
.dep-instr-box { display: none; animation: fadeIn 0.3s ease; }
.dep-instr-box.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.join-step { display: none; }
.join-step.active { display: block; }
.join-header-info { background: white; border-radius: 6px; padding: 15px; margin-bottom: 15px; border: 1px solid #e2e8f0; }
.j-title { font-size: 20px; font-weight: bold; color: #48454e; margin-bottom: 5px; }
.j-Time { font-size: 12px; font-weight: bold; color: #424242; margin-bottom: 10px; }
.j-meta-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #cbd5e1; padding-top: 10px; }
.j-meta { font-size: 14px; font-weight: bold; color: #212121; }
.j-warn { text-align: center; color: #e47f19; font-weight: bold; font-size: 15px; margin: 15px 0; line-height: 1.4; }
.team-select-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
.team-opt { background: #334155; color: #94a3b8; padding: 8px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; width: 70px; text-align: center; transition: 0.2s; }
.team-opt.active { background: #fffef7; color: black; border: 1px solid #48454e; }
.player-inputs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.p-input { width: 100%; background: transparent; border: 1px solid #475569; padding: 12px; border-radius: 6px; color: white; outline: none; transition: 0.2s; }
.p-input:focus { border-color: #674fa3; }
.btn-xml-purple { background: #674fa3; color: white; width: 100%; padding: 12px; font-weight: bold; font-size: 16px; border: none; border-radius: 4px; cursor: pointer; margin-bottom: 10px; box-shadow: 0 4px 10px rgba(103,79,163,0.3); display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-xml-purple:active { transform: scale(0.98); }
.btn-xml-purple:disabled { opacity: 0.7; cursor: not-allowed; }
.j-confirm-list { background: #0f172a; padding: 15px; border-radius: 8px; margin-bottom: 15px; border: 1px solid #334155; }
.j-p-item { font-size: 15px; font-weight: bold; color: white; margin-bottom: 5px; }
.j-btn-row { display: flex; gap: 10px; }
.success-icon-area { text-align: center; margin-bottom: 15px; }
.success-icon-area i { font-size: 40px; color: #22c55e; margin-bottom: 10px; }
.success-msg { font-size: 14px; font-weight: bold; color: #212121; }
.s-disclaimer { color: #d32f2f; font-weight: bold; font-size: 13px; text-align: center; margin: 15px 0; }
.s-group-link { background: #f67c01; padding: 10px; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 10px; color: white; font-weight: bold; cursor: pointer; margin-bottom: 15px; text-decoration: none; }
.dm-container { width: 90%; max-width: 380px; position: relative; z-index: 10; animation: zoomIn 0.2s ease; margin-bottom: auto; margin-top: auto; }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dm-close-row { display: flex; justify-content: center; margin-bottom: 10px; }
.dm-close-btn { width: 35px; height: 35px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; font-size: 1.2rem; border: 1px solid rgba(255,255,255,0.1); }
.dm-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.dm-header { background: #fdd734; padding: 15px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dm-title { font-size: 18px; font-weight: 800; color: #000000; margin-top: 8px; text-transform: uppercase; }
.dm-subtitle { font-size: 12px; color: #000000; margin-top: 2px; margin-bottom: 8px; }
.dm-body { background: #ffffff; padding: 20px; text-align: center; min-height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.dm-msg { font-size: 18px; color: #333; line-height: 1.6; white-space: pre-line; }
.dm-cred-box { background: #f1f5f9; border: 1px dashed #94a3b8; padding: 10px 20px; border-radius: 8px; margin-top: 10px; width: 100%; color: #000; }
.dm-cred-label { font-size: 0.75rem; color: #64748b; font-weight: 700; text-transform: uppercase; }
.dm-cred-val { font-size: 1.5rem; font-weight: 800; color: #000; }
.dm-copy { color: var(--primary); font-size: 0.8rem; font-weight: 600; cursor: pointer; margin-top: 2px; }
.startup-modal-content { background: white; border-radius: 12px; padding: 20px; text-align: center; color: #333; width: 90%; max-width: 350px; position: relative; }
.sm-close-btn { position: absolute; top: 10px; right: 10px; background: #eee; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: bold; color: #333; }
.lb-list-item { display: flex; align-items: center; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); background: var(--bg-card); transition: 0.2s; }
.lb-list-item:nth-child(1) .lb-rank { color: #f59e0b; font-size: 1.2rem; text-shadow: 0 0 10px rgba(245,158,11,0.4); }
.lb-list-item:nth-child(2) .lb-rank { color: #94a3b8; font-size: 1.1rem; }
.lb-list-item:nth-child(3) .lb-rank { color: #d97706; font-size: 1.1rem; }
.lb-rank { width: 40px; font-weight: 800; font-size: 1rem; color: #64748b; font-family: 'Rajdhani'; text-align: center; }
.lb-user-img { width: 40px; height: 40px; border-radius: 50%; margin-right: 15px; background: #334155; }
.lb-info { flex: 1; }
.lb-u-name { font-weight: 700; color: white; font-size: 0.95rem; }
.lb-u-sub { font-size: 0.75rem; color: var(--primary); font-weight: 600; }
.lb-points { font-family: 'Rajdhani'; font-weight: 700; color: #fff; font-size: 1rem; text-align: right; }
.lb-coin-icon { color: #f59e0b; margin-right: 3px; font-size: 0.8rem; }
.lb-top-card { background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 20px; padding: 20px; margin: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.lb-crown { font-size: 2rem; color: #f59e0b; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(245,158,11,0.5)); }
.lb-top-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #f59e0b; padding: 3px; margin: 0 auto 10px; }
.lb-top-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.lb-top-name { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 5px; text-transform: uppercase; }
.lb-top-stats { display: flex; justify-content: center; gap: 20px; margin-top: 15px; background: rgba(255,255,255,0.05); padding: 10px; border-radius: 10px; }
.lb-stat-item span { display: block; }
.lb-stat-val { font-family: 'Rajdhani'; font-weight: 700; font-size: 1.1rem; color: #fff; }
.lb-stat-lbl { font-size: 0.7rem; color: #94a3b8; font-weight: 600; }
.lb-container { background: white; border-radius: 12px; overflow: hidden; }
.lb-row { display: flex; align-items: center; background: white; height: 50px; border-bottom: 1px solid #e0e0e0; }
.lb-row.header { background: #f5f5f5; border-bottom: 2px solid #bdbdbd; }
.lb-serial { width: 50px; text-align: center; font-size: 16px; font-weight: bold; color: black; font-family: 'Rajdhani'; }
.lb-name { flex: 1; font-size: 15px; font-weight: 600; color: black; margin-left: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-kill { width: 60px; text-align: center; font-size: 15px; font-weight: bold; color: #d32f2f; font-family: 'Rajdhani'; }
.lb-win { width: 70px; text-align: center; font-size: 15px; font-weight: bold; color: #2e7d32; font-family: 'Rajdhani'; }
.lb-win.refunded { color: #ef4444; font-size: 13px; }
.history-tabs-container { display: flex; justify-content: space-between; padding: 10px 5px; margin-top: 10px; }
.history-tab { flex: 1; background: #334155; color: #94a3b8; padding: 10px 5px; text-align: center; font-size: 0.75rem; font-weight: 700; margin: 0 3px; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.history-tab.active { background: var(--primary); color: #000; box-shadow: 0 2px 10px rgba(34,197,94,0.3); }
.his-card { background: var(--bg-card); padding: 12px 15px; border-radius: 8px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.05); }
.his-left { display: flex; flex-direction: column; gap: 2px; }
.his-title { font-weight: 700; color: white; font-size: 0.9rem; }
.his-date { font-size: 0.75rem; color: #64748b; }
.his-amount { font-family: 'Rajdhani'; font-weight: 700; font-size: 1.1rem; }
.his-status { font-size: 0.65rem; padding: 2px 6px; border-radius: 3px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-top: 2px; }
.match-list-container { padding: 10px 20px; }
