:root {
    --color-dark-brown: #2c160f;
    --color-gold: #c8a46a;
    --color-cream: #f4e9d8;
    --color-white: #ffffff;
    --color-gray: #aaaaaa;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-dark-brown);
    background-image: radial-gradient(circle at center, #4B2A1B 0%, var(--color-dark-brown) 80%);
    color: var(--color-white);
    overflow: hidden; /* No scroll */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-container {
    width: 100%;
    height: 100vh;
    position: relative;
    max-width: 600px; /* Mobile optimal width */
    margin: 0 auto;
}

/* Screens */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    padding: 2rem;
    text-align: center;
}

.screen.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.screen.exit {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

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

/* Typography */
h1.title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-gold);
    margin: 1.5rem 0;
    line-height: 1.2;
}

h2.question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

p.subtitle {
    font-size: 1rem;
    color: var(--color-cream);
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.9;
}

p.subtitle-small {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.step-indicator {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Logo */
.logo {
    width: 120px;
    margin-bottom: 1rem;
}

.small-logo {
    width: 80px;
}

/* Badge */
.timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 164, 106, 0.15);
    color: var(--color-gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Formulário Inicial */
.user-info-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

.user-info-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 164, 106, 0.4);
    border-radius: 8px;
    padding: 15px;
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.user-info-form input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.user-info-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Buttons */
.btn {
    background-color: var(--color-gold);
    color: var(--color-dark-brown);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(200, 164, 106, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: #dcb87d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 106, 0.4);
}

.btn:disabled {
    background-color: #5a4b3d;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-submit {
    margin-top: 1rem;
}

/* Rating (Chocolates) */
.rating-container {
    margin: 2rem 0;
}

.chocolates {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 1.5rem;
}

.choco-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.choco-number {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    transition: color 0.3s ease;
}

.chocolate-icon.active ~ .choco-number, .chocolate-icon.hover-active ~ .choco-number {
    color: var(--color-gold);
}

.chocolate-icon {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(100%) opacity(0.65) brightness(1.1);
    object-fit: contain;
}

.chocolate-icon.hover-active {
    transform: scale(1.15);
    filter: none;
}

.chocolate-icon.active {
    transform: scale(1.15);
    filter: none;
}

.rating-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-gray);
}

/* Checkboxes */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
    text-align: left;
}

.check-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    border: 1px solid rgba(200, 164, 106, 0.3);
    border-radius: 8px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.check-item:hover {
    background: rgba(200, 164, 106, 0.05);
    border-color: rgba(200, 164, 106, 0.6);
}

.check-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 24px;
    width: 24px;
    background-color: transparent;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    margin-right: 15px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.check-item input:checked ~ .checkmark {
    background-color: var(--color-gold);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--color-dark-brown);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-item input:checked ~ .checkmark:after {
    display: block;
}

.check-item input:checked ~ .check-text {
    color: var(--color-gold);
    font-weight: 600;
}

/* Feedback Box */
.feedback-box {
    margin-bottom: 2rem;
    text-align: left;
}

.feedback-box label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--color-cream);
}

.feedback-box textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200, 164, 106, 0.4);
    border-radius: 8px;
    padding: 15px;
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s;
}

.feedback-box textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* Success Icon */
.success-icon svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}
