@import url('https://fonts.cdnfonts.com/css/hvdtrial-niveau-grotesk');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #120c18;
    background-image: radial-gradient(circle at top right, #2a1b35 0%, #120c18 60%);
    color: #333; /* Dark text for clarity inside card */
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Fix Body padding calc */
}

/* Global Reset for Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border: none;
    padding: 30px 25px; /* Reduced side padding */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    text-align: center;
    position: relative; /* Ensure z-index works if needed */
}

@media (max-width: 600px) { /* Increased breakpoint */
    body {
        padding: 0;
        background-image: none;
        background-color: #fff;
        display: block; /* Remove centering to allow natural flow */
    }
    .container {
        max-width: 100%;
        padding: 20px 20px; /* Comfortable padding */
        box-shadow: none;
        border-radius: 0;
        min-height: 100vh;
        margin: 0 auto;
    }
}

h1 {
    margin-top: 0;
    font-weight: 800;
    color: #120c18;
}

p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #120c18;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: #f8f9fa;
    color: #333;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: #00b894;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.1);
}

button {
    width: 100%;
    padding: 18px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #00ff9d 0%, #00b894 100%);
    color: #000;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.4);
}

.hidden {
    display: none;
}

#success-message button {
    background: transparent;
    border: 2px solid #00ff9d;
    color: #00ff9d;
}

#success-message button:hover {
    background: #00ff9d;
    color: #000;
}
/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 30px;
    border: 1px solid #888;
    width: 90%; 
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    text-align: left;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #120c18;
}

.modal-content h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.modal-content p, .modal-content ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.privacy-trigger {
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}
.privacy-trigger:hover {
    color: #000;
}


/* Radio Button Group Styling */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap; /* Prevent wrapping inside the option text itself if possible */
}

.radio-label {
    margin: 0 !important;
    font-weight: 500 !important;
    cursor: pointer;
    text-transform: none !important;
    display: inline-block;
    letter-spacing: normal !important;
}

@media (max-width: 480px) {
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-option {
         padding: 2px 0;
    }
    
    /* Allow wrapping for long labels on very small screens, but control it better */
    .radio-option label {
        white-space: normal;
    }
}
