/* ===== style.css ===== */
:root {
    --momo-pink: #d82d8b;
    --momo-purple: #8a2387;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border-color: #e8eaed;
    --bg-light: #f5f7fa;
    --shadow: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-light); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text-dark); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* ===== GAME TABS ===== */
.game-tabs-wrapper { background: white; border-radius: 16px; padding: 8px; margin-bottom: 20px; box-shadow: var(--shadow); }
.game-tabs { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; }
.game-tabs li { padding: 10px 24px; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text-muted); transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.game-tabs li:hover { background: #f1f3f5; color: var(--text-dark); }
.game-tabs li.active { background: linear-gradient(135deg, var(--momo-pink), var(--momo-purple)); color: white; box-shadow: 0 4px 15px rgba(216,45,139,0.3); }
.game-tabs li i { font-size: 18px; }

/* ===== GAME PANEL ===== */
.game-panel { display: none; }
.game-panel.active { display: block; }

/* ===== GAME HEADER ===== */
.game-header { background: white; border-radius: 16px; padding: 20px 24px; margin-bottom: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.game-icon { width: 72px; height: 72px; border-radius: 12px; background: linear-gradient(135deg, #f093fb, #f5576c); display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; flex-shrink: 0; }
.game-title { font-size: 22px; font-weight: 700; margin: 0 0 4px 0; }
.badge-game { background: var(--momo-pink); color: white; padding: 4px 14px; border-radius: 20px; font-size: 12px; display: inline-block; font-weight: 600; }
.badge-partner { background: #28a745; color: white; padding: 4px 14px; border-radius: 20px; font-size: 12px; display: inline-block; font-weight: 600; }

/* ===== CARD ===== */
.card-custom { background: white; border-radius: 16px; padding: 20px 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card-custom .card-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
.text-momo { color: var(--momo-pink); }

/* ===== PACKAGE ===== */
.package-item { border: 2px solid var(--border-color); border-radius: 12px; padding: 14px 12px; cursor: pointer; transition: all 0.3s; height: 100%; text-align: center; background: white; }
.package-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #c0c4cc; }
.package-item.selected { border-color: var(--momo-pink); background: #fdf2f9; box-shadow: 0 0 0 3px rgba(216,45,139,0.12); }
.package-item .package-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.package-item .package-price { font-weight: 700; color: var(--momo-pink); font-size: 16px; margin-top: 4px; }

/* ===== FORM ===== */
.form-control-custom { border-radius: 10px; border: 2px solid var(--border-color); padding: 10px 14px; width: 100%; transition: 0.3s; font-size: 14px; background: white; }
.form-control-custom:focus { border-color: var(--momo-pink); outline: none; box-shadow: 0 0 0 3px rgba(216,45,139,0.1); }
.form-group { margin-bottom: 16px; }
.form-group label { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; display: block; }

/* ===== ORDER SUMMARY ===== */
.order-summary { background: #f8f9fa; border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.order-summary hr { border-color: #e8eaed; margin: 8px 0; }

/* ===== BUTTONS ===== */
.btn-payment { background: linear-gradient(135deg, var(--momo-pink), var(--momo-purple)); color: white; border: none; padding: 14px 30px; border-radius: 50px; font-weight: 700; font-size: 16px; transition: 0.3s; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.btn-payment:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(216,45,139,0.35); color: white; }
.btn-payment:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary-custom { background: #f1f3f5; border: none; padding: 10px 24px; border-radius: 50px; font-weight: 600; color: #555; transition: 0.3s; cursor: pointer; }
.btn-secondary-custom:hover { background: #e8eaed; }

/* ===== STATUS ===== */
.status-pending { background: #fef3c7; color: #92400e; padding: 10px 14px; border-radius: 10px; font-weight: 600; border: 1px solid #fcd34d; }
.status-approved { background: #d1fae5; color: #065f46; padding: 10px 14px; border-radius: 10px; font-weight: 600; border: 1px solid #34d399; }
.status-rejected { background: #fee2e2; color: #991b1b; padding: 10px 14px; border-radius: 10px; font-weight: 600; border: 1px solid #f87171; }

/* ===== TOAST ===== */
.toast-custom { position: fixed; bottom: 30px; right: 30px; background: #1a1a2e; color: white; padding: 16px 24px; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.3); font-weight: 600; display: flex; align-items: center; gap: 14px; transform: translateY(100px); opacity: 0; transition: 0.4s cubic-bezier(0.34,1.56,0.64,1); z-index: 9999; max-width: 450px; font-size: 14px; }
.toast-custom.show { transform: translateY(0); opacity: 1; }
.toast-custom i:first-child { font-size: 24px; flex-shrink: 0; }
.toast-custom .toast-close { background: transparent; border: none; color: rgba(255,255,255,0.5); font-size: 20px; cursor: pointer; margin-left: auto; padding: 0 5px; }
.toast-custom .toast-close:hover { color: white; }
.toast-success i:first-child { color: #4ade80; }
.toast-error i:first-child { color: #f87171; }
.toast-info i:first-child { color: #60a5fa; }

/* ===== QR MODAL ===== */
.modal-qr .modal-content { border-radius: 20px; overflow: hidden; }
.modal-qr .modal-header { background: linear-gradient(135deg, var(--momo-pink), var(--momo-purple)); color: white; border: none; padding: 18px 24px; }
.modal-qr .modal-header .close { color: white; opacity: 0.8; font-size: 28px; }
.modal-qr .modal-header .close:hover { opacity: 1; }
.qr-wrapper { background: #f8f9fa; border-radius: 16px; padding: 20px; border: 2px dashed var(--momo-pink); margin-bottom: 16px; display: flex; justify-content: center; align-items: center; min-height: 200px; }
.qr-wrapper img { max-width: 220px; width: 100%; height: auto; border-radius: 8px; }
.transaction-id-box { background: #f0f0f0; border-radius: 10px; padding: 10px 16px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.transaction-id-box .btn-copy { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: 0.3s; }
.transaction-id-box .btn-copy:hover { background: #e8eaed; color: var(--momo-pink); }
.qr-info { background: #f8f9fa; border-radius: 12px; padding: 12px 16px; text-align: left; margin-bottom: 12px; }
.qr-info p { margin: 4px 0; font-size: 14px; }
.modal-qr .modal-footer { border-top: none; padding: 0 24px 20px 24px; gap: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .game-header { flex-direction: column; text-align: center; padding: 16px; }
    .game-title { font-size: 18px; }
    .card-custom { padding: 16px; }
    .game-tabs li { padding: 8px 14px; font-size: 13px; }
    .toast-custom { bottom: 16px; right: 16px; left: 16px; max-width: none; }
    .qr-wrapper { min-height: 160px; }
    .qr-wrapper img { max-width: 180px; }
}
@media (max-width: 576px) {
    .container { padding: 12px; }
    .game-icon { width: 56px; height: 56px; font-size: 24px; }
    .package-item { padding: 10px 8px; }
    .package-item .package-name { font-size: 12px; }
    .package-item .package-price { font-size: 14px; }
}