:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --input-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--text-main);
    overflow-x: hidden;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-gradient);
    padding: 2rem 1rem;
}

.container.glass {
    width: 100%;
    max-width: 550px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1rem;
    color: var(--text-muted);
}

.emoji-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0.5rem;
}

.btn.emoji {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.2);
}

.btn.emoji:hover {
    transform: scale(1.3) translateY(-5px);
    filter: grayscale(0);
}

.btn.emoji.active {
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

.form-group {
    margin-bottom: 1.5rem;
}

.question {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.2s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.radio-btns {
    display: flex;
    gap: 2rem;
}

.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    color: var(--text-main);
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.radio-container:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.radio-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.info-row {
    display: flex;
    gap: 1rem;
}

.input-wrapper {
    flex: 1;
}

.input-wrapper label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-wrapper label span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.75rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: var(--input-bg);
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-area {
    margin-top: 2rem;
}

.btn.button {
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.btn.button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn.button:active {
    transform: translateY(0);
}

/* Success State */
.thank-you {
    text-align: center;
    padding: 2rem 0;
}

.thank-you h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .info-row {
        flex-direction: column;
    }
    
    .container.glass {
        padding: 1.5rem;
    }
}
