* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #0f2d1e; color: #fff; }
.navbar { background: #1a1a1a; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { font-size: 1.5em; font-weight: bold; color: #e6b422; }
.navbar .user-menu a { margin-left: 15px; color: #ccc; text-decoration: none; }
.navbar .user-menu a:hover { color: #fff; }
.container { max-width: 600px; margin: 40px auto; background: #1f4a2c; border-radius: 12px; padding: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.container h2 { text-align: center; margin-bottom: 20px; color: #e6b422; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: #ccc; }
.form-group input, .form-group select { width: 100%; padding: 10px; border-radius: 6px; border: none; font-size: 1em; }
.btn { background: #e6b422; color: #1a1a1a; padding: 12px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; font-size: 1em; }
.btn:hover { background: #d4a117; }
.btn:disabled { background: #555; cursor: not-allowed; }
.error-msg { color: #ff6b6b; margin-bottom: 10px; }
.success-msg { color: #2ecc71; margin-bottom: 10px; }
.balance { font-size: 1.3em; margin-bottom: 20px; text-align: right; }
.balance span { color: #e6b422; font-weight: bold; }
.game-area { margin-top: 20px; }
.cards { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.card { background: #fff; color: #000; width: 60px; height: 90px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4em; font-weight: bold; box-shadow: 2px 2px 5px rgba(0,0,0,0.4); }
.card.red { color: #c0392b; }
.card.back { background: #2c3e50; color: #fff; }
.qr-container { text-align: center; margin: 20px 0; }
.qr-container img { max-width: 250px; border: 3px solid #e6b422; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th, td { padding: 8px; border-bottom: 1px solid #444; text-align: left; }
th { background: #0f2d1e; color: #e6b422; }
tr:nth-child(even) { background: #163a23; }
.status-pending { color: #f39c12; }
.status-success { color: #2ecc71; }
.status-rejected { color: #e74c3c; }
.modal-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.7); justify-content:center; align-items:center; z-index:1000; }
.modal-content { background:#1f4a2c; padding:25px; border-radius:12px; max-width:400px; width:90%; }
.actions { margin-top:15px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
@media (max-width: 500px) { .container { margin: 10px; padding: 15px; } }