:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --bg: #f4f6f8;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --danger: #dc2626;
  --warn: #d97706;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', 'Hind Siliguri', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 640px; }
a { text-decoration: none; color: inherit; }

.site-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 20px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nav a { color: #fff; font-weight: 500; font-size: 14px; }
.btn-outline { border: 1px solid #fff; padding: 6px 14px; border-radius: 20px; }
.btn-solid { background: #fff; color: var(--primary-dark); padding: 6px 16px; border-radius: 20px; font-weight: 700; border: none; cursor: pointer; font-size: 14px; }
.btn-solid.full { width: 100%; display: block; text-align: center; margin-top: 10px; }

main.container { padding: 30px 20px 60px; }

.slider { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 30px; border-radius: 12px; }
.slider img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; }

.section-title { font-size: 20px; font-weight: 800; margin: 24px 0 14px; color: var(--primary-dark); }
.cat-title { font-size: 16px; font-weight: 700; margin: 20px 0 10px; color: var(--text); }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.game-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); text-align: center; transition: transform .15s; }
.game-card:hover { transform: translateY(-3px); }
.game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-card span { display: block; padding: 8px 6px; font-weight: 600; font-size: 13px; }

.game-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.game-header img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; }
.instructions { background: #fff; border-left: 4px solid var(--primary); padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.product-card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 8px; }
.product-name { font-weight: 700; }
.product-price { color: var(--primary-dark); font-weight: 800; font-size: 18px; }
.product-card input { padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.product-card .btn-solid { background: var(--primary); color: #fff; }

.auth-box { background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,.08); margin-top: 30px; }
.auth-box h2 { margin-bottom: 20px; color: var(--primary-dark); }
.auth-box label { display: block; margin: 12px 0 4px; font-size: 14px; font-weight: 600; }
.auth-box input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.auth-box .btn-solid { background: var(--primary); color: #fff; margin-top: 18px; padding: 10px; }
.muted { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.muted a { color: var(--primary-dark); font-weight: 600; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fee2e2; color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: var(--primary-light); color: var(--primary-dark); border: 1px solid #bbf7d0; }

.table-wrap { background: #fff; border-radius: 12px; overflow-x: auto; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #f8fafc; font-weight: 700; }

.badge { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.badge-active, .badge-completed, .badge-approved { background: var(--primary-light); color: var(--primary-dark); }
.badge-pending { background: #fef3c7; color: var(--warn); }
.badge-inactive, .badge-rejected, .badge-banned { background: #fee2e2; color: var(--danger); }

.profile-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.profile-card p { margin-bottom: 10px; }

.balance-display { margin-bottom: 16px; font-size: 15px; }
.deposit-form { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.08); margin-bottom: 30px; }
.deposit-form label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 14px; }
.deposit-form input, .deposit-form select { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px; }

.empty-state { color: var(--muted); text-align: center; padding: 30px; }
.site-footer { text-align: center; padding: 24px; color: var(--muted); font-size: 13px; }
