body {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    /* Use a modern font if possible */
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top right, #2a1a1a, #121212);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Animated Background Mesh (Simulated with gradients) */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(233, 64, 87, 0.15), transparent 60%);
    animation: pulseBg 10s infinite alternate;
    z-index: -1;
}

@keyframes pulseBg {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Mobile Container Simulation */
.mobile-container {
    width: 100%;
    max-width: 400px;
    /* Mobile width */
    height: 100%;
    max-height: 850px;
    background-color: #1e1e1e;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* AppBar */
.app-bar {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    background-color: #1e1e1e;
    /* Match background or primary color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.app-title {
    font-size: 20px;
    font-weight: bold;
}

.app-actions {
    display: flex;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* Main Content Area */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* FLIK NOW Button - Exact Replica */
.flik-now-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #E94057, #F27121);
    /* Exact Flutter Colors */
    box-shadow: 0 10px 30px rgba(233, 64, 87, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 48px;
    position: relative;
}

.flik-now-btn:active {
    transform: scale(0.95);
}

.flik-text {
    font-size: 32px;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
}

.tap-text {
    color: #888;
    margin-top: 16px;
    font-size: 14px;
}

/* Login Screen Styles */
/* Login Container - Glass Effect */
.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.login-content {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

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

/* Logo Styling */
.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E94057, #F27121);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(233, 64, 87, 0.4);
}

.logo-text {
    font-size: 40px;
    font-weight: bold;
    color: white;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-subtitle {
    color: #888;
    margin: 8px 0 32px;
    font-size: 16px;
}

/* Login Input Styling */
.input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.input-group:focus-within {
    border-color: #E94057;
    background: rgba(255, 255, 255, 0.08);
}

.phone-input-container {
    display: flex;
    align-items: center;
    padding: 4px 16px;
}

.country-code {
    color: #fff;
    font-weight: 600;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#phone-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    outline: none;
}

#phone-input::placeholder {
    color: #666;
}

#otp-container {
    margin-bottom: 16px;
}

#otp-input {
    text-align: center;
    letter-spacing: 4px;
    font-size: 20px;
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

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

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

/* Gender Selection Styling */
.gender-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.gender-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 16px;
    color: #ccc;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.gender-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gender-option.selected {
    background: linear-gradient(135deg, rgba(233, 64, 87, 0.2), rgba(242, 113, 33, 0.2));
    border: 1px solid #E94057;
    color: white;
}

.check-icon::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #555;
}

.gender-option.selected .check-icon::after {
    background: #E94057;
    border-color: #E94057;
    box-shadow: 0 0 10px rgba(233, 64, 87, 0.5);
}

/* Wallet Modal Styling */
.wallet-balance-display {
    display: flex;
    align-items: flex-start;
    margin-top: 8px;
}

.currency {
    font-size: 24px;
    color: #E94057;
    margin-top: 6px;
}

.wallet-balance-display span:last-child {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.primary-btn {
    background: linear-gradient(135deg, #E94057, #F27121);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(233, 64, 87, 0.3);
}

.primary-btn:active {
    transform: scale(0.98);
}

/* Gender Dialog/Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

/* Glass Modal */
.glass-modal {
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    width: 90%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* The original .gender-option and .gender-option.selected rules are replaced by the new ones above */

/* Wallet Styles */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.close-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-card {
    background: linear-gradient(135deg, #2c3e50, #000000);
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-label {
    color: #aaa;
    font-size: 14px;
    margin: 0;
}

.recharge-section {
    text-align: left;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ddd;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #E94057;
}

/* Video Container */
#video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 20;
}

.hidden {
    display: none !important;
}