@import url('https://fonts.googleapis.css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #0b0c10;
  --surface-color: rgba(31, 40, 51, 0.7);
  --primary: #66fcf1;
  --primary-hover: #45a29e;
  --text-main: #c5c6c7;
  --text-bright: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --radius: 16px;
  --shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(102, 252, 241, 0.05) 0%, transparent 40%),
      radial-gradient(circle at 20% 30%, rgba(69, 162, 158, 0.05) 0%, transparent 40%);
    filter: blur(80px);
    z-index: -1;
    animation: move 30s infinite alternate;
}

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(10%, 10%); }
}

.gender-selection-container {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    z-index: 1;
}

.gender-selection-container h1 {
    margin-bottom: 30px;
    font-size: 28px;
    color: var(--text-bright);
    font-weight: 800;
}

label {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: block;
    text-align: left;
    font-weight: 600;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-bright);
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
}

button[type="submit"] {
    width: 100%;
    padding: 16px;
    background-color: var(--primary);
    color: #0b0c10;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.3);
}

button[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.5);
}

.error-messages {
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: left;
}

.error-messages ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.error-messages li {
    margin: 5px 0;
    font-size: 0.9rem;
}

.left-corner-png {
    display: none; /* Removed for a cleaner look */
}

.couple-svg {
    max-width: 80%;
    height: auto;
    margin-bottom: 25px;
    opacity: 0.8;
}

.gender-options {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}

.gender-option {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.gender-option:hover {
    border-color: var(--primary);
    background: rgba(102, 252, 241, 0.05);
}

.gender-option input[type="radio"] {
    cursor: pointer;
    accent-color: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .gender-selection-container {
        padding: 30px 20px;
    }
    .gender-options {
        flex-direction: column;
    }
}
