* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
}

.logo {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 20px;
    border-radius: 12px;
}

h1 {
    text-align: center;
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.card p {
    color: #555;
    line-height: 1.5;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.15s ease;
}

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

.btn-apple {
    background: #000;
    color: white;
}

.btn-apple:hover {
    background: #333;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
}

#google-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 16px;
}

input[readonly] {
    background: #f5f5f5;
    color: #777;
}

input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.age-selection {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.age-selection p {
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.radio {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.radio input {
    margin-right: 10px;
    cursor: pointer;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.checkbox input {
    margin-top: 2px;
    cursor: pointer;
}

.checkbox a, .link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.link:hover, .checkbox a:hover {
    text-decoration: underline;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #eee;
    border-top-color: #667eea;
    border-radius: 50%;
    margin: 10px auto 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-banner {
    background: #fdecea;
    color: #b3261e;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .card { padding: 20px; }
    h1 { font-size: 20px; }
    .btn { padding: 12px; font-size: 15px; }
}
