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

        :root {
            --primary-color: #6366F1;
            --primary-light: #818CF8;
            --primary-dark: #4F46E5;
            --secondary-color: #EC4899;
            --accent-color: #8B5CF6;
            --success-color: #10B981;
            --warning-color: #F59E0B;
            --danger-color: #EF4444;
            --bg-gradient-start: #F0F4FF;
            --bg-gradient-end: #FAF5FF;
            --card-bg: #FFFFFF;
            --text-primary: #1F2937;
            --text-secondary: #6B7280;
            --text-muted: #9CA3AF;
            --border-color: #E5E7EB;
            --shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.08);
            --shadow-md: 0 4px 12px rgba(99, 102, 241, 0.12);
            --shadow-lg: 0 10px 30px rgba(99, 102, 241, 0.15);
            --shadow-xl: 0 20px 40px rgba(99, 102, 241, 0.2);
        }

        body {
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
            color: var(--text-primary);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            transition: all 0.4s ease;
        }

        /* Dark Mode */
        body.dark-mode {
            --bg-gradient-start: #1A1B2E;
            --bg-gradient-end: #16213E;
            --card-bg: #252B42;
            --text-primary: #F9FAFB;
            --text-secondary: #D1D5DB;
            --text-muted: #9CA3AF;
            --border-color: #374151;
        }

        body.dark-mode .top-bar {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
        }

        .app-container {
            max-width: 480px;
            margin: 0 auto;
            min-height: 100vh;
            position: relative;
            background: transparent;
        }

        /* Top Bar */
        .top-bar {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
            color: white;
            padding: 24px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--shadow-lg);
            border-radius: 0 0 24px 24px;
            position: relative;
            overflow: hidden;
        }

        .top-bar::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .balance-info {
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .balance-label {
            font-size: 13px;
            opacity: 0.9;
            font-weight: 500;
            margin-bottom: 4px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .coins-balance {
            font-size: 36px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 6px;
        }

        .coins-balance i {
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .usd-equivalent {
            font-size: 15px;
            opacity: 0.95;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.2);
            padding: 6px 12px;
            border-radius: 20px;
            display: inline-block;
            backdrop-filter: blur(10px);
        }

        .menu-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 1;
        }

        .menu-icon:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: scale(1.05);
        }

        /* Pages */
        .page {
            display: none;
            padding: 24px 20px;
            padding-bottom: 100px;
            animation: fadeInUp 0.5s ease-out;
        }

        .page.active {
            display: block;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Main Page - Tap to Earn */
        .tap-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 65vh;
            padding: 40px 20px;
        }

        .tap-button {
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-xl);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .tap-button::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
            animation: rotate 4s linear infinite;
        }

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

        .tap-button:active {
            transform: scale(0.92);
            box-shadow: var(--shadow-md);
        }

        .tap-button i {
            font-size: 90px;
            color: white;
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
        }

        .tap-instruction {
            margin-top: 40px;
            text-align: center;
            color: var(--text-secondary);
            font-size: 18px;
            font-weight: 500;
        }

        .tap-instruction strong {
            color: var(--primary-color);
            font-size: 28px;
            display: block;
            margin-top: 12px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Coin Animation */
        .coin-particle {
            position: fixed;
            font-size: 28px;
            pointer-events: none;
            animation: flyUpRotate 1.2s ease-out forwards;
            z-index: 9999;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
        }

        @keyframes flyUpRotate {
            0% {
                opacity: 1;
                transform: translateY(0) scale(1) rotate(0deg);
            }
            100% {
                opacity: 0;
                transform: translateY(-180px) scale(0.3) rotate(720deg);
            }
        }

        /* Card Styles */
        .card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 24px;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        /* Exchange Page */
        .exchange-container {
            max-width: 420px;
            margin: 0 auto;
        }

        .conversion-rate {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
            color: white;
            padding: 28px;
            border-radius: 20px;
            text-align: center;
            margin-bottom: 32px;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .conversion-rate::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            animation: rotate 8s linear infinite;
        }

        .conversion-rate h3 {
            font-size: 16px;
            margin-bottom: 12px;
            font-weight: 600;
            opacity: 0.95;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            z-index: 1;
        }

        .conversion-rate p {
            font-size: 26px;
            font-weight: 700;
            position: relative;
            z-index: 1;
        }

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

        .input-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 15px;
        }

        .input-group input {
            width: 100%;
            padding: 18px;
            border: 2px solid var(--border-color);
            border-radius: 14px;
            font-size: 17px;
            font-family: inherit;
            transition: all 0.3s ease;
            background-color: var(--card-bg);
            color: var(--text-primary);
            font-weight: 500;
        }

        .input-group input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
        }

        .input-group input.error {
            border-color: var(--danger-color);
        }

        .error-message {
            color: var(--danger-color);
            font-size: 13px;
            margin-top: 6px;
            display: none;
            font-weight: 500;
        }

        .error-message.show {
            display: block;
            animation: shake 0.3s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .btn {
            width: 100%;
            padding: 18px;
            border: none;
            border-radius: 14px;
            font-size: 17px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .btn-primary:active {
            transform: translateY(-1px);
        }

        .btn span, .btn i {
            position: relative;
            z-index: 1;
        }

        /* Withdraw Page */
        .withdraw-amounts {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }

        .amount-card {
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            border-radius: 18px;
            padding: 24px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .amount-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .amount-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-4px) scale(1.02);
            box-shadow: var(--shadow-md);
        }

        .amount-card.disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .amount-card.disabled:hover {
            transform: none;
            border-color: var(--border-color);
            box-shadow: none;
        }

        .amount-card.selected {
            border-color: var(--primary-color);
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
            box-shadow: var(--shadow-md);
        }

        .amount-card.selected::before {
            opacity: 0.05;
        }

        .amount-value {
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }

        .amount-coins {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            position: relative;
            z-index: 1;
        }

        .payout-methods {
            margin-top: 32px;
        }

        .payout-methods h3 {
            margin-bottom: 18px;
            font-size: 19px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .method-card {
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .method-card:hover {
            border-color: var(--primary-color);
            transform: translateX(4px);
            box-shadow: var(--shadow-sm);
        }

        .method-card.selected {
            border-color: var(--primary-color);
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
            box-shadow: var(--shadow-sm);
        }

        .method-card i {
            font-size: 28px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .method-card span {
            font-weight: 600;
            color: var(--text-primary);
        }

        .payment-details {
            margin-top: 24px;
            display: none;
            animation: fadeInUp 0.4s ease;
        }

        .payment-details.show {
            display: block;
        }

        /* History Page */
        .history-container {
            max-width: 420px;
            margin: 0 auto;
        }

        .history-empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
        }

        .history-empty i {
            font-size: 80px;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        .history-empty p {
            font-size: 16px;
            font-weight: 500;
        }

        .history-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 20px;
            margin-bottom: 14px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .history-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .history-item:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-sm);
        }

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

        .history-type {
            font-weight: 700;
            font-size: 17px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .history-status {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .history-status.completed {
            background: rgba(16, 185, 129, 0.15);
            color: var(--success-color);
        }

        .history-status.pending {
            background: rgba(245, 158, 11, 0.15);
            color: var(--warning-color);
        }

        .history-amount {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .history-details {
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.6;
            font-weight: 500;
        }

        .history-date {
            color: var(--text-muted);
            font-size: 13px;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Settings Page */
        .settings-container {
            max-width: 420px;
            margin: 0 auto;
        }

        .settings-section {
            margin-bottom: 24px;
        }

        .settings-section-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            padding-left: 4px;
        }

        .settings-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 18px 20px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .settings-item:hover {
            border-color: var(--primary-color);
            transform: translateX(4px);
            box-shadow: var(--shadow-sm);
        }

        .settings-label {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .settings-label i {
            font-size: 22px;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .settings-label span {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 15px;
        }

        /* Toggle Switch */
        .toggle-switch {
            position: relative;
            width: 54px;
            height: 28px;
        }

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

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #D1D5DB;
            transition: 0.4s;
            border-radius: 34px;
        }

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

        input:checked + .toggle-slider {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

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

        /* Language Selector */
        .language-selector {
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            border-radius: 10px;
            padding: 8px 12px;
            font-size: 15px;
            font-family: inherit;
            color: var(--text-primary);
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .language-selector:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        /* Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            max-width: 480px;
            width: 100%;
            background: var(--card-bg);
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-around;
            padding: 12px 0 16px;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
            backdrop-filter: blur(10px);
            border-radius: 24px 24px 0 0;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            padding: 10px 18px;
            border-radius: 14px;
            transition: all 0.3s ease;
            color: var(--text-muted);
            min-width: 70px;
            position: relative;
        }

        .nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 0 0 3px 3px;
            transition: width 0.3s ease;
        }

        .nav-item:hover {
            background: rgba(99, 102, 241, 0.08);
        }

        .nav-item.active {
            color: var(--primary-color);
        }

        .nav-item.active::before {
            width: 40px;
        }

        .nav-item i {
            font-size: 22px;
            transition: transform 0.3s ease;
        }

        .nav-item.active i {
            transform: scale(1.15);
        }

        .nav-item span {
            font-size: 11px;
            font-weight: 600;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.6);
            backdrop-filter: blur(4px);
            animation: fadeIn 0.3s;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: var(--card-bg);
            padding: 32px;
            border-radius: 24px;
            max-width: 400px;
            width: 90%;
            box-shadow: var(--shadow-xl);
            animation: slideUpBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes slideUpBounce {
            0% {
                transform: translateY(100px) scale(0.8);
                opacity: 0;
            }
            100% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }

        .modal-header {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 18px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-body {
            margin-bottom: 24px;
            line-height: 1.7;
            color: var(--text-secondary);
            font-size: 15px;
        }

        .modal-footer {
            display: flex;
            gap: 12px;
        }

        .btn-secondary {
            background: var(--border-color);
            color: var(--text-primary);
        }

        .btn-secondary:hover {
            background: var(--text-muted);
            transform: translateY(-2px);
        }

        /* Page Titles */
        .page-title {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 24px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .tap-button {
                width: 220px;
                height: 220px;
            }

            .tap-button i {
                font-size: 70px;
            }

            .coins-balance {
                font-size: 30px;
            }

            .page-title {
                font-size: 28px;
            }
        }

        /* Select Dropdown */
        select {
            background: var(--card-bg);
            color: var(--text-primary);
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-gradient-start);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Authentication Page */
        .auth-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 40px 20px;
            max-width: 420px;
            margin: 0 auto;
        }

        .auth-header {
            text-align: center;
            margin-bottom: 48px;
            animation: slideDownFade 0.6s ease-out;
        }

        @keyframes slideDownFade {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .auth-form {
            width: 100%;
            display: none;
            animation: fadeInUp 0.5s ease-out;
        }

        .auth-form.active {
            display: block;
        }

        .auth-input {
            width: 100%;
            padding: 16px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.3s ease;
            background-color: var(--card-bg);
            color: var(--text-primary);
            font-weight: 500;
        }

        .auth-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
            transform: translateY(-2px);
        }

        .auth-input.error {
            border-color: var(--danger-color);
        }



        /* Enhanced Responsive Design */
        
        /* Tablet Devices (768px and above) */
        @media (min-width: 768px) {
            .app-container {
                max-width: 600px;
            }

            .tap-button {
                width: 280px;
                height: 280px;
            }

            .tap-button i {
                font-size: 100px;
            }

            .page-title {
                font-size: 36px;
            }

            .modal-content {
                max-width: 500px;
                padding: 40px;
            }

            .auth-container {
                max-width: 500px;
                padding: 60px 40px;
            }

            .withdraw-amounts {
                grid-template-columns: repeat(3, 1fr);
            }

            .settings-container {
                max-width: 500px;
            }
        }

        /* Desktop Devices (1024px and above) */
        @media (min-width: 1024px) {
            .app-container {
                max-width: 700px;
            }

            .tap-button {
                width: 320px;
                height: 320px;
            }

            .tap-button i {
                font-size: 120px;
            }

            .page-title {
                font-size: 40px;
            }

            .modal-content {
                max-width: 600px;
                padding: 48px;
            }

            .auth-container {
                max-width: 600px;
                padding: 80px 60px;
            }

            .withdraw-amounts {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }

            .settings-container {
                max-width: 600px;
            }

            .coins-balance {
                font-size: 40px;
            }

            .usd-equivalent {
                font-size: 18px;
            }
        }

        /* Large Desktop (1440px and above) */
        @media (min-width: 1440px) {
            .app-container {
                max-width: 800px;
            }

            .tap-button {
                width: 360px;
                height: 360px;
            }

            .tap-button i {
                font-size: 140px;
            }

            .page-title {
                font-size: 44px;
            }

            .modal-content {
                max-width: 700px;
                padding: 56px;
            }

            .auth-container {
                max-width: 700px;
                padding: 100px 80px;
            }
        }

        /* Mobile Landscape */
        @media (max-height: 600px) and (orientation: landscape) {
            .app-container {
                min-height: auto;
            }

            .tap-button {
                width: 160px;
                height: 160px;
            }

            .tap-button i {
                font-size: 50px;
            }

            .tap-instruction {
                font-size: 13px;
            }

            .bottom-nav {
                padding: 12px 20px;
            }

            .nav-item span {
                display: none;
            }

            .nav-item i {
                font-size: 24px;
            }
        }

        /* Touch Device Optimization */
        @media (hover: none) and (pointer: coarse) {
            .btn {
                padding: 18px 24px;
                font-size: 16px;
                min-height: 48px;
            }

            .tap-button {
                min-height: 200px;
                min-width: 200px;
            }

            input, select, textarea {
                font-size: 16px;
                padding: 18px;
            }

            .nav-item {
                padding: 16px 12px;
            }
        }

        /* Print Styles */
        @media print {
            .bottom-nav,
            .top-bar,
            .modal {
                display: none;
            }

            body {
                background: white;
            }

            .page {
                page-break-inside: avoid;
            }
        }

