* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1A6DFF;
    --primary-dark: #0050D4;
    --primary-light: #E8F0FF;
    --green: #22C55E;
    --red: #EF4444;
    --orange: #F59E0B;
    --bg: #F0F4F8;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --border: #E5E7EB;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* SPLASH / HOME */
.splash {
    background: linear-gradient(180deg, #EBF4FF 0%, #FFFFFF 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    text-align: center;
}

.splash-badge {
    font-size: 13px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.splash-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.splash-title .red { color: #EF4444; }
.splash-title .blue { color: #1A6DFF; }
.splash-title .green { color: #22C55E; }
.splash-title .yellow { color: #F59E0B; }

.splash-graphic {
    width: 260px;
    height: 260px;
    margin: 20px 0;
    position: relative;
    background: linear-gradient(135deg, #FFE0B2, #FFCCBC);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.splash-graphic .carrom-board {
    font-size: 80px;
}

.splash-graphic .ludo-piece {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.splash-graphic .lp1 { background: #EF4444; top: 30px; left: 30px; }
.splash-graphic .lp2 { background: #22C55E; top: 30px; right: 30px; }
.splash-graphic .lp3 { background: #1A6DFF; bottom: 30px; left: 30px; }
.splash-graphic .lp4 { background: #F59E0B; bottom: 30px; right: 30px; }

.splash-graphic .dice {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.splash-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.splash-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}

.splash-features .feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.splash-features .feat-icon {
    font-size: 20px;
}

.splash-features .feat-check {
    color: var(--green);
    font-weight: bold;
    font-size: 14px;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-green { background: var(--green); color: white; }
.btn-red { background: var(--red); color: white; }

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
    display: inline-block;
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
}

.splash-footer {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.splash-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ONBOARDING */
.onboarding {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: white;
}

.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.onboarding-header .back {
    font-size: 22px;
    color: var(--text);
}

.onboarding-header .skip {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.onboarding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    text-align: center;
}

.onboarding-graphic {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #FFF9C4, #FFE082);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 30px;
}

.onboarding-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.onboarding-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.onboarding-content .note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
}

.onboarding-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.onboarding-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
}

.onboarding-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

.onboarding-footer {
    padding: 16px 20px 30px;
}

/* FORM PAGES */
.page {
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
}

.page-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.page-header .back {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg);
    cursor: pointer;
}

.page-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.page-body {
    flex: 1;
    padding: 10px 24px 30px;
    display: flex;
    flex-direction: column;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.page-body .subtitle {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group label .icon {
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group .input-row {
    display: flex;
    gap: 10px;
}

.form-group .input-row input { flex: 1; }

.form-group .input-icon {
    position: relative;
}

.form-group .input-icon input {
    padding-left: 40px;
}

.form-group .input-icon .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.5;
}

.form-group .eye-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px;
    cursor: pointer;
    width: auto !important;
    height: auto !important;
    padding: 4px !important;
    background: none !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #888;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-row a {
    color: var(--primary);
    font-weight: 600;
}

.social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    background: white;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary);
    font-weight: 700;
}

.form-footer .link-right {
    float: right;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-error { background: #FEE2E2; color: #991B1B; }
.alert-success { background: #DCFCE7; color: #166534; }

/* VERIFY EMAIL */
.verify-graphic {
    width: 120px;
    height: 120px;
    margin: 10px auto 20px;
    background: #EBF4FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.verify-graphic .check {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    border: 3px solid white;
    margin-top: 50px;
    margin-left: 50px;
}

.email-text {
    font-size: 15px;
    font-weight: 700;
    margin: 10px 0 4px;
}

.email-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.resend-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
}

/* PASSWORD REQUIREMENTS */
.pwd-requirements {
    margin: 12px 0;
}

.pwd-requirements .req {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.pwd-requirements .req.met { color: var(--green); }

/* DASHBOARD */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 8px;
}

.dash-header .greeting {
    font-size: 16px;
}

.dash-header .greeting strong {
    font-size: 18px;
}

.dash-header .bell {
    position: relative;
    font-size: 22px;
    cursor: pointer;
}

.dash-header .bell .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
    font-size: 9px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-card {
    margin: 12px 16px;
    padding: 18px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 26px;
    font-weight: 800;
}

.balance-amount .taka { font-size: 18px; }

.add-money-btn {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: none;
}

.quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    cursor: pointer;
}

.quick-action .qa-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.qa-green { background: #DCFCE7; }
.qa-red { background: #FEE2E2; }
.qa-yellow { background: #FEF3C7; }
.qa-purple { background: #EDE9FE; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 10px;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.section-header a {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.game-cards {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.game-card {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.game-card .gc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 10px;
}

.gc-ludo { background: linear-gradient(135deg, #FFCDD2, #EF9A9A); }
.gc-carrom { background: linear-gradient(135deg, #C8E6C9, #81C784); }

.game-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.game-card .gc-play {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* TOURNAMENTS PAGE */
.filter-tabs {
    display: flex;
    gap: 8px;
    padding: 8px 20px 12px;
    overflow-x: auto;
}

.filter-tabs .tab {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: white;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    white-space: nowrap;
    cursor: pointer;
}

.filter-tabs .tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tournament-list {
    padding: 0 16px 100px;
}

.tournament-card {
    background: white;
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 12px;
    align-items: center;
}

.tc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.tc-info {
    flex: 1;
}

.tc-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tc-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-secondary);
}

.tc-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.tc-meta .red { color: var(--red); }

.tc-join {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.tc-join.joined {
    background: var(--green);
}

/* TOURNAMENT DETAILS */
.detail-banner {
    padding: 20px;
    background: white;
    text-align: center;
}

.detail-banner .db-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 12px;
}

.detail-banner h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.detail-banner .db-mode {
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    margin: 0 20px 16px;
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-stat {
    background: white;
    padding: 14px;
    text-align: center;
}

.detail-stat .ds-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.detail-stat .ds-value {
    font-size: 16px;
    font-weight: 800;
}

.detail-stat .ds-value.green { color: var(--green); }

.how-to-play {
    padding: 0 20px 16px;
}

.how-to-play h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.how-to-play ol {
    padding-left: 18px;
}

.how-to-play li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
}

/* CHOOSE GAME */
.choose-game-list {
    padding: 12px 20px;
}

.choose-game-card {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
}

.cgc-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.cgc-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.cgc-info h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.cgc-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* WALLET */
.wallet-balance {
    text-align: center;
    padding: 30px 20px;
    background: white;
}

.wallet-balance .wb-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.wallet-balance .wb-amount {
    font-size: 36px;
    font-weight: 900;
}

.wallet-balance .wb-amount .taka { font-size: 24px; }

.wallet-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 16px;
    margin-top: 16px;
}

.wallet-actions .btn { flex: 1; }

.wallet-menu {
    padding: 0 16px;
}

.wallet-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.wmi-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wmi-left .wmi-icon {
    font-size: 20px;
}

.wmi-left span {
    font-size: 14px;
    font-weight: 600;
}

.wmi-arrow { font-size: 18px; color: #9CA3AF; }

/* ADD MONEY / WITHDRAW */
.method-list {
    padding: 0 20px 16px;
}

.method-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 2px solid transparent;
}

.method-card.selected {
    border-color: var(--primary);
}

.mc-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
}

.mc-bkash { background: #FF6B00; color: white; }
.mc-nagad { background: #F6921E; color: white; }

.mc-name {
    font-size: 15px;
    font-weight: 600;
}

.mc-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-card.selected .mc-check {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    font-size: 12px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.amount-chip {
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: white;
}

.amount-chip.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

/* DAILY BONUS */
.bonus-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
}

.bonus-graphic {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #FDE68A, #FCD34D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    margin-bottom: 24px;
}

.bonus-page h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
}

.bonus-page .bonus-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.bonus-amount {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary);
    margin: 10px 0 20px;
}

.bonus-amount .taka { font-size: 28px; }

.bonus-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 16px;
}

/* REFER & EARN */
.refer-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    margin: 12px 20px;
    box-shadow: var(--shadow);
}

.refer-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.refer-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 10px;
}

.code-row .code {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.copy-btn {
    padding: 6px 16px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.share-row {
    margin-top: 12px;
}

.share-row label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.share-url {
    display: flex;
    gap: 8px;
}

.share-url input {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    background: white;
}

/* PROFILE */
.profile-header {
    text-align: center;
    padding: 20px;
    background: white;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C7D2FE, #818CF8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 10px;
    color: white;
}

.profile-header h3 {
    font-size: 18px;
    font-weight: 800;
}

.profile-header .email {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-header .verified {
    font-size: 12px;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.profile-menu {
    padding: 12px 16px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.pmi-icon {
    font-size: 20px;
}

.pmi-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.pmi-arrow { font-size: 16px; color: #9CA3AF; }

.profile-menu-item.logout {
    color: var(--red);
}

/* PAYMENT METHODS */
.pm-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.pm-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-info .pm-name {
    font-size: 14px;
    font-weight: 700;
}

.pm-info .pm-phone {
    font-size: 12px;
    color: var(--text-secondary);
}

.pm-verified {
    font-size: 11px;
    color: var(--green);
    background: #DCFCE7;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* TRANSACTIONS */
.tx-tabs {
    display: flex;
    gap: 6px;
    padding: 8px 20px 12px;
    overflow-x: auto;
}

.tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.tx-item:last-child { border-bottom: none; }

.tx-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.tx-green { background: #DCFCE7; }
.tx-red { background: #FEE2E2; }
.tx-yellow { background: #FEF3C7; }

.tx-info .tx-title {
    font-size: 13px;
    font-weight: 600;
}

.tx-info .tx-time {
    font-size: 11px;
    color: var(--text-secondary);
}

.tx-amount {
    font-size: 14px;
    font-weight: 700;
}

.tx-amount.plus { color: var(--green); }
.tx-amount.minus { color: var(--red); }

.tx-page {
    padding: 0 20px 100px;
}

.view-all {
    text-align: center;
    padding: 16px;
}

.view-all a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

/* SUPPORT */
.support-list {
    padding: 12px 16px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.si-icon { font-size: 20px; }
.si-text { flex: 1; font-size: 14px; font-weight: 600; }
.si-arrow { font-size: 16px; color: #9CA3AF; }

.help-banner {
    margin: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #EBF4FF, #DBEAFE);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
}

.help-banner .hb-icon { font-size: 40px; }

.help-banner h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.help-banner p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* MORE PAGE */
.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 12px 20px;
}

.more-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.more-item .mi-icon {
    font-size: 28px;
}

.more-item .mi-text {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

/* NOTIFICATION DOT */
.notif-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0 14px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    z-index: 100;
    border-top: 1px solid var(--border);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-item .nav-icon { font-size: 20px; }
.nav-item .nav-label { font-weight: 600; }
.nav-item.active { color: var(--primary); }

/* PAGE BOTTOM SPACER */
.pb-spacer { height: 80px; }

/* NOTIFICATION PAGE */
.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.notif-item:last-child { border-bottom: none; }

.notif-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.notif-content .notif-title {
    font-size: 13px;
    font-weight: 600;
}

.notif-content .notif-msg {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.notif-content .notif-time {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* MATCH RESULT */
.match-card {
    background: white;
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.match-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.match-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.match-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.ms-won { background: #DCFCE7; color: #166534; }
.ms-lost { background: #FEE2E2; color: #991B1B; }
.ms-pending { background: #FEF3C7; color: #92400E; }

/* LEADERBOARD */
.lb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.lb-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    background: var(--bg);
}

.lb-rank.gold { background: #FEF3C7; color: #B45309; }
.lb-rank.silver { background: #F3F4F6; color: #6B7280; }
.lb-rank.bronze { background: #FEE2E2; color: #991B1B; }

.lb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C7D2FE, #818CF8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

.lb-info {
    flex: 1;
}

.lb-info .lb-name { font-size: 13px; font-weight: 700; }
.lb-info .lb-pts { font-size: 11px; color: var(--text-secondary); }

.lb-score {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

/* T&C PAGE */
.tc-content {
    padding: 16px 20px;
}

.tc-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 6px;
}

.tc-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}
