/* ========================================
   COMMON STYLES FOR LOGIN & OTP SCREENS
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

/* Logo Styles (Login Page) */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.about-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.play-icon {
    font-size: 12px;
    color: #666;
}

/* Back Button Styles (OTP Page) */
.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #DAA520;
}

.back-icon {
    font-size: 20px;
    font-weight: bold;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    flex: 1;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.title {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* ========================================
   FORM STYLES
   ======================================== */

.login-form,
.otp-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 16px;
    font-weight: 400;
}

/* Login Page Input Label */
.login-form .input-label {
    color: black;
}

/* OTP Page Input Label */
.otp-form .input-label {
    color: #999;
}

/* ========================================
   LOGIN PAGE SPECIFIC STYLES
   ======================================== */

/* Mobile Number Input */
.mobile-input {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid #e9ecef;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.mobile-input:focus {
    border-bottom-color: #DAA520;
}

.mobile-input.error {
    border-bottom-color: #e74c3c;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.link {
    color: #666;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link:hover {
    color: #DAA520;
}

/* ========================================
   OTP PAGE SPECIFIC STYLES
   ======================================== */

/* OTP Input Container */
.otp-input-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.otp-digit {
    width: 45px;
    height: 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

.otp-digit:focus {
    border-color: #DAA520;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
    z-index: 1;
}

.otp-digit.filled {
    border-color: #DAA520;
    background-color: rgba(218, 165, 32, 0.05);
}

.otp-digit.success {
    border-color: #27ae60;
    background-color: rgba(39, 174, 96, 0.05);
}

.otp-digit.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

/* OTP Info Section */
.otp-info {
    text-align: center;
    margin: 20px 0;
}

.sent-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.resend-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.timer {
    color: #DAA520;
    font-weight: 600;
}

.resend-btn {
    background: none;
    border: none;
    color: #DAA520;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.resend-btn:hover:not(:disabled) {
    background-color: rgba(218, 165, 32, 0.1);
    text-decoration: none;
}

.resend-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}

/* ========================================
   REGISTER PAGE SPECIFIC STYLES
   ======================================== */
/* ========================================
   REGISTER PAGE SPECIFIC STYLES
   ======================================== */

/* Register Form */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.register-form .input-group {
    gap: 16px;
}

/* Register Input Fields */
.register-input {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 2px solid #e9ecef;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.register-input:focus {
    border-bottom-color: #DAA520;
}

.register-input.error {
    border-bottom-color: #e74c3c;
}

.register-input::placeholder {
    color: #999;
    font-size: 16px;
}

/* Register Input Labels */
.register-form .input-label {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

/* Referral Section */
.referral-section {
    margin-top: 20px;
}

/* Referral Input - Initially Visible */
.referral-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.referral-input-group.hidden {
    display: none;
    opacity: 0;
}

.referral-toggle {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: color 0.3s ease;
}

.referral-toggle:hover {
    color: #DAA520;
}

/* Continue Button for Register */
.continue-btn {
    width: 100%;
    padding: 16px;
    margin-top: 40px;
    background-color: #DAA520;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover:not(:disabled) {
    background-color: #B8941A;
    transform: translateY(-1px);
}

.continue-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.continue-btn.loading {
    position: relative;
    color: transparent;
}

.continue-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* hello */

/* ========================================
   DASHBOARD PAGE SPECIFIC STYLES
   ======================================== */

/* ========================================
   DASHBOARD PAGE SPECIFIC STYLES
   ======================================== */

/* Dashboard Container - White Background */
.dashboard-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

.dashboard-container .container {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DAA520, #B8941A);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
}

.user-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #333;
}

.user-id {
    font-size: 12px;
    color: #666;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.qr-code {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qr-code::before {
    content: '';
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><rect width="30" height="30" fill="white"/><rect x="2" y="2" width="8" height="8" fill="black"/><rect x="20" y="2" width="8" height="8" fill="black"/><rect x="2" y="20" width="8" height="8" fill="black"/><rect x="4" y="4" width="4" height="4" fill="white"/><rect x="22" y="4" width="4" height="4" fill="white"/><rect x="4" y="22" width="4" height="4" fill="white"/><rect x="12" y="12" width="6" height="6" fill="black"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.qr-label {
    font-size: 11px;
    color: #666;
}

/* Dashboard Main Content */
.dashboard-container .main-content {
    flex: 1;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
}

/* Golden City Section */
.golden-city-section {
    text-align: center;
    margin-bottom: 40px;
}

.golden-city {
    position: relative;
    margin: 20px 0 40px 0;
}

.city-image {
    width: 100%;
    max-width: 350px;
    height: 200px;
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 50%, #DAA520 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
    margin: 0 auto;
}

.city-buildings {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 120"><rect x="20" y="60" width="30" height="60" fill="%23B8941A"/><rect x="70" y="30" width="40" height="90" fill="%23DAA520"/><rect x="130" y="10" width="50" height="110" fill="%23FFD700"/><rect x="200" y="40" width="35" height="80" fill="%23DAA520"/><rect x="250" y="50" width="30" height="70" fill="%23B8941A"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.city-platform {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 30px;
    background: linear-gradient(135deg, #B8941A 0%, #DAA520 50%, #B8941A 100%);
    border-radius: 50%;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0 40px 0;
}

.action-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-seat-btn {
    background: linear-gradient(135deg, #DAA520, #B8941A);
    color: white;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.book-seat-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.wallet-btn {
    background: #fff;
    color: #333;
    border: 2px solid #e9ecef;
}

.wallet-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #DAA520;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Game Sections */
.game-sections {
    background: #fff;
}

.game-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: left;
}

.game-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #DAA520;
}

.game-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.coming-soon {
    font-size: 28px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Dashboard Footer */
.dashboard-container .footer {
    padding: 24px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
    background: #fff;
}

.dashboard-container .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.dashboard-container .footer-link {
    color: #999;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.dashboard-container .footer-link:hover {
    color: #666;
}

.dashboard-container .disclaimer {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
}

/* ========================================
   PROFILE PAGE SPECIFIC STYLES
   ======================================== */

/* Profile Container */
.profile-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

.profile-container .container {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.profile-back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.profile-back-btn:hover {
    color: #DAA520;
}

.profile-back-icon {
    font-size: 20px;
    font-weight: bold;
}

/* Profile Content */
.profile-content {
    padding: 40px 24px;
    background: #fff;
}

/* User Profile Section */
.user-profile-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: #999;
    font-size: 32px;
}

.profile-avatar svg {
    width: 40px;
    height: 40px;
    fill: #999;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.profile-phone {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Profile Menu */
.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    list-style: none;
}

.profile-menu-item:hover {
    background-color: #f8f9fa;
}

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

.profile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.profile-menu-link:hover {
    color: #DAA520;
}

.profile-menu-content {
    flex: 1;
}

.profile-menu-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-menu-subtitle {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

.profile-menu-arrow {
    font-size: 16px;
    color: #ccc;
    transition: color 0.3s ease;
}

.profile-menu-link:hover .profile-menu-arrow {
    color: #DAA520;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-verified {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-under-review {
    background-color: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.status-rejected {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-in-progress {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Share Button */
.share-btn {
    background: none;
    border: none;
    color: #DAA520;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-btn:hover {
    background-color: rgba(218, 165, 32, 0.1);
}

/* Referral Code Section */
.referral-code-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.referral-code {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #333;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.copy-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: #DAA520;
    background-color: rgba(218, 165, 32, 0.1);
}

/* Logout Item */
.logout-item {
    color: #dc3545 !important;
}

.logout-item:hover {
    color: #c82333 !important;
    background-color: rgba(220, 53, 69, 0.05);
}

.logout-item .profile-menu-arrow {
    color: #dc3545;
}

/* Animations */
@keyframes cityGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
    }

    50% {
        box-shadow: 0 15px 40px rgba(218, 165, 32, 0.5);
    }
}

.city-image {
    animation: cityGlow 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.golden-city {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.user-avatar {
    animation: pulse 4s ease-in-out infinite;
}

/* ========================================
   WALLET PAGE SPECIFIC STYLES
   ======================================== */

/* ========================================
   WALLET PAGE SPECIFIC STYLES
   ======================================== */

/* Wallet Container */
.wallet-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

.wallet-container .container {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Wallet Header */
.wallet-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.wallet-back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.wallet-back-btn:hover {
    color: #DAA520;
}

.wallet-back-icon {
    font-size: 20px;
    font-weight: bold;
}

/* Wallet Content */
.wallet-content {
    padding: 30px 24px 0 24px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Wallet Balance Card */
.wallet-balance-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wallet-balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20px;
    width: 100px;
    height: 200px;
    background: linear-gradient(45deg, rgba(218, 165, 32, 0.1), rgba(184, 148, 26, 0.05));
    border-radius: 50%;
    transform: rotate(45deg);
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.balance-info h3 {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.wallet-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #DAA520, #B8941A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-holder-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.card-number {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Courier New', monospace;
}

/* Wallet Action Buttons */
.wallet-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.wallet-action-buttons-row {
    display: contents;
}

.wallet-action-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deposit-btn {
    background: linear-gradient(135deg, #DAA520, #B8941A);
    color: white;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.deposit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.withdraw-btn {
    background: #fff;
    color: #333;
    border: 2px solid #e9ecef;
}

.withdraw-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #DAA520;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buy-in-btn {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.buy-in-btn:hover:not(:disabled) {
    background: rgba(108, 117, 125, 0.2);
    border-color: #6c757d;
    transform: translateY(-2px);
}

.cashout-btn {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.cashout-btn:hover:not(:disabled) {
    background: rgba(108, 117, 125, 0.2);
    border-color: #6c757d;
    transform: translateY(-2px);
}

.wallet-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Transactions Section */
.transactions-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.transactions-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.view-all-btn {
    background: none;
    border: none;
    color: #DAA520;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.view-all-btn:hover {
    color: #B8941A;
}

/* Transactions List */
.transactions-list {
    flex: 1;
    margin-bottom: 20px;
}

/* Transaction Item */
.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.transaction-item:hover {
    background-color: rgba(248, 249, 250, 0.5);
    margin: 0 -24px;
    padding: 16px 24px;
    border-radius: 8px;
}

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

.transaction-details {
    flex: 1;
}

.transaction-date-time {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.transaction-description {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.transaction-id {
    font-size: 13px;
    color: #999;
    font-family: 'Courier New', monospace;
}

.transaction-amount-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.transaction-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 600;
    color: #28a745;
}

.transaction-amount.negative {
    color: #dc3545;
}

.transaction-arrow {
    font-size: 16px;
    color: #ccc;
    margin-top: 8px;
}

/* View All Transactions Button - Fixed at Bottom */
.wallet-bottom-section {
    margin-top: auto;
    padding: 20px 0 30px 0;
    border-top: 1px solid #f0f0f0;
}

.view-all-transactions-btn {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #DAA520;
    border: 2px solid #DAA520;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-transactions-btn:hover {
    background: #DAA520;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-radius: 50%;
    border-top-color: #DAA520;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes cardGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
}

.wallet-balance-card {
    animation: cardGlow 4s ease-in-out infinite;
}

@keyframes balanceCount {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.balance-amount {
    animation: balanceCount 0.6s ease-out;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.tab-btn.active {
    /* background-color: #f39c12; */
    background: linear-gradient(135deg, #DAA520, #B8941A);
    color: white;
}

.tab-btn:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.verification-card {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

.verification-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.proceed-btn {
    width: 200px;
    margin: 0 auto;
}

/* Upload Section */
.upload-section {
    padding: 20px 0;
}

.upload-instruction {
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.upload-area {
    background: white;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 60px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.upload-area:hover {
    border-color: #f39c12;
    background-color: #fefcf7;
}

.upload-area.dragover {
    border-color: #f39c12;
    background-color: #fef9f0;
}

.upload-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.plus-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #bbb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #bbb;
    font-weight: 300;
    transition: all 0.3s ease;
}

.upload-area:hover .plus-icon {
    border-color: #f39c12;
    color: #f39c12;
}

.file-info {
    color: #999;
    font-size: 12px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.upload-btn {
    width: 200px;
    margin: 0 auto;
    display: block;
}

/* File preview styles */
.file-preview {
    width: 100%;
    max-width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
}

.file-name {
    color: #333;
    font-size: 14px;
    margin-top: 10px;
    word-break: break-all;
}

.upload-btn {
    /* background-color: #f39c12; */
    background: linear-gradient(135deg, #DAA520, #B8941A);
    color: #333;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    width: 200px;
    margin: 0 auto;
    display: block;
    transition: all 0.2s;
}

.upload-btn:hover {
    background: linear-gradient(135deg, #DAA520, #B8941A);
}

/* Upload Section */
.upload-section {
    padding: 20px;
    text-align: left;
}

.upload-instruction {
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: left;
}

.upload-area {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 80px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-info {
    color: #999;
    font-size: 12px;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.4;
}



.upload-btn {
    background-color: #f39c12;
    color: #333;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all 0.2s;
}

.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);

}

.header h1{
    margin-right: 60px;
    color: white;
    font-size: 25px;
}

/* Verification Card */
.verification-card {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.verification-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: left;
}

/* Proceed Button with Gold Gradient */
.proceed-btn {
    background: linear-gradient(135deg, #DAA520, #B8941A);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.proceed-btn:hover {
    background: linear-gradient(135deg, #B8941A, #A0831A);
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.4);
    transform: translateY(-1px);
}

.proceed-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(218, 165, 32, 0.3);
}

/* Alternative Dark Theme Button (if needed) */
.proceed-btn-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.3);
}

.proceed-btn-dark:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.4);
    transform: translateY(-1px);
}

/* Bank Form Section */
.bank-form-section {
    padding: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.step-number {
    width: 20px;
    height: 20px;
    background-color: #666;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.bank-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.bank-input:focus {
    border-bottom-color: #DAA520;
}

.bank-input::placeholder {
    color: #999;
    font-size: 14px;
}

.verify-btn {
    background-color: #DAA520;
    color: #333;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all 0.2s;
    margin-top: 30px;
}

/* .verify-btn:hover {
    background-color: #DAA520;
} */

/* Notifications Content */
.notifications-content {
    padding: 20px 24px;
    background: #fff;
    flex: 1;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

/* Notification Items */
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.notification-info {
    flex: 1;
    padding-right: 15px;
}

.notification-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.notification-desc {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Active Toggle - Gold Theme */
.toggle-input:checked + .toggle-label {
    background: linear-gradient(135deg, #DAA520, #B8941A);
}

.toggle-input:checked + .toggle-label:before {
    transform: translateX(20px);
}

/* Focus state */
.toggle-input:focus + .toggle-label {
    box-shadow: 0 0 1px #DAA520;
}

/* Hover effects */
.notification-item:hover {
    background-color: rgba(248, 249, 250, 0.5);
    margin: 0 -24px;
    padding: 20px 24px;
    border-radius: 8px;
}

.toggle-label:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* About Content */
.about-content {
    padding: 20px 24px;
    background: #fff;
    flex: 1;
}

/* About Menu */
.about-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-menu-item {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.about-menu-item:hover {
    background-color: #f8f9fa;
}

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

.about-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.about-menu-link:hover {
    color: #DAA520;
}

.about-menu-title {
    font-size: 16px;
    font-weight: 400;
    flex: 1;
}

.about-menu-arrow {
    font-size: 18px;
    color: #ccc;
    transition: color 0.3s ease;
    font-weight: 300;
}

.about-menu-link:hover .about-menu-arrow {
    color: #DAA520;
}

/* Hover effects */
.about-menu-item:hover {
    background-color: rgba(248, 249, 250, 0.5);
    margin: 0 -24px;
    padding: 0 24px;
    border-radius: 8px;
}

.header h1 {
    margin: 0 auto;
    color: white;
    font-size: 18px;
    text-align: center;
    flex: 1;
}

.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    padding: 20px 24px;
    position: relative;
}

.back-btn {
    position: absolute;
    left: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* add here */

/* ========================================
   ERROR MESSAGES
   ======================================== */

.error-message {
    display: none;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.error-message.show {
    display: flex;
}

/* Center error message for OTP */
.otp-form .error-message {
    justify-content: center;
}

.error-icon {
    font-size: 16px;
}

/* ========================================
   BUTTONS
   ======================================== */

.proceed-btn {
    width: 100%;
    padding: 16px;
    margin-top: 40px;
    background-color: #DAA520;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.proceed-btn:hover:not(:disabled) {
    background-color: #B8941A;
    transform: translateY(-1px);
}

.proceed-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Loading state for proceed button */
.proceed-btn.loading {
    position: relative;
    color: transparent;
}

.proceed-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
    padding: 24px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: #999;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #666;
}

.disclaimer {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.mobile-input.shake {
    animation: shake 0.5s ease-in-out;
}

.otp-input-container.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.otp-digit.pulse {
    animation: pulse 0.3s ease-in-out;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        box-shadow: none;
    }

    .header {
        padding: 16px 20px;
    }

    .logo-text {
        font-size: 14px;
    }

    .about-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .back-btn {
        font-size: 15px;
    }

    .main-content {
        padding: 30px 20px;
    }

    .title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .input-label {
        font-size: 15px;
    }

    .mobile-input {
        font-size: 16px;
        padding: 14px 0;
    }

    .checkbox-label {
        font-size: 13px;
    }

    .otp-digit {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .otp-input-container {
        gap: 8px;
    }

    .sent-message {
        font-size: 15px;
    }

    .resend-info {
        font-size: 13px;
    }

    .proceed-btn {
        padding: 14px;
        font-size: 15px;
        margin-top: 30px;
    }

    .footer {
        padding: 20px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-link {
        font-size: 13px;
    }

    .disclaimer {
        font-size: 11px;
    }

    .register-input {
        font-size: 16px;
        padding: 14px 0;
    }

    .register-form .input-label {
        font-size: 15px;
    }

    .continue-btn {
        padding: 14px;
        font-size: 15px;
        margin-top: 30px;
    }

    .referral-toggle {
        font-size: 15px;
    }

    .profile-header {
        padding: 16px 20px;
    }

    .profile-back-btn {
        font-size: 16px;
    }

    .profile-back-icon {
        font-size: 18px;
    }

    .profile-content {
        padding: 30px 20px;
    }

    .profile-avatar {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .profile-name {
        font-size: 17px;
    }

    .profile-phone {
        font-size: 13px;
    }

    .profile-menu-title {
        font-size: 15px;
    }

    .profile-menu-subtitle {
        font-size: 12px;
    }

    .wallet-header {
        padding: 16px 20px;
    }

    .wallet-back-btn {
        font-size: 16px;
    }

    .wallet-back-icon {
        font-size: 18px;
    }

    .wallet-content {
        padding: 24px 20px;
    }

    .wallet-balance-card {
        padding: 20px;
        margin-bottom: 25px;
    }

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

    .wallet-logo {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .card-holder-name {
        font-size: 15px;
    }

    .card-number {
        font-size: 13px;
    }

    .wallet-action-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }

    .wallet-action-btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .transactions-title {
        font-size: 18px;
    }

    .view-all-btn {
        font-size: 13px;
    }

    .transaction-description {
        font-size: 14px;
    }

    .transaction-amount {
        font-size: 15px;
    }

    .view-all-transactions-btn {
        padding: 12px;
        font-size: 13px;
    }

}

@media (max-width: 360px) {
    .container {
        padding: 0 12px 12px;
    }

    .header {
        margin: 0 -12px 12px;
        padding: 12px;
    }

    .header h1 {
        font-size: 16px;
    }

    .upload-section {
        padding: 12px;
    }

    .upload-area {
        padding: 50px 12px;
    }

    .plus-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .tab-navigation {
        margin-bottom: 20px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 25px 25px;
    }

    .upload-section {
        padding: 25px;
    }

    .upload-area {
        padding: 100px 25px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 16px;
    }

    .main-content {
        padding: 24px 16px;
    }

    .title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .otp-digit {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .otp-input-container {
        gap: 6px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-header {
        padding: 12px 16px;
    }

    .user-info {
        gap: 10px;
    }

    .golden-city-section {
        padding: 16px 16px;
    }

    .city-image {
        height: 140px;
        max-width: 280px;
    }

    .action-buttons {
        gap: 12px;
        justify-content: center;
    }

    .action-btn {
        padding: 12px 20px;
        min-width: 100px;
        font-size: 13px;
    }

    .game-sections {
        padding: 0 16px 30px 16px;
    }

    .game-image {
        height: 90px;
    }

    .coming-soon {
        font-size: 18px;
        letter-spacing: 1px;
    }

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

    .profile-content {
        padding: 24px 16px;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .profile-name {
        font-size: 16px;
    }

    .profile-phone {
        font-size: 12px;
    }

    .profile-menu-title {
        font-size: 14px;
    }

    .profile-menu-subtitle {
        font-size: 11px;
    }

    .status-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .wallet-header {
        padding: 12px 16px;
    }

    .wallet-content {
        padding: 20px 16px;
    }

    .wallet-balance-card {
        padding: 18px;
        margin-bottom: 20px;
    }

    .balance-amount {
        font-size: 22px;
    }

    .wallet-logo {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .wallet-action-buttons {
        gap: 10px;
    }

    .wallet-action-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .transaction-item:hover {
        margin: 0 -16px;
        padding: 16px 16px;
    }

    .transaction-date-time {
        font-size: 12px;
    }

    .transaction-description {
        font-size: 13px;
    }

    .transaction-id {
        font-size: 12px;
    }

    .transaction-amount {
        font-size: 14px;
    }

    .status-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .container {
        padding: 0 15px 15px;
    }

    .header {
        margin: 0 -15px 15px;
        padding: 15px;
    }

    .upload-section {
        padding: 15px;
    }

    .upload-instruction {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .upload-area {
        padding: 60px 15px;
        margin-bottom: 12px;
    }

    .plus-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .file-info {
        font-size: 11px;
        margin-bottom: 15px;
    }

   .upload-btn {
    background: linear-gradient(135deg, #DAA520, #B8941A);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.upload-btn:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
    transform: translateY(-1px);
}

.upload-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(243, 156, 18, 0.3);
}

    .tab-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */

.touch-device .otp-digit:focus {
    font-size: 16px;
    /* Prevent zoom on iOS */
}

.touch-device .mobile-input:focus {
    font-size: 16px;
    /* Prevent zoom on iOS */
}

/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   ======================================== */

/* Ultra-small screens (320px and below) */
@media (max-width: 320px) {
    .container {
        max-width: 100%;
        padding: 0 10px 10px;
    }

    .header {
        padding: 10px 12px;
        margin: 0 -10px 10px;
    }

    .header h1 {
        font-size: 14px;
    }

    .main-content {
        padding: 16px 12px;
    }

    .title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* OTP inputs for tiny screens */
    .otp-digit {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
    }

    .otp-input-container {
        gap: 4px;
    }

    /* Buttons */
    .proceed-btn,
    .continue-btn,
    .action-btn {
        padding: 12px 16px;
        font-size: 13px;
        min-width: auto;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
    }

    /* Wallet balance */
    .wallet-balance-card {
        padding: 15px;
        border-radius: 15px;
    }

    .balance-amount {
        font-size: 20px;
    }

    .wallet-logo {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .wallet-action-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wallet-action-btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    /* Transaction items */
    .transaction-item {
        padding: 12px 0;
    }

    .transaction-description {
        font-size: 12px;
    }

    .transaction-amount {
        font-size: 13px;
    }

    .transaction-date-time {
        font-size: 11px;
    }

    .transaction-status {
        font-size: 9px;
        padding: 2px 5px;
    }

    /* Profile */
    .profile-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .profile-name {
        font-size: 14px;
    }

    .profile-menu-title {
        font-size: 13px;
    }

    .profile-menu-subtitle {
        font-size: 10px;
    }

    /* Footer */
    .footer {
        padding: 15px 10px;
    }

    .footer-links {
        gap: 6px;
    }

    .footer-link {
        font-size: 11px;
    }

    .disclaimer {
        font-size: 10px;
    }

    /* Tabs */
    .tab-btn {
        padding: 8px 8px;
        font-size: 11px;
    }

    /* Upload area */
    .upload-area {
        padding: 40px 10px;
    }

    .plus-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ========================================
   IMPROVED TOUCH TARGETS & ACCESSIBILITY
   ======================================== */

/* Ensure all clickable elements have minimum 44px touch target */
@media (max-width: 768px) {
    .profile-menu-link,
    .about-menu-link {
        min-height: 48px;
        padding: 14px 0;
    }

    .back-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .toggle-switch {
        width: 50px;
        height: 28px;
    }

    .toggle-label:before {
        width: 22px;
        height: 22px;
    }

    .toggle-input:checked + .toggle-label:before {
        transform: translateX(22px);
    }

    /* Inputs should be 16px to prevent iOS zoom */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .mobile-input,
    .register-input,
    .bank-input {
        font-size: 16px !important;
        padding: 16px 0;
    }
}

/* ========================================
   SAFE AREA HANDLING (Notched devices)
   ======================================== */

@supports (padding: env(safe-area-inset-top)) {
    .container {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: max(env(safe-area-inset-left), 15px);
        padding-right: max(env(safe-area-inset-right), 15px);
    }

    .header {
        padding-top: max(env(safe-area-inset-top), 15px);
    }

    .footer {
        padding-bottom: max(env(safe-area-inset-bottom), 20px);
    }

    .wallet-bottom-section {
        padding-bottom: max(env(safe-area-inset-bottom), 30px);
    }
}

/* ========================================
   QR CODE PAGE MOBILE ENHANCEMENTS
   ======================================== */

@media (max-width: 480px) {
    .qr-section {
        gap: 6px;
    }

    .qr-code {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .qr-label {
        font-size: 10px;
    }

    /* QR Scanner fullscreen mode for camera */
    .qr-scanner-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: #000;
    }

    .qr-scanner-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .qr-scanner-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70vw;
        max-width: 280px;
        height: 70vw;
        max-height: 280px;
        border: 3px solid #DAA520;
        border-radius: 12px;
    }

    .qr-scanner-close {
        position: absolute;
        top: env(safe-area-inset-top, 20px);
        right: 20px;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.6);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
}

/* ========================================
   PLAYER IDENTIFICATION MOBILE
   ======================================== */

@media (max-width: 480px) {
    .verification-card {
        padding: 25px 15px;
        margin-top: 20px;
        border-radius: 10px;
    }

    .verification-text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .upload-instruction {
        font-size: 12px;
    }

    .step-number {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .input-label {
        font-size: 13px;
        gap: 6px;
    }
}

/* ========================================
   DEALER MANAGEMENT MOBILE
   ======================================== */

@media (max-width: 480px) {
    .dealer-card,
    .management-card {
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .dealer-info,
    .management-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .dealer-actions,
    .management-actions {
        flex-direction: column;
        gap: 8px;
    }

    .dealer-btn,
    .management-btn {
        width: 100%;
        padding: 12px;
    }
}

/* ========================================
   TRANSACTION LIST IMPROVEMENTS
   ======================================== */

@media (max-width: 480px) {
    .transactions-list {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .transaction-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .transaction-details {
        width: 100%;
        order: 1;
    }

    .transaction-amount-section {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        order: 2;
        padding-top: 8px;
        border-top: 1px dashed #f0f0f0;
    }

    .transaction-arrow {
        display: none;
    }
}

/* ========================================
   ANIMATIONS REDUCED FOR MOBILE
   ======================================== */

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .city-image,
    .golden-city,
    .user-avatar,
    .wallet-balance-card {
        animation: none;
    }
}

/* ========================================
   LANDSCAPE MODE ADJUSTMENTS
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .container {
        min-height: auto;
    }

    .golden-city-section {
        margin-bottom: 20px;
    }

    .city-image {
        height: 100px;
        max-width: 200px;
    }

    .main-content {
        padding: 20px 16px;
    }

    .footer {
        padding: 12px;
    }
}

/* ========================================
   PRINT STYLES (hide non-essential)
   ======================================== */

@media print {
    .header,
    .footer,
    .action-buttons,
    .wallet-action-buttons,
    .qr-section {
        display: none !important;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
    }
}

/* ========================================
   PROTOTYPE GLASSMORPHISM OVERRIDES (poker-screens/*)
   Player-only HTML prototypes on :5000
   ======================================== */

:root {
    --pl-gold: #D4AF37;
    --pl-gold-bright: #E5B800;
    --pl-gold-glow: rgba(212, 175, 55, 0.35);
    --pl-dark-1: #0f0c29;
    --pl-dark-2: #1a1042;
    --pl-dark-3: #2d1b69;
    --pl-light-1: #e8deff;
    --pl-light-2: #f0ebff;
    --pl-light-3: #faf5ff;
    --pl-text-dark: #1a0f3c;
    --pl-text-muted: #6b7280;
    --pl-card-radius: 20px;
    --pl-pill-radius: 999px;
    --pl-glass-light: rgba(255, 255, 255, 0.54);
    --pl-glass-border: rgba(255, 255, 255, 0.68);
}

/* Common page frame for HTML prototypes */
body.player-login-screen,
body.player-otp-screen,
body.dashboard-container,
body.wallet-container,
body.profile-container,
body.qr-modal-container {
    min-height: 100vh;
    font-family: 'Poppins', 'Inter', 'Segoe UI', sans-serif !important;
}

body.player-login-screen,
body.player-otp-screen,
body.dashboard-container {
    background:
        radial-gradient(360px 260px at 85% 10%, rgba(212, 175, 55, 0.12), transparent 70%),
        radial-gradient(420px 300px at 15% 85%, rgba(168, 85, 247, 0.18), transparent 72%),
        linear-gradient(160deg, var(--pl-dark-3) 0%, var(--pl-dark-2) 45%, var(--pl-dark-1) 100%) !important;
}

body.wallet-container,
body.profile-container,
body.qr-modal-container {
    background:
        radial-gradient(320px 240px at 90% 12%, rgba(196, 181, 253, 0.45), transparent 70%),
        radial-gradient(320px 220px at 10% 86%, rgba(212, 175, 55, 0.14), transparent 72%),
        linear-gradient(165deg, var(--pl-light-1) 0%, var(--pl-light-2) 48%, var(--pl-light-3) 100%) !important;
}

body.player-login-screen .container,
body.player-otp-screen .container,
body.dashboard-container .container,
body.wallet-container .container,
body.profile-container .container,
body.qr-modal-container .container {
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.player-login-screen .container::before,
body.player-otp-screen .container::before,
body.dashboard-container .container::before,
body.wallet-container .container::before,
body.profile-container .container::before,
body.qr-modal-container .container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0));
}

/* ----- Login + OTP (dark glass) ----- */
body.player-login-screen .header,
body.player-otp-screen .header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 12px 12px 0 !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
    position: relative;
    z-index: 2;
}

body.player-login-screen .main-content,
body.player-otp-screen .main-content {
    padding: 24px 14px 14px !important;
    justify-content: flex-start;
}

body.player-login-screen .form-container,
body.player-otp-screen .form-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border-radius: 28px;
    padding: 28px 20px 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

body.player-login-screen .logo-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
}

body.player-login-screen .about-btn {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #4b5563 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: var(--pl-pill-radius) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

body.player-login-screen .play-icon {
    color: #6b7280 !important;
}

body.player-login-screen .title,
body.player-otp-screen .title {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    margin-bottom: 10px !important;
}

body.player-login-screen .title::after {
    /* content: ""; */
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

body.player-login-screen .input-label,
body.player-otp-screen .input-label {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px;
}

body.player-login-screen .mobile-input {
    border: 1px solid rgba(255, 255, 255, 0.84) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: var(--pl-pill-radius) !important;
    padding: 14px 18px !important;
    color: var(--pl-text-dark) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

body.player-login-screen .mobile-input::placeholder {
    color: #9ca3af !important;
}

body.player-login-screen .mobile-input:focus {
    border-color: rgba(212, 175, 55, 0.8) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 8px 20px rgba(0,0,0,0.14) !important;
}

body.player-login-screen .checkbox-group {
    align-items: flex-start;
    margin-top: 6px !important;
    gap: 10px !important;
}

body.player-login-screen .checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    margin-top: 1px;
}

body.player-login-screen .checkbox:checked {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold));
    border-color: var(--pl-gold-bright);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

body.player-login-screen .checkbox-label {
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.player-login-screen .link {
    color: rgba(212, 175, 55, 0.95) !important;
}

body.player-login-screen .error-message,
body.player-otp-screen .error-message {
    background: rgba(127, 29, 29, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.22);
    color: #fca5a5 !important;
    border-radius: 12px;
    padding: 8px 10px;
}

body.player-login-screen .club-banner {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #fff !important;
}

body.player-login-screen .proceed-btn,
body.player-otp-screen .proceed-btn {
    width: 100% !important;
    border: 1px solid rgba(255, 232, 160, 0.28) !important;
    border-radius: var(--pl-pill-radius) !important;
    background: linear-gradient(180deg, #f6dc78 0%, #ecc74f 22%, #d7a73a 58%, #b57f26 100%) !important;
    color: #251255 !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow:
        0 8px 22px rgba(229, 184, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(133, 86, 18, 0.2) !important;
    margin-top: 2px !important;
}

body.player-login-screen .proceed-btn:hover:not(:disabled),
body.player-otp-screen .proceed-btn:hover:not(:disabled) {
    transform: translateY(-1px) !important;
    box-shadow:
        0 12px 28px rgba(229, 184, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        inset 0 -1px 0 rgba(133, 86, 18, 0.22) !important;
}

body.player-login-screen .proceed-btn:disabled,
body.player-otp-screen .proceed-btn:disabled {
    opacity: 1 !important;
    box-shadow:
        0 4px 14px rgba(229, 184, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

body.player-login-screen .footer,
body.player-otp-screen .footer {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 6px 14px 0 !important;
    padding: 16px 6px calc(12px + env(safe-area-inset-bottom)) !important;
}

body.player-login-screen .footer .disclaimer,
body.player-otp-screen .footer .disclaimer {
    color: rgba(255, 255, 255, 0.36) !important;
}

body.player-otp-screen .back-btn {
    color: #ffffff !important;
    font-weight: 500;
}

body.player-otp-screen .otp-input-container {
    gap: 8px !important;
    justify-content: space-between !important;
}

body.player-otp-screen .otp-digit {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.player-otp-screen .otp-digit:focus {
    border-color: var(--pl-gold-bright) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14), 0 0 18px rgba(212,175,55,0.22) !important;
}

body.player-otp-screen .otp-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.76) !important;
}

body.player-otp-screen .sent-message {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600 !important;
}

body.player-otp-screen .resend-info {
    color: rgba(255,255,255,0.52) !important;
}

body.player-otp-screen .timer {
    color: var(--pl-gold-bright) !important;
    font-weight: 700 !important;
}

body.player-otp-screen .resend-btn {
    color: rgba(255,255,255,0.55) !important;
}

body.player-otp-screen .resend-btn:not(:disabled) {
    color: rgba(212,175,55,0.95) !important;
}

body.player-otp-screen .footer-links .footer-link {
    color: rgba(255,255,255,0.54) !important;
}

/* ----- Dashboard prototype (dark glass) ----- */
body.dashboard-container .dashboard-header {
    margin: 12px clamp(14px, 4vw, 48px) 10px;
    padding: 14px 16px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,0.22) !important;
}

body.dashboard-container .dashboard-container .main-content,
body.dashboard-container .main-content {
    padding: 10px clamp(14px, 4vw, 48px) 100px !important;
}

body.dashboard-container .user-avatar {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #1a0f3c !important;
    box-shadow: 0 6px 18px rgba(212,175,55,0.3) !important;
}

body.dashboard-container .user-details h3,
body.dashboard-container .user-id {
    color: #fff !important;
}

body.dashboard-container .user-id {
    opacity: 0.7;
}

body.dashboard-container .qr-section {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 18px !important;
    padding: 10px 12px !important;
    min-width: 92px;
}

body.dashboard-container .qr-code {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(212,175,55,0.28) !important;
}

body.dashboard-container .qr-code.checked-in,
body.dashboard-container .qr-section.checked-in .qr-code {
    background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
    box-shadow: 0 6px 16px rgba(124,58,237,0.26) !important;
}

body.dashboard-container .qr-label {
    color: rgba(255,255,255,0.9) !important;
}

body.dashboard-container .qr-location {
    color: rgba(255,255,255,0.55) !important;
}

body.dashboard-container .golden-city-section {
    background: transparent !important;
    margin-bottom: 18px !important;
}

body.dashboard-container .golden-city {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 14px 28px rgba(0,0,0,0.22) !important;
}

body.dashboard-container .action-buttons {
    gap: 10px !important;
    margin-top: 14px !important;
}

body.dashboard-container .action-btn {
    border-radius: var(--pl-pill-radius) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
}

body.dashboard-container .book-seat-btn {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #1a0f3c !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(212,175,55,0.28) !important;
}

body.dashboard-container .wallet-btn {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

body.dashboard-container .section-title {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 700 !important;
}

body.dashboard-container .game-card {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;
}

body.dashboard-container .coming-soon {
    background: rgba(255,255,255,0.88) !important;
    color: #4b5563 !important;
    border-radius: var(--pl-pill-radius) !important;
}

/* ----- Wallet prototype (light glass) ----- */
body.wallet-container .wallet-header {
    margin: 12px clamp(14px, 4vw, 48px) 10px;
    padding: 14px 14px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08) !important;
}

body.wallet-container .wallet-back-btn {
    color: var(--pl-text-dark) !important;
    font-weight: 700 !important;
}

body.wallet-container .wallet-content {
    padding: 10px 14px 28px !important;
}

body.wallet-container .wallet-balance-card {
    background:
        radial-gradient(120px 120px at 88% 18%, rgba(212,175,55,0.22), transparent 55%),
        linear-gradient(135deg, #22293a 0%, #1f2432 42%, #182236 100%) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 36px rgba(17,24,39,0.22) !important;
}

body.wallet-container .wallet-balance-card::before {
    display: none !important;
}

body.wallet-container .balance-info h3,
body.wallet-container .card-holder-name,
body.wallet-container .card-number {
    color: rgba(255,255,255,0.9) !important;
}

body.wallet-container .balance-amount {
    color: #ffffff !important;
}

body.wallet-container .wallet-logo {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #1a0f3c !important;
    box-shadow: 0 10px 18px rgba(212,175,55,0.22) !important;
}

body.wallet-container .transaction-item {
    background: rgba(255,255,255,0.56) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 6px 16px rgba(31,41,55,0.05) !important;
    margin-bottom: 10px !important;
}

body.wallet-container .no-transactions {
    color: rgba(75, 85, 99, 0.7) !important;
    text-align: center;
    padding: 40px 8px !important;
}

body.wallet-container .view-all-transactions-btn {
    border-radius: var(--pl-pill-radius) !important;
    border: 1.5px solid rgba(212,175,55,0.85) !important;
    background: rgba(255,255,255,0.36) !important;
    color: #c99700 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    letter-spacing: 1px !important;
}

/* ----- Profile prototype (light glass list cards) ----- */
body.profile-container .profile-header {
    margin: 12px clamp(14px, 4vw, 48px) 10px;
    padding: 14px 14px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08) !important;
}

body.profile-container .profile-back-btn {
    color: var(--pl-text-dark) !important;
    font-weight: 700 !important;
}

body.profile-container .profile-content {
    padding: 12px clamp(14px, 4vw, 48px) 24px !important;
}

body.profile-container .user-profile-section {
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(31,41,55,0.08);
    padding: 22px 14px !important;
}

body.profile-container .profile-avatar {
    width: 78px !important;
    height: 78px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.72) !important;
    border: 2px solid rgba(167,139,250,0.5) !important;
    color: #94a3b8 !important;
    box-shadow: 0 8px 20px rgba(124,58,237,0.12) !important;
    position: relative;
}

body.profile-container .profile-avatar::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    right: 3px;
    bottom: 3px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(34,197,94,0.3);
}

body.profile-container .profile-name {
    color: var(--pl-text-dark) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

body.profile-container .profile-phone {
    color: var(--pl-text-muted) !important;
}

body.profile-container .profile-menu {
    background: transparent !important;
    margin-top: 14px !important;
}

body.profile-container .profile-menu-item {
    background: rgba(255,255,255,0.56) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 6px 16px rgba(31,41,55,0.05) !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

body.profile-container .profile-menu-link {
    padding: 14px 14px !important;
    border-radius: 18px !important;
}

body.profile-container .profile-menu-title {
    color: var(--pl-text-dark) !important;
    font-weight: 600 !important;
}

body.profile-container .profile-menu-subtitle {
    color: var(--pl-text-muted) !important;
}

body.profile-container .profile-menu-arrow {
    color: #9ca3af !important;
}

body.profile-container .status-badge {
    border-radius: var(--pl-pill-radius) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

body.profile-container .status-verified {
    background: rgba(187,247,208,0.72) !important;
    color: #15803d !important;
    border: 1px solid rgba(134,239,172,0.55);
}

body.profile-container .status-pending {
    background: rgba(254,243,199,0.78) !important;
    color: #92400e !important;
    border: 1px solid rgba(253,224,132,0.55);
}

body.profile-container .share-btn {
    border-radius: 10px !important;
    background: rgba(139,92,246,0.12) !important;
    color: #8b5cf6 !important;
    border: 1px solid rgba(196,181,253,0.45) !important;
}

body.profile-container .copy-btn {
    border-radius: 10px !important;
    background: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(196,181,253,0.45) !important;
}

body.profile-container .logout-item .profile-menu-title,
body.profile-container .logout-item .profile-menu-arrow {
    color: #ef4444 !important;
}

/* ----- QR Code prototype (light glass) -----
   Uses !important because qrCode.html includes a later inline <style> block.
*/
body.qr-modal-container .qr-header {
    margin: 12px 14px 10px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 24px rgba(31,41,55,0.08) !important;
}

body.qr-modal-container .back-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.9) !important;
    color: var(--pl-text-dark) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(31,41,55,0.08) !important;
}

body.qr-modal-container .qr-tab-btn {
    border-radius: var(--pl-pill-radius) !important;
    background: rgba(196,181,253,0.42) !important;
    border: 1px solid rgba(196,181,253,0.5) !important;
    color: #4c1d95 !important;
    font-weight: 700 !important;
}

body.qr-modal-container .qr-main-content {
    padding: 8px 14px 20px !important;
}

body.qr-modal-container .qr-content-wrapper {
    background: transparent !important;
    padding: 0 !important;
}

body.qr-modal-container .qr-title {
    color: var(--pl-text-dark) !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}

body.qr-modal-container .verification-warning {
    background: rgba(255, 251, 235, 0.82) !important;
    border: 1px solid rgba(253,224,132,0.7) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 18px rgba(161,98,7,0.08) !important;
}

body.qr-modal-container .warning-title {
    color: #92400e !important;
}

body.qr-modal-container .status-item {
    border-radius: 12px !important;
    background: rgba(255,255,255,0.7) !important;
}

body.qr-modal-container .status-item.pending {
    border: 1px solid rgba(253,224,132,0.5) !important;
}

body.qr-modal-container .status-item.verified {
    border: 1px solid rgba(134,239,172,0.5) !important;
    background: rgba(236,253,245,0.8) !important;
}

body.qr-modal-container .complete-verification-btn {
    border-radius: var(--pl-pill-radius) !important;
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #1a0f3c !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(212,175,55,0.28) !important;
}

body.qr-modal-container .qr-code-section {
    margin-top: 10px !important;
}

body.qr-modal-container .qr-code-container {
    background: rgba(255,255,255,0.42) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 14px 28px rgba(31,41,55,0.08) !important;
}

body.qr-modal-container .qr-code-frame {
    background: rgba(255,255,255,0.82) !important;
    border: 1px solid rgba(255,255,255,0.88) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 20px rgba(31,41,55,0.05) !important;
}

body.qr-modal-container .qr-code-image {
    border-radius: 10px !important;
    background: #fff !important;
    padding: 8px !important;
}

body.qr-modal-container .qr-loading-section .loading-container {
    background: rgba(255,255,255,0.56) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Mobile tuning for prototype pages */
@media (max-width: 480px) {
    body.player-login-screen .header,
    body.player-otp-screen .header,
    body.dashboard-container .dashboard-header,
    body.wallet-container .wallet-header,
    body.profile-container .profile-header,
    body.qr-modal-container .qr-header {
        margin-left: 10px;
        margin-right: 10px;
    }

    body.player-login-screen .main-content,
    body.player-otp-screen .main-content,
    body.dashboard-container .main-content,
    body.wallet-container .wallet-content,
    body.profile-container .profile-content,
    body.qr-modal-container .qr-main-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.player-otp-screen .otp-digit {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========================================
   ADDITIONAL GLASS OVERRIDES (MISSING BODY HOOK PAGES)
   ======================================== */

body.player-registration-screen,
body.about-container,
body.notifications-container,
body.player-identification-container {
    min-height: 100vh;
    font-family: 'Poppins', 'Inter', 'Segoe UI', sans-serif !important;
}

body.player-registration-screen {
    background:
        radial-gradient(360px 260px at 85% 10%, rgba(212, 175, 55, 0.12), transparent 70%),
        radial-gradient(420px 300px at 15% 85%, rgba(168, 85, 247, 0.18), transparent 72%),
        linear-gradient(160deg, var(--pl-dark-3) 0%, var(--pl-dark-2) 45%, var(--pl-dark-1) 100%) !important;
}

body.about-container,
body.notifications-container,
body.player-identification-container {
    background:
        radial-gradient(320px 240px at 90% 12%, rgba(196, 181, 253, 0.45), transparent 70%),
        radial-gradient(320px 220px at 10% 86%, rgba(212, 175, 55, 0.14), transparent 72%),
        linear-gradient(165deg, var(--pl-light-1) 0%, var(--pl-light-2) 48%, var(--pl-light-3) 100%) !important;
}

body.player-registration-screen .container,
body.about-container .container,
body.notifications-container .container,
body.player-identification-container .container {
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
}

body.player-identification-container .container {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 100svh;
    min-height: 100dvh;
}

body.player-registration-screen .container::before,
body.about-container .container::before,
body.notifications-container .container::before,
body.player-identification-container .container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0));
}

/* Registration (dark glass, login flow) */
body.player-registration-screen .header {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 18px !important;
    margin: 12px 12px 0 !important;
    padding: 12px 14px !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
    border-bottom: none !important;
}

body.player-registration-screen .back-btn,
body.player-registration-screen .back-icon {
    color: #ffffff !important;
}

body.player-registration-screen .main-content {
    padding: 24px 14px 14px !important;
    justify-content: flex-start;
}

body.player-registration-screen .form-container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 28px !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
    padding: 28px 20px 22px !important;
}

body.player-registration-screen .title {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
}

body.player-registration-screen .subtitle {
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 18px !important;
}

body.player-registration-screen .input-label {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

body.player-registration-screen .register-input {
    border: 1px solid rgba(255, 255, 255, 0.84) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    color: var(--pl-text-dark) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

body.player-registration-screen .register-input::placeholder {
    color: #9ca3af !important;
}

body.player-registration-screen .register-input:focus {
    border-color: rgba(212, 175, 55, 0.8) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 8px 20px rgba(0,0,0,0.14) !important;
}

body.player-registration-screen .referral-toggle {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
}

body.player-registration-screen .error-message {
    background: rgba(127, 29, 29, 0.18) !important;
    border: 1px solid rgba(248, 113, 113, 0.22) !important;
    color: #fca5a5 !important;
    border-radius: 12px !important;
    padding: 8px 10px !important;
}

body.player-registration-screen .continue-btn {
    width: 100% !important;
    border: none !important;
    border-radius: var(--pl-pill-radius) !important;
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #1a0f3c !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 24px var(--pl-gold-glow) !important;
    margin-top: 8px !important;
}

body.player-registration-screen .continue-btn:hover:not(:disabled) {
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 26px rgba(212, 175, 55, 0.42) !important;
}

body.player-registration-screen .continue-btn:disabled {
    opacity: 0.55 !important;
    box-shadow: none !important;
}

body.player-registration-screen .footer {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 6px 14px 0 !important;
    padding: 16px 6px calc(12px + env(safe-area-inset-bottom)) !important;
}

body.player-registration-screen .footer .footer-link {
    color: rgba(255,255,255,0.54) !important;
}

body.player-registration-screen .footer .disclaimer {
    color: rgba(255, 255, 255, 0.36) !important;
}

/* Registration layout safety.
   body is `height:100%; display:flex`, so .container is a shrinkable flex item:
   min-height:100vh lets it shrink from content size down to one viewport. Combined
   with the overflow:hidden above, tall content was clipped and unscrollable, and the
   squeezed .main-content spilled its children under the footer (which paints later).
   Mirrors the fix already applied to body.player-otp-screen .container. */
body.player-registration-screen .container {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

body.player-registration-screen .main-content {
    flex: 0 0 auto !important;
    min-height: 0 !important;
}

body.player-registration-screen .footer {
    flex: 0 0 auto !important;
    margin-top: auto !important;
}

/* About + Notifications (light glass, profile sub-pages) */
body.about-container .header,
body.notifications-container .header,
body.player-identification-container .header {
    margin: 12px 14px 10px !important;
    padding: 14px 14px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-bottom: 1px solid rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08) !important;
    position: relative;
}

body.about-container .header h1,
body.notifications-container .header h1,
body.player-identification-container .header h1 {
    color: var(--pl-text-dark) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 auto !important;
    text-align: center;
    flex: 1;
    padding-inline: 48px;
}

body.about-container .back-btn,
body.notifications-container .back-btn,
body.player-identification-container .back-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.9) !important;
    color: var(--pl-text-dark) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(31,41,55,0.08) !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
}

body.about-container .back-btn svg,
body.notifications-container .back-btn svg,
body.player-identification-container .back-btn svg {
    width: 20px !important;
    height: 20px !important;
}

body.about-container .back-btn svg path,
body.notifications-container .back-btn svg path,
body.player-identification-container .back-btn svg path {
    stroke: currentColor !important;
}

body.about-container .about-content,
body.notifications-container .notifications-content {
    background: transparent !important;
    padding: 6px 14px 20px !important;
}

body.about-container .about-menu,
body.notifications-container .notifications-content {
    background: transparent !important;
}

body.about-container .about-menu-item,
body.notifications-container .notification-item {
    background: rgba(255,255,255,0.56) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 6px 16px rgba(31,41,55,0.05) !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.72) !important;
}

body.about-container .about-menu-item:last-child,
body.notifications-container .notification-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.72) !important;
}

body.about-container .about-menu-item:hover,
body.notifications-container .notification-item:hover {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: rgba(255,255,255,0.62) !important;
}

body.about-container .about-menu-link {
    padding: 14px 14px !important;
    border-radius: 18px !important;
    color: inherit !important;
}

body.about-container .about-menu-title,
body.notifications-container .notification-title {
    color: var(--pl-text-dark) !important;
    font-weight: 600 !important;
}

body.about-container .about-menu-arrow {
    color: #9ca3af !important;
}

body.notifications-container .section-header h2 {
    color: rgba(75, 85, 99, 0.9) !important;
    font-weight: 600 !important;
    margin: 0 0 10px !important;
}

body.notifications-container .notification-item {
    padding: 14px !important;
    align-items: center !important;
}

body.notifications-container .notification-item:hover {
    padding: 14px !important;
}

body.notifications-container .notification-desc {
    color: var(--pl-text-muted) !important;
}

body.notifications-container .toggle-label {
    background: rgba(203, 213, 225, 0.85) !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
}

body.notifications-container .toggle-label:before {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18) !important;
}

body.notifications-container .toggle-input:checked + .toggle-label {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
}

/* Player Identification (light glass, inline-style page) */
body.player-identification-container .tab-navigation {
    margin: 2px 14px 10px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 20px rgba(31,41,55,0.06) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
}

body.player-identification-container .tab-btn {
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    background: rgba(255,255,255,0.58) !important;
    color: var(--pl-text-dark) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 10px 8px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0;
}

body.player-identification-container .tab-btn.active {
    background: linear-gradient(135deg, rgba(167,139,250,0.95), rgba(139,92,246,0.95)) !important;
    color: #ffffff !important;
    border-color: rgba(167,139,250,0.45) !important;
    box-shadow: 0 10px 18px rgba(124,58,237,0.18) !important;
}

body.player-identification-container .tab-btn:hover:not(.active) {
    background: rgba(255,255,255,0.72) !important;
}

body.player-identification-container .verification-status {
    color: inherit !important;
    opacity: 0.8;
}

body.player-identification-container .tab-content {
    padding: 0 14px 18px !important;
}

body.player-identification-container .verification-card,
body.player-identification-container .upload-section,
body.player-identification-container .bank-form-section {
    background: rgba(255,255,255,0.56) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 10px 24px rgba(31,41,55,0.06) !important;
}

body.player-identification-container .verification-card {
    margin-top: 0 !important;
    padding: 18px 14px !important;
}

body.player-identification-container .upload-section,
body.player-identification-container .bank-form-section {
    padding: 18px 14px !important;
}

body.player-identification-container .verification-text,
body.player-identification-container .file-info {
    color: var(--pl-text-muted) !important;
}

body.player-identification-container .input-label {
    color: var(--pl-text-dark) !important;
    font-weight: 600 !important;
}

body.player-identification-container .step-number {
    background: rgba(139,92,246,0.9) !important;
    color: #ffffff !important;
}

body.player-identification-container .pan-input,
body.player-identification-container .bank-input {
    width: 100% !important;
    border: 1px solid rgba(196,181,253,0.52) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.9) !important;
    color: var(--pl-text-dark) !important;
    padding: 12px 14px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

body.player-identification-container .bank-input {
    border-bottom: 1px solid rgba(196,181,253,0.52) !important;
}

body.player-identification-container .pan-input:focus,
body.player-identification-container .bank-input:focus {
    outline: none !important;
    border-color: rgba(139,92,246,0.6) !important;
    box-shadow: 0 0 0 4px rgba(139,92,246,0.1) !important;
}

body.player-identification-container .pan-input::placeholder,
body.player-identification-container .bank-input::placeholder {
    color: #9ca3af !important;
}

body.player-identification-container .manual-doc-divider {
    color: #6d28d9 !important;
    text-align: center;
}

body.player-identification-container .upload-area {
    background: rgba(255,255,255,0.82) !important;
    border: 1px dashed rgba(167,139,250,0.55) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

body.player-identification-container .upload-area:hover {
    background: rgba(255,255,255,0.95) !important;
    border-color: rgba(139,92,246,0.65) !important;
}

body.player-identification-container .plus-icon {
    color: #8b5cf6 !important;
    border-color: rgba(167,139,250,0.5) !important;
}

body.player-identification-container .upload-preview,
body.player-identification-container .document-preview-img {
    border-radius: 10px !important;
}

body.player-identification-container .document-card {
    background: rgba(255,255,255,0.72) !important;
    border: 1px solid rgba(255,255,255,0.85) !important;
    border-radius: 14px !important;
}

body.player-identification-container .document-card-header {
    color: var(--pl-text-dark) !important;
}

body.player-identification-container .document-preview-box {
    border: 1px dashed rgba(167,139,250,0.4) !important;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 12px !important;
}

body.player-identification-container .document-preview-placeholder {
    color: var(--pl-text-muted) !important;
}

body.player-identification-container .verify-btn,
body.player-identification-container .proceed-btn,
body.player-identification-container .doc-view-btn {
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #1a0f3c !important;
    border: none !important;
    border-radius: var(--pl-pill-radius) !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(212,175,55,0.24) !important;
}

body.player-identification-container .verify-btn,
body.player-identification-container .proceed-btn,
body.player-identification-container .resend-btn {
    width: 100% !important;
}

body.player-identification-container .proceed-btn {
    margin-top: 14px !important;
}

body.player-identification-container .resend-btn {
    background: rgba(139,92,246,0.12) !important;
    color: #6d28d9 !important;
    border: 1px solid rgba(196,181,253,0.5) !important;
    border-radius: var(--pl-pill-radius) !important;
    box-shadow: none !important;
}

body.player-identification-container .doc-view-btn:disabled,
body.player-identification-container .resend-btn:disabled {
    opacity: 0.55 !important;
}

@media (max-width: 480px) {
    body.player-registration-screen .header,
    body.about-container .header,
    body.notifications-container .header,
    body.player-identification-container .header {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    body.player-registration-screen .main-content,
    body.about-container .about-content,
    body.notifications-container .notifications-content,
    body.player-identification-container .tab-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.player-identification-container .tab-navigation {
        margin-left: 10px !important;
        margin-right: 10px !important;
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   OTP SCREEN REFERENCE TUNING (RIGHT IMAGE)
   Scoped only to otp.html via body.player-otp-screen
   ======================================== */

body.player-otp-screen {
    background:
        radial-gradient(360px 260px at 85% 10%, rgba(212, 175, 55, 0.12), transparent 70%),
        radial-gradient(420px 300px at 15% 85%, rgba(168, 85, 247, 0.18), transparent 72%),
        linear-gradient(160deg, var(--pl-dark-3, #2d1b69) 0%, var(--pl-dark-2, #1a1042) 45%, var(--pl-dark-1, #0f0c29) 100%) !important;
}

body.player-otp-screen .container {
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
}

body.player-otp-screen .container::before {
    background:
        radial-gradient(220px 150px at 50% 22%, rgba(255,255,255,0.06), transparent 75%),
        linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0)) !important;
}

body.player-otp-screen .header {
    margin: 6px 10px 0 !important;
    padding: calc(env(safe-area-inset-top, 0px) + 6px) 12px 0 !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    position: relative;
    z-index: 2;
}

body.player-otp-screen .back-btn {
    color: rgba(255, 255, 255, 0.95) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 6px 18px rgba(6, 5, 20, 0.14) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    gap: 8px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

body.player-otp-screen .back-icon {
    color: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1;
}

body.player-otp-screen .main-content {
    padding: 6px 8px 8px !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

body.player-otp-screen .form-container {
    width: 100% !important;
    max-width: 396px !important;
    margin: 0 auto !important;
    padding: 24px 16px 20px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
}

body.player-otp-screen .otp-form {
    gap: 18px !important;
}

body.player-otp-screen .title {
    margin-bottom: 12px !important;
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
    color: #ffffff !important;
}

body.player-otp-screen .input-group {
    gap: 10px !important;
}

body.player-otp-screen .input-label {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-left: 0 !important;
    letter-spacing: 0.3px;
}

body.player-otp-screen .otp-input-container {
    gap: clamp(4px, 1.3vw, 8px) !important;
    justify-content: space-between !important;
    margin: 8px 0 0 !important;
}

body.player-otp-screen .otp-digit {
    width: clamp(38px, 10.2vw, 46px) !important;
    height: clamp(38px, 10.2vw, 46px) !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

body.player-otp-screen .otp-digit:focus {
    border-color: var(--pl-gold-bright) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14), 0 0 18px rgba(212,175,55,0.22) !important;
}

body.player-otp-screen .otp-digit.filled,
body.player-otp-screen .otp-digit.success {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.65) !important;
}

body.player-otp-screen .otp-digit.error {
    border-color: rgba(248, 113, 113, 0.9) !important;
    background: rgba(255, 240, 240, 0.98) !important;
    color: #991b1b !important;
}

body.player-otp-screen .error-message {
    margin-top: 2px;
    border-radius: 10px !important;
    font-size: 12px;
}

body.player-otp-screen .otp-info {
    margin: 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.76) !important;
}

body.player-otp-screen .sent-message {
    margin-bottom: 6px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.player-otp-screen .resend-info {
    max-width: 248px;
    margin: 0 auto 14px !important;
    color: rgba(255, 255, 255, 0.52) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.player-otp-screen .timer {
    color: var(--pl-gold-bright) !important;
    font-weight: 700 !important;
}

body.player-otp-screen .resend-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.player-otp-screen .resend-btn:hover:not(:disabled) {
    background: transparent !important;
    text-decoration: none !important;
}

body.player-otp-screen .resend-btn:not(:disabled) {
    color: rgba(212,175,55,0.95) !important;
}

body.player-otp-screen .proceed-btn {
    margin-top: 4px !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 232, 160, 0.28) !important;
    background: linear-gradient(180deg, #f6dc78 0%, #ecc74f 22%, #d7a73a 58%, #b57f26 100%) !important;
    color: #251255 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow:
        0 8px 22px rgba(229, 184, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(133, 86, 18, 0.2) !important;
}

body.player-otp-screen .proceed-btn:disabled {
    opacity: 1 !important;
    filter: none !important;
    box-shadow:
        0 4px 14px rgba(229, 184, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
}

body.player-otp-screen .footer {
    margin: 4px 10px 0 !important;
    padding: 8px 4px calc(10px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
}

body.player-otp-screen .footer-links {
    gap: 14px !important;
    margin-bottom: 10px !important;
}

body.player-otp-screen .footer-links .footer-link {
    color: rgba(255, 255, 255, 0.42) !important;
    font-size: 11px !important;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

body.player-otp-screen .footer .disclaimer {
    max-width: 250px !important;
    color: rgba(255, 255, 255, 0.36) !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
}

@media (max-width: 380px) {
    body.player-otp-screen .form-container {
        padding: 22px 12px 18px !important;
        border-radius: 24px !important;
    }

    body.player-otp-screen .title {
        font-size: 22px !important;
    }

    body.player-otp-screen .otp-input-container {
        gap: 6px !important;
    }

    body.player-otp-screen .otp-digit {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-height: 760px) {
    body.player-otp-screen .main-content {
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 6px !important;
    }

    body.player-otp-screen .footer {
        padding-top: 10px !important;
    }
}

/* ========================================
   WALLET SCREEN REFERENCE TUNING (RIGHT IMAGE)
   Scoped only to wallet.html via body.wallet-container
   ======================================== */

body.wallet-container {
    background:
        radial-gradient(280px 220px at 14% 10%, rgba(237, 196, 255, 0.55), transparent 72%),
        radial-gradient(260px 220px at 86% 18%, rgba(220, 173, 255, 0.4), transparent 72%),
        radial-gradient(280px 220px at 52% 88%, rgba(176, 191, 255, 0.34), transparent 76%),
        linear-gradient(180deg, #ebcdf8 0%, #d5d0f2 58%, #c9c8ef 100%) !important;
}

body.wallet-container .container::before {
    background:
        radial-gradient(220px 160px at 50% 30%, rgba(255,255,255,0.22), transparent 72%),
        linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(255,255,255,0)) !important;
}

body.wallet-container .wallet-header {
    margin: 12px clamp(14px, 4vw, 48px) 0 !important;
    padding: 2px 0 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.wallet-container .wallet-back-btn {
    color: #21133d !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    gap: 8px !important;
    letter-spacing: 0.1px;
}

body.wallet-container .wallet-back-icon {
    color: inherit !important;
    font-size: 22px !important;
    line-height: 1;
}

body.wallet-container .wallet-content {
    background: transparent !important;
    padding: 14px clamp(14px, 4vw, 48px) calc(14px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px;
    box-sizing: border-box;
}

body.wallet-container .wallet-balance-card {
    margin-bottom: 0 !important;
    max-width: 560px !important;
    width: 100% !important;
    padding: 18px 18px 16px !important;
    border-radius: 26px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    background:
        radial-gradient(140px 120px at 90% 16%, rgba(221, 174, 28, 0.2), transparent 56%),
        linear-gradient(120deg, #2d3138 0%, #232a37 42%, #1d2536 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 14px 28px rgba(17,24,39,0.18) !important;
}

body.wallet-container .balance-header {
    margin-bottom: 16px !important;
}

body.wallet-container .balance-info h3 {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.75) !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.2px;
}

body.wallet-container .balance-amount {
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    color: #f8fafc !important;
}

body.wallet-container .wallet-logo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fffbe7 !important;
    background: radial-gradient(circle at 30% 28%, #f3d85f 0%, #d8af2f 62%, #bf8f12 100%) !important;
    box-shadow: 0 10px 18px rgba(212,175,55,0.2) !important;
}

body.wallet-container .card-holder-name {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.84) !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.wallet-container .card-number {
    font-size: 10px !important;
    letter-spacing: 1px;
    opacity: 0.72;
    color: rgba(255,255,255,0.58) !important;
    overflow-wrap: anywhere;
}

body.wallet-container .transactions-section {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    width: 100% !important;
    max-width: 560px !important;
    align-self: center;
    min-width: 0;
}

body.wallet-container .transactions-list {
    flex: 0 0 auto !important;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
    min-height: 0;
    width: 100%;
}

body.wallet-container .transaction-loading {
    margin: auto 0 !important;
    color: rgba(63, 63, 85, 0.62) !important;
    padding: 24px 12px !important;
}

body.wallet-container .transaction-loading .loading-spinner {
    border-color: rgba(255,255,255,0.7) !important;
    border-top-color: #d7ab1d !important;
}

body.wallet-container .no-transactions {
    margin: auto 0 !important;
    padding: 12px 8px 6px !important;
    color: rgba(82, 82, 110, 0.42) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

body.wallet-container .no-transactions p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(82, 82, 110, 0.42) !important;
}

body.wallet-container .transaction-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start !important;
    padding: 14px 14px !important;
    background: rgba(255,255,255,0.44) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 16px rgba(31,41,55,0.05) !important;
}

body.wallet-container .transaction-item:hover {
    background: rgba(255,255,255,0.54) !important;
    transform: none !important;
    margin: 0 0 10px !important;
    padding: 14px !important;
}

body.wallet-container .transaction-details {
    min-width: 0;
}

body.wallet-container .transaction-date-time {
    font-size: 12px !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.wallet-container .transaction-description {
    font-size: 14px !important;
    line-height: 1.4;
    margin-bottom: 0 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.wallet-container .transaction-amount-section {
    min-width: max-content;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 6px !important;
}

body.wallet-container .transaction-status {
    border-radius: 6px !important;
    white-space: nowrap;
}

body.wallet-container .transaction-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.15;
    white-space: nowrap;
}

body.wallet-container .transaction-arrow {
    display: none !important;
}

body.wallet-container .view-all-transactions-btn {
    width: 100% !important;
    max-width: 560px !important;
    align-self: center;
    margin-top: 2px !important;
    margin-bottom: 4px !important;
    min-height: 42px;
    padding: 12px 16px !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(212,175,55,0.9) !important;
    background: rgba(255,255,255,0.22) !important;
    color: #d2a31d !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    box-shadow: 0 6px 14px rgba(31,41,55,0.05) !important;
}

body.wallet-container .view-all-transactions-btn:hover {
    background: rgba(255,255,255,0.32) !important;
    color: #c8940f !important;
    transform: none !important;
    box-shadow: 0 8px 16px rgba(31,41,55,0.06) !important;
}

@media (max-width: 560px) {
    body.wallet-container .wallet-balance-card {
        width: 100% !important;
    }

    body.wallet-container .balance-header {
        gap: 12px;
    }

    body.wallet-container .balance-info {
        min-width: 0;
        flex: 1 1 auto;
    }

    body.wallet-container .card-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px;
    }

    body.wallet-container .card-number {
        font-size: 11px !important;
        letter-spacing: 0.8px;
    }

    body.wallet-container .transaction-item {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    body.wallet-container .transaction-amount-section {
        min-width: 0;
        width: 100%;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }

    body.wallet-container .transaction-status {
        order: 1;
    }

    body.wallet-container .transaction-amount {
        order: 2;
        margin-left: auto;
    }
}

@media (min-width: 768px) {
    body.wallet-container .wallet-content {
        gap: 18px;
        padding-top: 18px !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    }

    body.wallet-container .wallet-balance-card,
    body.wallet-container .transactions-section,
    body.wallet-container .view-all-transactions-btn {
        max-width: 680px !important;
    }

    body.wallet-container .wallet-balance-card {
        padding: 22px 22px 18px !important;
    }

    body.wallet-container .balance-amount {
        font-size: 24px !important;
    }

    body.wallet-container .card-holder-name {
        font-size: 13px !important;
    }

    body.wallet-container .card-number {
        font-size: 11px !important;
    }
}

@media (max-width: 380px) {
    body.wallet-container .wallet-back-btn {
        font-size: 15px !important;
    }

    body.wallet-container .wallet-balance-card {
        padding: 16px 16px 14px !important;
    }

    body.wallet-container .balance-amount {
        font-size: 18px !important;
    }

    body.wallet-container .view-all-transactions-btn {
        width: 100% !important;
        letter-spacing: 0.8px !important;
        font-size: 11px !important;
        padding: 11px 12px !important;
    }
}

/* ========================================
   PROFILE SCREEN REFERENCE TUNING (RIGHT IMAGE)
   Scoped only to profile.html via body.profile-container
   ======================================== */

body.profile-container {
    background:
        radial-gradient(280px 220px at 22% 12%, rgba(236, 197, 255, 0.52), transparent 72%),
        radial-gradient(260px 220px at 82% 18%, rgba(220, 180, 255, 0.34), transparent 74%),
        radial-gradient(320px 260px at 52% 92%, rgba(191, 204, 255, 0.28), transparent 76%),
        linear-gradient(180deg, #ead2f7 0%, #ddd2f0 52%, #d4d6ef 100%) !important;
}

body.profile-container .container::before {
    background:
        radial-gradient(240px 180px at 50% 24%, rgba(255,255,255,0.18), transparent 74%),
        linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0)) !important;
}

body.profile-container .profile-header {
    margin: 12px 14px 0 !important;
    padding: 2px 0 0 !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.profile-container .profile-back-btn {
    color: #1b1633 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    gap: 10px !important;
}

body.profile-container .profile-back-icon {
    font-size: 28px !important;
    line-height: 1;
    color: inherit !important;
}

body.profile-container .profile-content {
    padding: 12px 14px calc(24px + env(safe-area-inset-bottom)) !important;
    background: transparent !important;
}

body.profile-container .user-profile-section {
    margin-bottom: 16px !important;
    padding: 8px 8px 8px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.profile-container .profile-avatar {
    width: 124px !important;
    height: 124px !important;
    margin: 0 auto 18px auto !important;
    border-radius: 50% !important;
    border: 4px solid rgba(124, 88, 255, 0.95) !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,0.75), rgba(214, 226, 245, 0.95) 70%) !important;
    color: #94a3b8 !important;
    box-shadow:
        0 14px 26px rgba(124,58,237,0.12),
        inset 0 1px 0 rgba(255,255,255,0.65) !important;
    position: relative;
}

body.profile-container .profile-avatar svg {
    width: 60px !important;
    height: 60px !important;
    fill: #8ea0b8 !important;
}

body.profile-container .profile-avatar::after {
    width: 22px !important;
    height: 22px !important;
    right: 6px !important;
    bottom: 8px !important;
    border: 3px solid rgba(255,255,255,0.95) !important;
    background: #22c55e !important;
    box-shadow: 0 4px 10px rgba(34,197,94,0.24) !important;
}

body.profile-container .profile-name {
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #16162f !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 8px !important;
}

body.profile-container .profile-phone {
    font-size: 16px !important;
    color: #5d6f86 !important;
    margin-bottom: 0 !important;
}

body.profile-container .profile-menu {
    background: transparent !important;
    margin-top: 10px !important;
}

body.profile-container .profile-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.profile-container .profile-menu-item {
    background: rgba(255,255,255,0.5) !important;
    border: 1px solid rgba(255,255,255,0.62) !important;
    border-radius: 26px !important;
    box-shadow: 0 8px 20px rgba(31,41,55,0.04) !important;
    margin-bottom: 18px !important;
    padding: 0 !important;
    overflow: hidden;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

body.profile-container .profile-menu-item:hover {
    background: rgba(255,255,255,0.56) !important;
}

body.profile-container .profile-menu-link {
    position: relative;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 20px 18px 18px 82px !important;
    border-radius: 26px !important;
    color: inherit !important;
}

body.profile-container .profile-menu-link::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(139, 92, 246, 0.12);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

body.profile-container #verificationLink::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238b5cf6\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 3l7 4v5c0 5-3.5 7.5-7 9-3.5-1.5-7-4-7-9V7l7-4z\"/><path d=\"M9 12l2 2 4-4\"/></svg>');
}

body.profile-container #notificationsLink::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238b5cf6\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 17H4a1 1 0 0 1-.8-1.6l1.3-1.7V10a7 7 0 0 1 14 0v3.7l1.3 1.7A1 1 0 0 1 19 17h-4\"/><path d=\"M10 20a2 2 0 0 0 4 0\"/></svg>');
}

body.profile-container #referralLink::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238b5cf6\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"8\" width=\"18\" height=\"13\" rx=\"2\"/><path d=\"M12 8v13\"/><path d=\"M3 12h18\"/><path d=\"M7.5 8a2.5 2.5 0 1 1 2.5-2.5V8H7.5z\"/><path d=\"M16.5 8a2.5 2.5 0 1 0-2.5-2.5V8h2.5z\"/></svg>');
}

body.profile-container #aboutAppLink::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238b5cf6\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M12 10v6\"/><path d=\"M12 7h.01\"/></svg>');
}

body.profile-container #clubRulesLink::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238b5cf6\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14 4l6 6\"/><path d=\"M9 7l8 8\"/><path d=\"M3 21l6-1 11-11-5-5L4 15l-1 6z\"/></svg>');
}

body.profile-container .profile-menu-content {
    min-width: 0;
    flex: 1;
}

body.profile-container .profile-menu-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    color: #16162f !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

body.profile-container .profile-menu-subtitle {
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

body.profile-container .profile-menu-arrow {
    color: #9aa6bc !important;
    font-size: 26px !important;
    line-height: 1 !important;
    margin-top: auto;
    margin-bottom: 10px;
    padding-left: 8px;
    flex-shrink: 0;
}

body.profile-container .status-badge {
    border-radius: 999px !important;
    padding: 5px 14px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

body.profile-container .status-verified {
    background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(16,185,129,0.18)) !important;
    border: 1px solid rgba(34, 197, 94, 0.32) !important;
    color: #15803d !important;
}

body.profile-container .status-pending {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(251,191,36,0.15)) !important;
    border: 1px solid rgba(245, 158, 11, 0.28) !important;
    color: #b45309 !important;
}

body.profile-container .status-under-review {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(59,130,246,0.15)) !important;
    border: 1px solid rgba(99, 102, 241, 0.28) !important;
    color: #4338ca !important;
    animation: reviewPulse 2.5s ease-in-out infinite !important;
}

body.profile-container .status-rejected {
    background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(248,113,113,0.14)) !important;
    border: 1px solid rgba(239, 68, 68, 0.28) !important;
    color: #dc2626 !important;
}

@keyframes reviewPulse {
    0%, 100% { opacity: 1; box-shadow: 0 1px 3px rgba(99,102,241,0.08); }
    50% { opacity: 0.82; box-shadow: 0 1px 8px rgba(99,102,241,0.18); }
}

body.profile-container .share-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #8b5cf6 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    box-shadow: none !important;
    text-transform: uppercase;
}

body.profile-container .share-btn:hover {
    background: transparent !important;
    color: #7c3aed !important;
}

body.profile-container .referral-code-section {
    margin-top: 10px !important;
    gap: 10px !important;
    align-items: center !important;
}

body.profile-container .referral-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #151827 !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid rgba(203,213,225,0.72) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    min-width: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.profile-container .copy-btn {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: transparent !important;
    box-shadow: none !important;
    position: relative;
}

body.profile-container .copy-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%238b5cf6\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"9\" y=\"4\" width=\"11\" height=\"14\" rx=\"2\"/><path d=\"M5 8v12a2 2 0 0 0 2 2h9\"/></svg>');
}

body.profile-container .copy-btn:hover::before {
    filter: brightness(0.92);
}

body.profile-container .profile-menu-item:last-child {
    background: rgba(255,255,255,0.38) !important;
    border: 1px solid rgba(248, 113, 113, 0.2) !important;
    border-radius: 28px !important;
    box-shadow: none !important;
}

body.profile-container #logoutLink {
    min-height: 72px;
    align-items: center !important;
    padding: 16px 18px 16px 18px !important;
}

body.profile-container #logoutLink::before {
    display: none;
}

body.profile-container #logoutLink .profile-menu-content {
    display: flex;
    align-items: center;
}

body.profile-container #logoutLink .profile-menu-title {
    margin: 0 !important;
    color: #ef4444 !important;
    font-size: 16px !important;
}

body.profile-container #logoutLink .profile-menu-arrow {
    font-size: 0 !important;
    width: 24px;
    height: 24px;
    margin: 0 !important;
    padding: 0 !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%23ef4444\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10 17l5-5-5-5\"/><path d=\"M15 12H4\"/><path d=\"M20 4v16\"/></svg>');
}

body.profile-container .logout-item:hover,
body.profile-container .logout-item:hover .profile-menu-title,
body.profile-container .logout-item:hover .profile-menu-arrow {
    color: #ef4444 !important;
}

@media (max-width: 480px) {
    body.profile-container .profile-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.profile-container .profile-menu-link {
        padding-left: 78px !important;
        padding-right: 16px !important;
    }

    body.profile-container .profile-menu-link::before {
        left: 14px;
    }
}

@media (max-width: 380px) {
    body.profile-container .profile-avatar {
        width: 112px !important;
        height: 112px !important;
    }

    body.profile-container .profile-name {
        font-size: 20px !important;
    }

    body.profile-container .profile-menu-title {
        font-size: 17px !important;
    }

    body.profile-container .status-badge {
        padding: 5px 10px !important;
        font-size: 9px !important;
    }
}

/* ========================================
   QR SCREEN REFERENCE TUNING (RIGHT IMAGE)
   Scoped only to qrCode.html via body.qr-modal-container
   ======================================== */

body.qr-modal-container {
    background:
        radial-gradient(260px 220px at 50% 12%, rgba(216, 180, 255, 0.5), transparent 74%),
        radial-gradient(260px 240px at 82% 22%, rgba(224, 188, 255, 0.34), transparent 76%),
        radial-gradient(320px 260px at 54% 90%, rgba(202, 173, 246, 0.26), transparent 78%),
        linear-gradient(180deg, #e6d4f6 0%, #dcc9ef 58%, #d2c6ea 100%) !important;
}

body.qr-modal-container .container::before {
    background:
        radial-gradient(220px 160px at 50% 28%, rgba(255,255,255,0.16), transparent 74%),
        linear-gradient(to bottom, rgba(255,255,255,0.08), rgba(255,255,255,0)) !important;
}

body.qr-modal-container .qr-header {
    margin: 10px 14px 0 !important;
    padding: 6px 0 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}

body.qr-modal-container .back-btn,
body.qr-modal-container .qr-share-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    background: rgba(255,255,255,0.42) !important;
    color: #2b2446 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: 0 4px 10px rgba(31,41,55,0.05) !important;
    cursor: pointer;
}

body.qr-modal-container .back-btn:hover,
body.qr-modal-container .qr-share-btn:hover {
    background: rgba(255,255,255,0.52) !important;
}

body.qr-modal-container .back-btn svg,
body.qr-modal-container .qr-share-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
}

body.qr-modal-container .qr-tab-container {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

body.qr-modal-container .qr-tab-btn {
    min-height: 22px;
    padding: 4px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(167, 139, 250, 0.34) !important;
    background: rgba(167, 139, 250, 0.22) !important;
    color: #4c1d95 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
}

body.qr-modal-container .qr-main-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 12px 14px 18px !important;
    background: transparent !important;
}

body.qr-modal-container .qr-content-wrapper {
    flex: 0 0 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    text-align: center !important;
    background: transparent !important;
}

body.qr-modal-container .qr-title {
    margin: 8px 0 14px !important;
    color: #1d2132 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.qr-modal-container .qr-subtitle {
    color: #5b6680 !important;
    font-size: 13px !important;
    margin-top: -10px !important;
    margin-bottom: 14px !important;
}

body.qr-modal-container .verification-warning {
    background: rgba(255, 250, 238, 0.82) !important;
    border: 1px solid rgba(253, 224, 132, 0.55) !important;
    border-radius: 24px !important;
    padding: 20px 16px !important;
    box-shadow: 0 12px 22px rgba(161,98,7,0.06) !important;
}

body.qr-modal-container .warning-title {
    color: #92400e !important;
}

body.qr-modal-container .warning-text {
    color: #9a6a1f !important;
}

body.qr-modal-container .status-item {
    border-radius: 12px !important;
    background: rgba(255,255,255,0.72) !important;
    border: 1px solid rgba(255,255,255,0.78) !important;
}

body.qr-modal-container .status-item.pending {
    border-color: rgba(253,224,132,0.45) !important;
}

body.qr-modal-container .status-item.verified {
    border-color: rgba(134,239,172,0.45) !important;
    background: rgba(236,253,245,0.8) !important;
}

body.qr-modal-container .complete-verification-btn {
    border-radius: 999px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--pl-gold-bright), var(--pl-gold)) !important;
    color: #231246 !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px rgba(212,175,55,0.24) !important;
}

body.qr-modal-container .qr-loading-section {
    padding: 36px 0 6px !important;
}

body.qr-modal-container .qr-loading-section .loading-container {
    background: rgba(255,255,255,0.52) !important;
    border: 1px solid rgba(255,255,255,0.72) !important;
    border-radius: 22px !important;
    padding: 20px 18px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 12px 22px rgba(31,41,55,0.05) !important;
}

body.qr-modal-container .loading-spinner {
    border-color: rgba(255,255,255,0.7) !important;
    border-top-color: #9f53ff !important;
}

body.qr-modal-container .loading-text {
    color: #5b6680 !important;
}

body.qr-modal-container .qr-code-section {
    margin-top: 0 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

body.qr-modal-container .qr-code-container {
    position: relative !important;
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: clamp(24px, 4vw, 32px) clamp(16px, 4vw, 26px) clamp(20px, 4vw, 28px) !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at 0 37%, rgba(215, 209, 239, 0.95) 0 14px, transparent 15px),
        radial-gradient(circle at 100% 37%, rgba(215, 209, 239, 0.95) 0 14px, transparent 15px),
        linear-gradient(180deg, rgba(255,255,255,0.46) 0%, rgba(255,255,255,0.40) 100%) !important;
    border: 1px solid rgba(255,255,255,0.68) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 14px 26px rgba(31,41,55,0.06) !important;
}

body.qr-modal-container .qr-code-container::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: clamp(86px, 15vw, 104px);
    border-top: 1.5px dashed rgba(117, 88, 246, 0.24);
    pointer-events: none;
    z-index: 0;
}

body.qr-modal-container .qr-code-container > * {
    position: relative;
    z-index: 1;
}

body.qr-modal-container .qr-user-badge {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e4ba19 0%, #d8a80c 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 16px rgba(216,168,12,0.2);
}

body.qr-modal-container .qr-code-frame {
    width: clamp(236px, 68vw, 340px) !important;
    margin: 2px auto 16px !important;
    padding: clamp(12px, 3vw, 18px) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.82) !important;
    border: 1px solid rgba(255,255,255,0.9) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 8px 18px rgba(31,41,55,0.05) !important;
    position: relative;
    display: block !important;
}

body.qr-modal-container .qr-code-frame::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(196,181,253,0.35), rgba(167,139,250,0.85), rgba(196,181,253,0.35));
}

body.qr-modal-container .qr-code-image {
    width: clamp(206px, 60vw, 304px) !important;
    height: clamp(206px, 60vw, 304px) !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
    background: #fff !important;
    padding: 6px !important;
}

body.qr-modal-container .qr-card-caption {
    max-width: 380px;
    margin: 0 auto !important;
    color: #67748d;
    font-size: 14px;
    line-height: 1.45;
}

body.qr-modal-container .qr-action-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

body.qr-modal-container .qr-action-btn {
    min-height: 38px;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.qr-modal-container .qr-action-btn svg {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    flex-shrink: 0;
}

body.qr-modal-container .qr-action-save {
    background: rgba(255,255,255,0.82);
    color: #4b5563;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 14px rgba(31,41,55,0.04);
}

body.qr-modal-container .qr-action-save:hover {
    background: rgba(255,255,255,0.92);
}

body.qr-modal-container .qr-action-scan {
    background: linear-gradient(135deg, #a855f7, #8b5cf6) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 18px rgba(139,92,246,0.24) !important;
}

body.qr-modal-container .qr-action-scan:hover {
    filter: brightness(0.98);
    box-shadow: 0 12px 20px rgba(139,92,246,0.28) !important;
}

@media (max-width: 480px) {
    body.qr-modal-container .qr-main-content {
        padding: 10px 10px 16px !important;
    }

    body.qr-modal-container .qr-title {
        font-size: 21px !important;
        margin: 6px 0 12px !important;
    }

    body.qr-modal-container .qr-code-container {
        max-width: min(480px, calc(100vw - 16px)) !important;
        width: 100% !important;
        padding: 22px 12px 18px !important;
        border-radius: 26px !important;
    }

    body.qr-modal-container .qr-user-badge {
        width: 56px;
        height: 56px;
        font-size: 23px;
    }

    body.qr-modal-container .qr-code-frame {
        width: min(292px, calc(100vw - 56px)) !important;
        padding: 12px !important;
    }

    body.qr-modal-container .qr-code-image {
        width: min(256px, calc(100vw - 84px)) !important;
        height: min(256px, calc(100vw - 84px)) !important;
    }

    body.qr-modal-container .qr-card-caption {
        max-width: 340px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    body.qr-modal-container .qr-title {
        font-size: 18px !important;
    }

    body.qr-modal-container .qr-action-row {
        gap: 8px;
    }

    body.qr-modal-container .qr-action-btn {
        font-size: 13px;
        padding: 9px 14px !important;
    }
}

/* QR fit-to-screen tuning for short viewports */
body.qr-modal-container .container {
    min-height: 100svh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important; /* fallback: scroll instead of clipping */
}

body.qr-modal-container .qr-main-content {
    min-height: calc(100svh - 46px);
    justify-content: flex-start !important;
}

body.qr-modal-container .qr-code-container {
    max-width: min(500px, calc(100vw - 14px)) !important;
}

body.qr-modal-container .qr-code-frame {
    width: clamp(228px, 72vw, 320px) !important;
}

body.qr-modal-container .qr-code-image {
    width: clamp(198px, 64vw, 286px) !important;
    height: clamp(198px, 64vw, 286px) !important;
}

@media (max-height: 760px) {
    body.qr-modal-container .qr-main-content {
        padding-top: 8px !important;
        padding-bottom: 12px !important;
    }

    body.qr-modal-container .qr-title {
        margin: 6px 0 10px !important;
        font-size: 18px !important;
    }

    body.qr-modal-container .qr-code-container {
        margin-bottom: 12px !important;
        padding: 18px 14px 16px !important;
    }

    body.qr-modal-container .qr-user-badge {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
        font-size: 18px;
    }

    body.qr-modal-container .qr-code-frame {
        margin-bottom: 10px !important;
        padding: 10px !important;
    }

    body.qr-modal-container .qr-card-caption {
        max-width: 190px;
        font-size: 11px;
        line-height: 1.35;
    }

    body.qr-modal-container .qr-action-row {
        margin-top: 2px;
        gap: 8px;
    }

    body.qr-modal-container .qr-action-btn {
        min-height: 34px;
        padding: 8px 14px !important;
        font-size: 13px;
    }
}

@media (max-height: 620px) {
    body.qr-modal-container .qr-header {
        margin-top: 6px !important;
    }

    body.qr-modal-container .qr-main-content {
        padding-top: 6px !important;
        padding-bottom: 10px !important;
    }

    body.qr-modal-container .qr-title {
        margin: 4px 0 8px !important;
        font-size: 17px !important;
    }

    body.qr-modal-container .qr-code-container {
        padding: 14px 12px 12px !important;
        border-radius: 22px !important;
        margin-bottom: 8px !important;
    }

    body.qr-modal-container .qr-user-badge {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
        font-size: 16px;
    }

    body.qr-modal-container .qr-code-frame {
        width: 146px !important;
        padding: 8px !important;
        border-radius: 14px !important;
        margin-bottom: 8px !important;
    }

    body.qr-modal-container .qr-code-image {
        width: 126px !important;
        height: 126px !important;
        padding: 4px !important;
    }

    body.qr-modal-container .qr-card-caption {
        max-width: 170px;
        font-size: 10px;
        line-height: 1.3;
    }

    body.qr-modal-container .qr-action-btn {
        min-height: 32px;
        padding: 7px 12px !important;
        font-size: 12px;
    }
}

/* ========================================
   GLOBAL RESPONSIVE + THEME CONSISTENCY PASS
   Shared safety layer for all poker-screens HTML pages
   ======================================== */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Prevent pull-to-refresh / overscroll bounce on mobile */
    overscroll-behavior-y: contain;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* Use dynamic viewport height so content fits below mobile address bar */
    min-height: 100vh;
    min-height: 100dvh;
}

/* Hide scrollbars but keep scrolling functional on mobile */
@supports (scrollbar-width: none) {
    body, .container, main {
        scrollbar-width: none;
    }
}
body::-webkit-scrollbar,
.container::-webkit-scrollbar,
main::-webkit-scrollbar {
    display: none;
}

img,
video,
canvas,
iframe,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

/* Remove default browser focus flash on tap/click; keep :focus-visible for keyboard users */
:where(a, button, [role="button"], [onclick], summary):focus {
    outline: none;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--pl-gold-bright, #E5B800);
    outline-offset: 2px;
}

/* Keep common app shells from overflowing on narrow devices */
:where(
    .container,
    .page,
    .main-content,
    .wallet-content,
    .profile-content,
    .dashboard-content,
    .dashboard-main,
    .content,
    .content-wrapper
) {
    max-width: 100%;
    min-width: 0;
}

/* Common text fields / IDs that often overflow on mobile */
:where(
    .transaction-description,
    .transaction-date-time,
    .transaction-id,
    .card-holder-name,
    .card-number,
    .user-id,
    .profile-id,
    .wallet-id
) {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Safe media + tables */
:where(table) {
    max-width: 100%;
}

:where(.table-wrapper, .table-container, .table-scroll, .list-scroll, .data-table-wrapper) {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Modal/dialogs should fit viewport */
:where(.modal-content, .dialog-content, .popup-content, .sheet-content) {
    width: min(92vw, 680px);
    max-width: 92vw;
    max-height: min(88vh, 820px);
    overflow: auto;
}

/* Common buttons should not overflow small screens */
:where(
    .action-btn,
    .wallet-action-btn,
    .view-all-transactions-btn,
    .btn,
    .btn-primary,
    .btn-secondary
) {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* ========================================
   MOBILE SCROLL ENHANCEMENTS
   Minimal, smooth scrolling on all mobile devices
   ======================================== */

@media (max-width: 768px) {
    /* All main content areas should scroll smoothly */
    main,
    .container,
    .content,
    .content-wrapper,
    .wallet-content,
    .profile-content,
    .dashboard-content,
    .dashboard-main {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Smooth momentum for long scrollable lists */
    .transaction-list,
    .notifications-list,
    .booking-list,
    .table-list,
    .session-list {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Prevent rubber-band bounce at page edges */
    html, body {
        overscroll-behavior: none;
    }

    /* Bottom navigation / footer should not scroll away */
    footer,
    .bottom-nav,
    nav[role="tablist"] {
        position: sticky;
        bottom: 0;
        z-index: 100;
        /* Safe area for gesture-based navigation (iPhone X+) */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    /* Ensure forms inside long pages can scroll to fields */
    input:focus, select:focus, textarea:focus {
        scroll-margin-top: 16px;
        scroll-margin-bottom: 80px;
    }
}

/* Shared body theme fallbacks for pages that opt into these classes */
body.player-login-screen,
body.dashboard-container,
body.player-otp-screen {
    background:
        radial-gradient(ellipse at 30% 10%, var(--pl-dark-3, #2d1b69) 0%, var(--pl-dark-2, #1a1042) 40%, var(--pl-dark-1, #0f0c29) 100%);
}

body.wallet-container,
body.profile-container,
body.qr-modal-container,
body.book-seat-container,
body.player-identification-container,
body.notifications-container,
body.player-registration-screen,
body.about-container {
    color: var(--pl-text-dark, #1a0f3c);
}

/* Outlier pages (no shared body class previously) */
body.club-welcome-container {
    color: #eef4fd;
    overflow-x: hidden;
}

body.proto-index-container {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(320px 260px at 12% 10%, rgba(212, 175, 55, 0.14), transparent 70%),
        radial-gradient(320px 240px at 88% 16%, rgba(99, 60, 180, 0.26), transparent 72%),
        linear-gradient(165deg, var(--pl-light-1, #e8deff) 0%, var(--pl-light-2, #f0ebff) 48%, var(--pl-light-3, #faf5ff) 100%);
    color: var(--pl-text-dark, #1a0f3c);
}

.proto-index-shell {
    width: min(100%, 920px);
    margin: 0 auto;
    min-height: 100vh;
    padding: clamp(16px, 4vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proto-index-card {
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
    padding: clamp(16px, 3vw, 22px);
}

.proto-index-title {
    margin: 0;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    font-size: clamp(22px, 4vw, 30px);
    line-height: 1.15;
}

.proto-index-subtitle {
    margin: 6px 0 0;
    color: var(--pl-text-muted, #6b7280);
    font-size: clamp(13px, 2vw, 15px);
}

.proto-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.proto-index-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--pl-text-dark, #1a0f3c);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.85);
    font-family: var(--font-primary, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.proto-index-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.08);
}

.proto-index-link::after {
    content: "↗";
    color: rgba(26, 15, 60, 0.45);
    font-weight: 700;
}

@media (max-width: 900px) {
    :where(
        .wallet-content,
        .main-content,
        .profile-content,
        .content-wrapper
    ) {
        padding-left: clamp(10px, 3vw, 16px) !important;
        padding-right: clamp(10px, 3vw, 16px) !important;
    }

    :where(
        .dashboard-header,
        .wallet-header,
        .profile-header,
        .qr-header
    ) {
        padding-left: clamp(10px, 3vw, 16px) !important;
        padding-right: clamp(10px, 3vw, 16px) !important;
    }
}

@media (max-width: 768px) {
    :where(.wallet-action-buttons, .action-buttons, .quick-actions, .stats-grid, .filters-grid) {
        max-width: 100%;
    }

    :where(.wallet-action-buttons, .quick-actions, .filters-grid) {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    :where(.transaction-item) {
        min-width: 0;
    }

    /* Fallback for pages still using flex rows for transaction cards */
    :where(.transaction-item) .transaction-details,
    :where(.transaction-item) .transaction-amount-section {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    :where(.wallet-action-buttons, .quick-actions) {
        grid-template-columns: 1fr !important;
    }

    :where(.transaction-item) {
        gap: 10px;
    }

    :where(.view-all-transactions-btn) {
        letter-spacing: 0.8px !important;
        font-size: 11px !important;
    }
}

@media (min-width: 1200px) {
    :where(
        body.wallet-container .wallet-content,
        body.profile-container .profile-content,
        body.dashboard-container .main-content,
        body.book-seat-container .main-content,
        body.player-identification-container .main-content
    ) {
        width: min(100%, 1200px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   QR MOBILE APP PLACEMENT (FINAL OVERRIDE)
   Keep QR ticket under title, centered horizontally
   even when qrCode.html inline styles use flex centering
   ======================================== */

body.qr-modal-container .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    min-height: 100svh !important;
}

body.qr-modal-container .qr-header {
    margin: calc(env(safe-area-inset-top, 0px) + 8px) 12px 0 !important;
    padding: 0 !important;
    min-height: 40px !important;
    align-items: center !important;
}

body.qr-modal-container .back-btn,
body.qr-modal-container .qr-share-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

body.qr-modal-container .back-btn svg,
body.qr-modal-container .qr-share-btn svg {
    width: 18px !important;
    height: 18px !important;
}

body.qr-modal-container .qr-tab-container {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

body.qr-modal-container .qr-main-content {
    justify-content: center !important;
    align-items: stretch !important;
    padding: 4px 4px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
}

body.qr-modal-container .qr-content-wrapper {
    flex: 1 1 auto !important;
    min-height: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    padding-top: 0 !important;
}

body.qr-modal-container .qr-title {
    margin: 0 0 6px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
}

body.qr-modal-container .qr-subtitle {
    margin-top: -6px !important;
    margin-bottom: 10px !important;
}

body.qr-modal-container .qr-code-section,
body.qr-modal-container #qrCodeDisplay.qr-code-section {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding: 0 2px !important;
}

body.qr-modal-container .verification-warning,
body.qr-modal-container .qr-loading-section {
    width: 100% !important;
    max-width: 540px !important;
}

body.qr-modal-container .qr-loading-section {
    flex: 0 0 auto !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

body.qr-modal-container .qr-code-container {
    width: 100% !important;
    max-width: none !important;
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    min-height: clamp(584px, 80svh, 688px) !important;
    padding-top: clamp(44px, 8vw, 64px) !important;
    padding-right: clamp(8px, 2.6vw, 12px) !important;
    padding-left: clamp(8px, 2.6vw, 12px) !important;
    padding-bottom: clamp(18px, 4vw, 24px) !important;
    border-radius: 28px !important;
}

body.qr-modal-container .qr-code-container::before {
    top: clamp(96px, 16vw, 110px) !important;
}

body.qr-modal-container .qr-user-badge {
    width: 56px !important;
    height: 56px !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    font-size: 20px !important;
}

body.qr-modal-container .qr-code-frame {
    width: 100% !important;
    max-width: none !important;
    padding: 6px !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
    border-radius: 18px !important;
}

body.qr-modal-container .qr-code-image {
    width: min(320px, calc(100vw - 38px)) !important;
    height: min(320px, calc(100vw - 38px)) !important;
    padding: 4px !important;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    object-fit: contain;
}

body.qr-modal-container .qr-card-caption {
    max-width: 312px !important;
    margin-top: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

@media (min-width: 481px) {
    body.qr-modal-container .container {
        width: min(100%, 400px) !important;
        max-width: 400px !important;
    }

    body.qr-modal-container .qr-main-content {
        justify-content: center !important;
    }

    body.qr-modal-container .qr-content-wrapper {
        flex: 1 1 auto !important;
        min-height: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    body.qr-modal-container .qr-header {
        margin: calc(env(safe-area-inset-top, 0px) + 6px) 10px 0 !important;
        min-height: 38px !important;
    }

    body.qr-modal-container .back-btn,
    body.qr-modal-container .qr-share-btn {
        width: 38px !important;
        height: 38px !important;
    }

    body.qr-modal-container .qr-main-content {
        padding: 3px 4px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.qr-modal-container .qr-content-wrapper {
        gap: 8px !important;
    }

    body.qr-modal-container .qr-title {
        margin: 0 0 5px !important;
        font-size: 21px !important;
    }

    body.qr-modal-container .qr-code-container {
        width: min(100%, 396px) !important;
        max-width: none !important;
        margin-bottom: 8px !important;
        margin-top: 8px !important;
        min-height: clamp(584px, 79svh, 660px) !important;
        padding-top: 46px !important;
        padding-right: 8px !important;
        padding-left: 8px !important;
        padding-bottom: 18px !important;
    }

    body.qr-modal-container .qr-code-container::before {
        top: 98px !important;
    }

    body.qr-modal-container .qr-user-badge {
        width: 54px !important;
        height: 54px !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        font-size: 19px !important;
    }

    body.qr-modal-container .qr-code-frame {
        width: 100% !important;
        max-width: none !important;
        padding: 6px !important;
        margin-top: 12px !important;
    }

    body.qr-modal-container .qr-code-image {
        width: min(328px, calc(100vw - 34px)) !important;
        height: min(328px, calc(100vw - 34px)) !important;
        padding: 4px !important;
    }

    body.qr-modal-container .qr-card-caption {
        max-width: 310px !important;
    }
}

@media (max-height: 700px) and (max-width: 480px) {
    body.qr-modal-container .qr-main-content {
        justify-content: flex-start !important;
    }

    body.qr-modal-container .qr-content-wrapper {
        justify-content: flex-start !important;
        min-height: 0 !important;
        gap: 6px !important;
    }

    body.qr-modal-container .qr-code-section,
    body.qr-modal-container #qrCodeDisplay.qr-code-section {
        margin-top: 4px !important;
    }

    body.qr-modal-container .qr-code-container {
        min-height: clamp(504px, 70svh, 600px) !important;
        margin-top: 4px !important;
        padding-top: 38px !important;
    }

    body.qr-modal-container .qr-code-container::before {
        top: 90px !important;
    }

    body.qr-modal-container .qr-user-badge {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 14px !important;
        font-size: 18px !important;
    }

    body.qr-modal-container .qr-code-frame {
        width: 100% !important;
        max-width: none !important;
        padding: 6px !important;
        margin-top: 10px !important;
    }

    body.qr-modal-container .qr-code-image {
        width: min(304px, calc(100vw - 40px)) !important;
        height: min(304px, calc(100vw - 40px)) !important;
    }

    body.qr-modal-container .qr-card-caption {
        max-width: 294px !important;
        font-size: 12px !important;
    }
}

/* ========================================
   LEGAL PAGES (LAVENDER GLASS THEME)
   Scoped to about hub + new legal detail pages
   ======================================== */

body.about-container,
body.legal-page-container {
    background:
        radial-gradient(520px 300px at 8% 4%, rgba(167, 139, 250, 0.28), transparent 70%),
        radial-gradient(460px 320px at 100% 18%, rgba(196, 181, 253, 0.32), transparent 72%),
        radial-gradient(540px 360px at 50% 100%, rgba(139, 92, 246, 0.14), transparent 78%),
        linear-gradient(180deg, #f7f4ff 0%, #f1ebff 42%, #ece6ff 100%) !important;
    color: var(--pl-text-dark, #1a0f3c) !important;
}

body.about-container {
    display: block !important;
    min-height: 100vh !important;
}

body.about-container .container {
    max-width: 860px !important;
    margin: 0 auto !important;
    min-height: 100vh !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
}

body.about-container .container::after,
body.legal-page-container .legal-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.25) 0.5px, transparent 0.7px);
    background-size: 16px 16px;
    opacity: 0.25;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 90%);
}

body.about-container .about-content.about-legal-shell {
    padding: 6px 14px 28px !important;
}

body.about-container .about-legal-subtitle {
    margin: 2px 0 14px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    color: rgba(58, 45, 99, 0.88) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 6px 18px rgba(69, 53, 119, 0.05) !important;
}

body.about-container .about-menu {
    display: grid;
    gap: 10px;
}

body.about-container .about-menu-item {
    margin-bottom: 0 !important;
    overflow: hidden;
}

body.about-container .about-menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 58px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.about-container .about-menu-link:hover {
    transform: translateY(-1px);
}

body.about-container .about-menu-title {
    font-size: 15px !important;
    letter-spacing: 0.01em;
}

body.about-container .about-menu-arrow {
    font-size: 20px;
    line-height: 1;
    color: rgba(107, 114, 128, 0.9) !important;
}

body.about-container .about-menu-link:focus-visible,
body.about-container .back-btn:focus-visible,
body.legal-page-container a:focus-visible,
body.legal-page-container button:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.62) !important;
    outline-offset: 3px;
}

body.legal-page-container {
    display: block !important;
    min-height: 100vh !important;
    margin: 0 !important;
}

body.legal-page-container .legal-shell {
    position: relative;
    width: min(100%, 980px);
    margin: 0 auto;
    min-height: 100vh;
    padding:
        calc(env(safe-area-inset-top, 0px) + 10px)
        clamp(10px, 2.8vw, 20px)
        calc(env(safe-area-inset-bottom, 0px) + 28px);
}

body.legal-page-container .legal-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px 14px 14px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 26px rgba(55, 41, 96, 0.08);
}

body.legal-page-container .legal-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--pl-text-dark, #1a0f3c);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(55, 41, 96, 0.08);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

body.legal-page-container .legal-back-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

body.legal-page-container .legal-back-btn svg {
    width: 20px;
    height: 20px;
}

body.legal-page-container .legal-header-copy {
    min-width: 0;
    flex: 1;
}

body.legal-page-container .legal-header-copy h1 {
    margin: 0;
    color: var(--pl-text-dark, #1a0f3c);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.15;
    font-weight: 700;
}

body.legal-page-container .legal-header-copy p {
    margin: 4px 0 0;
    color: rgba(75, 85, 99, 0.92);
    font-size: 12px;
    line-height: 1.35;
}

body.legal-page-container .legal-main {
    display: grid;
    gap: 12px;
}

body.legal-page-container .legal-hero,
body.legal-page-container .legal-toc,
body.legal-page-container .legal-section-card {
    position: relative;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(55, 41, 96, 0.06);
}

body.legal-page-container .legal-hero {
    padding: clamp(14px, 2.4vw, 22px);
}

body.legal-page-container .legal-kicker {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5b21b6;
    background: rgba(167, 139, 250, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.26);
}

body.legal-page-container .legal-hero h2 {
    margin: 0 0 8px;
    color: var(--pl-text-dark, #1a0f3c);
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.1;
    font-weight: 800;
}

body.legal-page-container .legal-hero .legal-body-text {
    margin-bottom: 12px;
}

body.legal-page-container .legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.legal-page-container .legal-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(58, 45, 99, 0.92);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.legal-page-container .legal-toc {
    padding: 14px;
}

body.legal-page-container .legal-toc .legal-section-title {
    margin-bottom: 10px;
}

body.legal-page-container .legal-toc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.legal-page-container .legal-toc a {
    display: block;
    text-decoration: none;
    color: var(--pl-text-dark, #1a0f3c);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid rgba(196, 181, 253, 0.35);
    background: rgba(255, 255, 255, 0.55);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.legal-page-container .legal-toc a:hover {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(167, 139, 250, 0.45);
    transform: translateY(-1px);
}

body.legal-page-container .legal-section-card {
    padding: clamp(14px, 2.3vw, 20px);
}

body.legal-page-container .legal-section-title {
    margin: 0 0 8px;
    color: var(--pl-text-dark, #1a0f3c);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.2;
    font-weight: 700;
}

body.legal-page-container .legal-body-text {
    margin: 0;
    color: rgba(71, 85, 105, 0.98);
    font-size: 14px;
    line-height: 1.65;
}

body.legal-page-container .legal-body-text + .legal-body-text {
    margin-top: 10px;
}

body.legal-page-container .legal-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: rgba(71, 85, 105, 0.98);
    font-size: 14px;
    line-height: 1.65;
}

body.legal-page-container .legal-list li + li {
    margin-top: 6px;
}

body.legal-page-container .legal-inline-link {
    color: #6d28d9;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.legal-page-container .legal-inline-link:hover {
    color: #5b21b6;
}

body.legal-page-container .legal-footer-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.76);
    color: rgba(75, 85, 99, 0.95);
    font-size: 12px;
    line-height: 1.45;
}

body.legal-page-container .legal-back-top {
    text-decoration: none;
    font-weight: 700;
    color: #5b21b6;
    white-space: nowrap;
}

body.legal-page-container .legal-back-top:hover {
    color: #4c1d95;
}

@media (max-width: 640px) {
    body.legal-page-container .legal-shell {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.legal-page-container .legal-header {
        border-radius: 18px;
        padding: 12px 12px 12px 10px;
    }

    body.legal-page-container .legal-toc-grid {
        grid-template-columns: 1fr;
    }

    body.legal-page-container .legal-footer-note {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.about-container .about-menu-link,
    body.legal-page-container .legal-back-btn,
    body.legal-page-container .legal-toc a {
        transition: none !important;
    }
}

/* ========================================
   OTP SCREEN MOBILE-FIRST RESPONSIVE REFACTOR
   Scoped only to otp.html via body.player-otp-screen
   ======================================== */

body.player-otp-screen {
    --otp-bg-gradient:
        radial-gradient(360px 260px at 85% 10%, rgba(212, 175, 55, 0.12), transparent 70%),
        radial-gradient(420px 300px at 15% 85%, rgba(168, 85, 247, 0.18), transparent 72%),
        linear-gradient(160deg, #2d1b69 0%, #1a1042 45%, #0f0c29 100%);
    --otp-card-solid: rgba(23, 15, 56, 0.94);
    --otp-card-glass: rgba(255, 255, 255, 0.06);
    --otp-button-gradient: linear-gradient(180deg, #f6dc78 0%, #ecc74f 22%, #d7a73a 58%, #b57f26 100%);
    background: var(--otp-bg-gradient) !important;
    min-height: 100vh;
    min-height: 100dvh;
}

body.player-otp-screen .container {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.player-otp-screen .main-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: clamp(10px, 4vw, 26px) clamp(10px, 4vw, 24px) clamp(14px, 5vw, 28px) !important;
}

body.player-otp-screen .form-container {
    width: 94vw !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: clamp(18px, 5.2vw, 28px) clamp(12px, 4vw, 24px) clamp(18px, 4.5vw, 24px) !important;
    border-radius: clamp(20px, 5vw, 28px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: var(--otp-card-solid) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30) !important;
}

@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
    body.player-otp-screen .form-container {
        background: var(--otp-card-glass) !important;
        backdrop-filter: blur(14px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
    }
}

body.player-otp-screen .otp-form {
    gap: clamp(14px, 3.8vw, 20px) !important;
}

body.player-otp-screen .title {
    font-size: clamp(1.05rem, 5vw, 1.65rem) !important;
    line-height: 1.2 !important;
    margin-bottom: clamp(10px, 3vw, 16px) !important;
    text-wrap: balance;
}

body.player-otp-screen .otp-input-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-items: center !important;
    width: 100% !important;
    gap: clamp(6px, 1.8vw, 10px) !important;
    margin: clamp(8px, 2.5vw, 12px) 0 0 !important;
}

body.player-otp-screen .otp-digit {
    width: 100% !important;
    max-width: 54px !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    touch-action: manipulation !important;
    font-size: clamp(1rem, 4.4vw, 1.18rem) !important;
    line-height: 1 !important;
    padding: 0 !important;
}

body.player-otp-screen .resend-btn {
    min-height: 44px !important;
    min-width: 168px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    touch-action: manipulation !important;
}

body.player-otp-screen .proceed-btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    background: var(--otp-button-gradient) !important;
    touch-action: manipulation !important;
}

@media (min-width: 640px) {
    body.player-otp-screen .main-content {
        padding: clamp(16px, 3.4vw, 28px) clamp(16px, 4vw, 42px) clamp(18px, 4vw, 32px) !important;
    }

    body.player-otp-screen .form-container {
        width: min(88vw, 420px) !important;
    }
}

@media (max-width: 359px) {
    body.player-otp-screen .form-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.player-otp-screen .otp-input-container {
        gap: 4px !important;
    }
}
