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

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

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;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   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;
}

/* 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%;
    }
}