:root {
    --primary: #E11D48;
    --secondary: #0F172A;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --text: #1E293B;
    --text-muted: #64748B;
    --error: #EF4444;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
}

.container {
    background: var(--card);
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    text-align: center;
}

header { margin-bottom: 20px; }
.logo { margin: 0 auto; display: flex; justify-content: center; }
.logo img {
    max-width: 140px;
    height: auto;
    display: block;
}

.store-badge {
    display: inline-block;
    background: #F1F5F9;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 10px;
    color: var(--text-muted);
}
.store-badge span { font-weight: 700; color: var(--secondary); }

.step { display: none; animation: fadeIn 0.4s ease; }
.step.active { display: block; }

h1 { font-size: 26px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.5px; }
p { font-size: 16px; color: var(--text-muted); margin-bottom: 25px; }

.stars { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.star {
    font-size: 45px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 5px;
}
.star.active { color: var(--primary); transform: scale(1.1); }
.star:hover { color: var(--primary); }

.hidden-area {
    display: none;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed #E2E8F0;
    animation: slideDown 0.5s ease forwards;
}

.friendly-text { font-weight: 600; color: var(--secondary); margin-bottom: 20px; }

.input-group { margin-bottom: 25px; }
input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    font-family: inherit;
    transition: border-color 0.3s;
}

@media (max-width: 380px) {
    input[type="text"] { font-size: 14px; padding: 12px; }
    h1 { font-size: 22px; }
}
input[type="text"]:focus { outline: none; border-color: var(--primary); }

.error-msg { color: var(--error); font-size: 13px; display: none; margin-top: 8px; }

.action-zone { display: none; }

.primary-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}
.primary-btn:hover { background: #BE123C; transform: translateY(-2px); }

.google-style { background: #FFFFFF; color: var(--secondary); border: 2px solid #E2E8F0; }
.google-style:hover { background: #F8FAFC; border-color: #CBD5E1; color: var(--secondary); }

textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 20px;
    font-family: inherit;
    resize: none;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    margin: 0 auto 25px;
}

footer { margin-top: 35px; font-size: 12px; color: var(--text-muted); }
footer span { font-weight: 700; color: var(--secondary); }

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