:root {
    --primary: #1a237e;
    --secondary: #3949ab;
    --accent: #ff6d00;
    --bg-dark: #f0f2f5;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(26, 35, 126, 0.1);
    --text-primary: #1a237e;
    --text-secondary: #444444;
    --gradient-main: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-dark);
    height: 100vh;
    overflow: hidden;
    color: var(--text-primary);
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #e8ecff, transparent),
        radial-gradient(circle at bottom left, #fff0e6, transparent),
        #f0f2f5;
    z-index: -1;
}

.page-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Wrapper */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 242, 245, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.modal-content {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    text-align: center;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header h1 {
    font-size: 2rem;
    margin: 15px 0 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* Radio Cards */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-inner {
    background: #ffffff;
    border: 1px solid var(--border-color, #dadce0);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gender-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-card input:checked+.card-inner {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Button */
.cta-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 109, 0, 0.4);
    opacity: 0.9;
}

.cta-button:active {
    transform: translateY(0);
}

.modal-footer {
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.modal-footer::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
        max-width: 100%;
        border-radius: 20px;
    }

    .modal-header h1 {
        font-size: 1.6rem;
    }

    .modal-header p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .radio-group {
        gap: 12px;
    }

    .card-inner {
        padding: 15px;
    }

    .cta-button {
        padding: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .modal-header h1 {
        font-size: 1.4rem;
    }
}