:root {
            /* Bet365 color scheme */
            --primary: #00BC8D; /* Bet365 green */
            --primary-dark: #008C68;
            --secondary: #1A1E2C; /* Dark navy */
            --accent: #FF5F5F; /* Coral red */
            --text: #FFFFFF;
            --text-secondary: #B0B5C5;
            --background: #121620;
            --card-bg: #1A1E2C;
            --input-bg: #252A3A;
            --success: #00BC8D;
            --warning: #FFC107;
            --error: #FF5F5F;
            --border: #2D3446;
            --highlight: rgba(0, 188, 141, 0.2);
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            
            /* Light mode colors - will be applied when light mode is active */
            --light-primary: #00BC8D;
            --light-primary-dark: #008C68;
            --light-secondary: #F5F7FA;
            --light-accent: #FF5F5F;
            --light-text: #2D3446;
            --light-text-secondary: #5A6475;
            --light-background: #FFFFFF;
            --light-card-bg: #F5F7FA;
            --light-input-bg: #FFFFFF;
            --light-border: #D8DEE9;
            --light-highlight: rgba(0, 188, 141, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Space Grotesk", sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--background);
            color: var(--text);
            line-height: 1.6;
            transition: all 0.3s ease;
            position: relative;
            overflow-x: hidden;
        }

        body.light-mode {
            background-color: var(--light-background);
            color: var(--light-text);
            
            --primary: var(--light-primary);
            --primary-dark: var(--light-primary-dark);
            --secondary: var(--light-secondary);
            --accent: var(--light-accent);
            --text: var(--light-text);
            --text-secondary: var(--light-text-secondary);
            --background: var(--light-background);
            --card-bg: var(--light-card-bg);
            --input-bg: var(--light-input-bg);
            --border: var(--light-border);
            --highlight: var(--light-highlight);
        }

        /* Background pattern inspired by bet365 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(0, 188, 141, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 80% 70%, rgba(255, 95, 95, 0.05) 0%, transparent 20%);
            z-index: -1;
            opacity: 0.5;
        }

        /* Disable text selection and right-click */
        body {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        
        /* Prevent context menu */
        body {
            -webkit-touch-callout: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            margin-bottom: 20px;
            flex-wrap: wrap;
            border-bottom: 1px solid var(--border);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .logo img {
            height: 40px;
            width: 40px;
            object-fit: contain;
        }

        .logo h1 {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .theme-toggle {
            background-color: var(--input-bg);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            color: var(--primary);
            border-color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 12px;
            margin-bottom: 10px;
        }

        .social-links a {
            color: var(--text-secondary);
            font-size: 18px;
            transition: all 0.3s;
        }

        .social-links a:hover {
            color: var(--primary);
            transform: scale(1.1);
        }

        .presale-status {
            background-color: var(--success);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .presale-status .dot {
            width: 8px;
            height: 8px;
            background-color: white;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .presale-card {
            background-color: var(--card-bg);
            border-radius: 10px;
            padding: 20px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .presale-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }

        .card-header h2 {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary);
        }

        .card-header .price {
            background-color: var(--secondary);
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 13px;
            color: var(--primary);
            border: 1px solid var(--border);
            font-weight: 600;
        }

        .progress-container {
            margin-bottom: 20px;
        }

        .progress-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .progress-bar {
            height: 8px;
            background-color: var(--secondary);
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid var(--border);
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border-radius: 5px;
            width: 25%;
            transition: width 0.5s ease;
            position: relative;
            overflow: hidden;
        }

        .progress-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.3) 50%, 
                rgba(255,255,255,0) 100%);
            animation: progressShine 2s infinite;
        }

        @keyframes progressShine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .cap-info {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            font-size: 11px;
            color: var(--text-secondary);
        }

        .timer-container {
            background-color: var(--secondary);
            padding: 12px;
            border-radius: 10px;
            text-align: center;
            margin-bottom: 20px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .timer-title {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .timer {
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
        }

        .timer-segment {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .timer-number {
            background-color: var(--card-bg);
            padding: 5px 8px;
            border-radius: 5px;
            min-width: 45px;
            color: var(--primary);
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }

        .timer-number::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right, 
                rgba(255,255,255,0) 45%,
                rgba(255,255,255,0.1) 50%,
                rgba(255,255,255,0) 55%
            );
            transform: rotate(30deg);
            animation: timerShine 3s infinite;
        }

        @keyframes timerShine {
            0% { transform: translateX(-100%) rotate(30deg); }
            100% { transform: translateX(100%) rotate(30deg); }
        }

        .timer-label {
            font-size: 11px;
            color: var(--text-secondary);
            margin-top: 5px;
            text-transform: uppercase;
        }

        .calculator {
            margin-bottom: 20px;
        }

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

        .input-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .input-wrapper {
            display: flex;
            align-items: center;
            background-color: var(--input-bg);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .input-wrapper:hover {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--highlight);
        }

        .input-wrapper input {
            flex: 1;
            background: transparent;
            border: none;
            color: var(--text);
            padding: 12px 15px;
            font-size: 15px;
            outline: none;
        }

        .input-wrapper .token-selector {
            display: flex;
            align-items: center;
            padding: 0 12px;
            background-color: var(--secondary);
            height: 100%;
            cursor: pointer;
            border-left: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .input-wrapper .token-selector:hover {
            background-color: var(--primary);
            color: white;
        }

        .input-wrapper .token-selector img {
            width: 20px;
            height: 20px;
            margin-right: 8px;
        }

        .input-wrapper .token-selector span {
            font-size: 13px;
            font-weight: 600;
        }

        .input-wrapper .token-selector i {
            margin-left: 8px;
            font-size: 11px;
        }

        .token-amount {
            background-color: var(--secondary);
            padding: 12px;
            border-radius: 8px;
            margin-top: 8px;
            font-size: 13px;
            border: 1px solid var(--border);
        }

        .token-amount div {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .token-amount div:last-child {
            margin-bottom: 0;
        }

        .buy-button {
            width: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 14px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 0 rgba(0, 108, 81, 0.5);
            position: relative;
            overflow: hidden;
        }

        .buy-button::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right, 
                rgba(255,255,255,0) 45%,
                rgba(255,255,255,0.3) 50%,
                rgba(255,255,255,0) 55%
            );
            transform: rotate(30deg);
            animation: buttonShine 3s infinite;
        }

        @keyframes buttonShine {
            0% { transform: translateX(-100%) rotate(30deg); }
            100% { transform: translateX(100%) rotate(30deg); }
        }

        .buy-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 0 rgba(0, 108, 81, 0.5);
        }

        .buy-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 0 rgba(0, 108, 81, 0.5);
        }

        .whitepaper-btn {
            width: 100%;
            background-color: var(--secondary);
            color: var(--text);
            border: 1px solid var(--primary);
            padding: 14px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

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

        .payment-details {
            margin-top: 25px;
        }

        .payment-details h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .payment-details h3 i {
            color: var(--primary);
        }

        .payment-methods {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .payment-method {
            background-color: var(--input-bg);
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .payment-method:hover {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--highlight);
        }

        .payment-method.active {
            border-color: var(--primary);
            background-color: var(--highlight);
        }

        .payment-method img {
            width: 28px;
            height: 28px;
            margin-right: 12px;
        }

        .payment-method .info {
            flex: 1;
        }

        .payment-method .info .name {
            font-weight: 600;
            margin-bottom: 3px;
            font-size: 14px;
        }

        .payment-method .info .network {
            font-size: 11px;
            color: var(--text-secondary);
        }

        .payment-address {
            margin-top: 15px;
            background-color: var(--secondary);
            padding: 12px;
            border-radius: 8px;
            font-size: 13px;
            word-break: break-all;
            position: relative;
            border: 1px solid var(--border);
        }

        .payment-address .label {
            color: var(--text-secondary);
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
        }

        .copy-button {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 4px 8px;
            border-radius: 5px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .copy-button:hover {
            background-color: var(--primary-dark);
        }

        .referral-section {
            margin-top: 25px;
        }

        .referral-section h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .referral-section h3 i {
            color: var(--primary);
        }

        .referral-link-container {
            background-color: var(--input-bg);
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 12px;
            border: 1px solid var(--border);
        }

        .referral-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            word-break: break-all;
            font-size: 13px;
        }

        .referral-link span {
            flex: 1;
            margin-right: 8px;
        }

        .referral-link button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 4px 8px;
            border-radius: 5px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .referral-link button:hover {
            background-color: var(--primary-dark);
        }

        .referral-earnings {
            font-size: 13px;
            color: var(--text-secondary);
            margin-top: 8px;
        }

        .tiers-section {
            margin-top: 25px;
        }

        .tiers-section h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .tiers-section h3 i {
            color: var(--primary);
        }

        .tiers {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 12px;
        }

        .tier {
            background-color: var(--input-bg);
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .tier:hover {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--highlight);
            transform: translateY(-3px);
        }

        .tier.active {
            border-color: var(--primary);
            background-color: var(--highlight);
        }

        .tier .name {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--primary);
            font-size: 14px;
        }

        .tier .bonus {
            font-size: 13px;
        }

        .next-phase {
            margin-top: 25px;
        }

        .next-phase h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .next-phase h3 i {
            color: var(--primary);
        }

        .next-phase-details {
            background-color: var(--input-bg);
            border-radius: 8px;
            padding: 12px;
            font-size: 13px;
            border: 1px solid var(--border);
        }

        .next-phase-details div {
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
        }

        .next-phase-details div:last-child {
            margin-bottom: 0;
        }

        .how-to-buy-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 12px 18px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .how-to-buy-btn:hover {
            background-color: var(--primary-dark);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            touch-action: manipulation;
        }

        .modal-content {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 20px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            animation: modalAppear 0.3s ease-out;
        }

        @keyframes modalAppear {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .close-modal {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 22px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close-modal:hover {
            color: var(--accent);
            transform: scale(1.1);
        }

        .modal-content h2 {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .modal-content h3 {
            font-size: 16px;
            margin: 15px 0 8px;
            color: var(--primary);
        }

        .modal-content ol, .modal-content ul {
            margin-left: 18px;
            margin-bottom: 12px;
        }

        .modal-content li {
            margin-bottom: 6px;
            font-size: 14px;
        }

        .payment-form {
            margin-top: 25px;
            display: none;
        }

        .payment-form h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .payment-form h3 i {
            color: var(--primary);
        }

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

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .form-group input {
            width: 100%;
            background-color: var(--input-bg);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 12px 15px;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--highlight);
        }

        .submit-proof {
            width: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 14px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 12px;
            box-shadow: 0 4px 0 rgba(0, 108, 81, 0.5);
        }

        .submit-proof:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 0 rgba(0, 108, 81, 0.5);
        }

        .success-message {
            display: none;
            text-align: center;
            padding: 25px;
        }

        .success-message i {
            font-size: 45px;
            color: var(--success);
            margin-bottom: 15px;
            animation: pulse 2s infinite;
        }

        .success-message h2 {
            font-size: 20px;
            margin-bottom: 12px;
            color: var(--success);
        }

        .success-message p {
            font-size: 14px;
            margin-bottom: 15px;
        }

        .token-info {
            margin-top: 25px;
        }

        .token-info h3 {
            font-size: 16px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .token-info h3 i {
            color: var(--primary);
        }

        .token-details {
            background-color: var(--input-bg);
            border-radius: 8px;
            padding: 12px;
            font-size: 13px;
            border: 1px solid var(--border);
        }

        .token-details div {
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
        }

        .token-details div:last-child {
            margin-bottom: 0;
        }

        .token-details .label {
            color: var(--text-secondary);
        }

        .token-details .value {
            font-weight: 600;
        }

        .token-details .contract {
            word-break: break-all;
            text-align: right;
        }

        .copy-icon {
            margin-left: 5px;
            cursor: pointer;
            color: var(--primary);
            font-size: 11px;
            transition: all 0.3s ease;
        }

        .copy-icon:hover {
            color: var(--primary-dark);
            transform: scale(1.2);
        }

        /* Custom Alert Styles */
        .alert-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            touch-action: manipulation;
        }

        .alert-content {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            max-width: 350px;
            width: 90%;
            text-align: center;
            position: relative;
            border-top: 5px solid var(--primary);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            animation: modalAppear 0.3s ease-out;
        }

        .alert-icon {
            font-size: 45px;
            margin-bottom: 15px;
        }

        .alert-icon.success {
            color: var(--success);
            animation: pulse 2s infinite;
        }

        .alert-icon.warning {
            color: var(--warning);
            animation: pulse 2s infinite;
        }

        .alert-icon.error {
            color: var(--error);
            animation: pulse 0.5s infinite;
        }

        .alert-title {
            font-size: 20px;
            margin-bottom: 12px;
            color: var(--text);
        }

        .alert-message {
            font-size: 14px;
            margin-bottom: 20px;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .alert-button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .alert-button:hover {
            background-color: var(--primary-dark);
        }

        /* Wallet Connection Styles */
        .wallet-connect-container {
            margin-bottom: 20px;
        }

        .wallet-connect-btn {
            width: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 14px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 0 rgba(0, 108, 81, 0.5);
            position: relative;
            overflow: hidden;
        }

        .wallet-connect-btn::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right, 
                rgba(255,255,255,0) 45%,
                rgba(255,255,255,0.3) 50%,
                rgba(255,255,255,0) 55%
            );
            transform: rotate(30deg);
            animation: buttonShine 3s infinite;
        }

        .wallet-connect-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 0 rgba(0, 108, 81, 0.5);
        }

        .wallet-connect-btn:active {
            transform: translateY(1px);
            box-shadow: 0 2px 0 rgba(0, 108, 81, 0.5);
        }

        .wallet-connect-btn i {
            font-size: 18px;
        }

        .wallet-address-display {
            background-color: var(--secondary);
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            margin-top: 12px;
            font-size: 13px;
            word-break: break-all;
            display: none;
            border: 1px solid var(--border);
        }

        .wallet-disconnect-btn {
            background-color: var(--error);
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 5px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 8px;
        }

        .wallet-disconnect-btn:hover {
            background-color: #d32f2f;
        }

        .wallet-balance-info {
            margin-top: 8px;
            font-size: 12px;
            color: var(--text-secondary);
            text-align: left;
        }

        .wallet-balance-info div {
            margin-bottom: 4px;
        }

        /* Wallet Selector Modal */
        .wallet-selector-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            touch-action: manipulation;
        }

        .wallet-selector-content {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            max-width: 350px;
            width: 90%;
            text-align: center;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            animation: modalAppear 0.3s ease-out;
        }

        .wallet-selector-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .wallet-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .wallet-option {
            background-color: var(--input-bg);
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .wallet-option:hover {
            border-color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 0 0 2px var(--highlight);
        }

        .wallet-option img {
            width: 28px;
            height: 28px;
            margin-right: 12px;
        }

        .wallet-option span {
            font-weight: 600;
            flex: 1;
            text-align: left;
            font-size: 14px;
        }

        .wallet-option i {
            font-size: 18px;
            color: var(--text-secondary);
        }

        /* Direct Payment Styles - Improved for Mobile */
        .direct-payment-section {
            margin-top: 15px;
            display: none;
        }
        
        .direct-payment-info {
            background-color: var(--input-bg);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 12px;
            font-size: 13px;
            border: 1px solid var(--border);
            overflow-wrap: break-word;
        }
        
        .direct-payment-info div {
            margin-bottom: 6px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .direct-payment-info div:last-child {
            margin-bottom: 0;
        }
        
        .direct-payment-info span {
            word-break: break-all;
        }
        
        .direct-payment-info span:first-child {
            min-width: 80px;
            margin-right: 10px;
        }
        
        .direct-pay-button {
            width: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 14px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 0 rgba(0, 108, 81, 0.5);
            position: relative;
            overflow: hidden;
        }
        
        .direct-pay-button::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right, 
                rgba(255,255,255,0) 45%,
                rgba(255,255,255,0.3) 50%,
                rgba(255,255,255,0) 55%
            );
            transform: rotate(30deg);
            animation: buttonShine 3s infinite;
        }
        
        .direct-pay-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 0 rgba(0, 108, 81, 0.5);
        }
        
        .direct-pay-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 0 rgba(0, 108, 81, 0.5);
        }
        
        .direct-pay-button i {
            font-size: 18px;
        }
        
        .payment-options {
            display: flex;
            gap: 12px;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        
        .payment-option {
            flex: 1;
            min-width: 120px;
            text-align: center;
        }
        
        .payment-toggle {
            background-color: var(--secondary);
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
            height: 100%;
        }
        
        .payment-toggle.active {
            border-color: var(--primary);
            background-color: var(--highlight);
        }
        
        .payment-toggle img {
            width: 28px;
            height: 28px;
            margin-bottom: 8px;
        }
        
        .payment-toggle .name {
            font-weight: 600;
            font-size: 14px;
        }

        /* Responsive adjustments for very small screens */
        @media (max-width: 400px) {
            .container {
                padding: 10px;
            }
            
            .logo h1 {
                font-size: 18px;
            }
            
            .social-links {
                gap: 8px;
            }
            
            .presale-card {
                padding: 15px;
            }
            
            .timer {
                font-size: 16px;
                gap: 6px;
            }
            
            .timer-number {
                min-width: 35px;
                padding: 4px 6px;
            }
            
            .timer-label {
                font-size: 10px;
            }
            
            .tiers {
                grid-template-columns: 1fr;
            }
            
            .payment-options {
                flex-direction: column;
            }
            
            .modal-content {
                padding: 15px;
            }
            
            .modal-content h2 {
                font-size: 18px;
            }
            
            .modal-content h3 {
                font-size: 15px;
            }
            
            .modal-content li {
                font-size: 13px;
            }
            
            /* Improved direct payment section for small screens */
            .direct-payment-info div {
                flex-direction: column;
            }
            
            .direct-payment-info span:first-child {
                margin-bottom: 4px;
            }
            
            .payment-option {
                min-width: 100%;
            }
        }

        /* Landscape orientation adjustments */
        @media (max-height: 500px) and (orientation: landscape) {
            .modal-content, .alert-content, .wallet-selector-content {
                max-height: 70vh;
                overflow-y: auto;
            }
        }
        
        /* Specific fixes for Direct Payment tab on mobile */
        @media (max-width: 767px) {
            .direct-payment-section {
                padding: 10px;
                margin-left: -10px;
                margin-right: -10px;
                width: calc(100% + 20px);
            }
            
            .direct-payment-info {
                padding: 10px;
            }
            
            .direct-pay-button {
                padding: 12px;
                font-size: 14px;
            }
        }