* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.screen {
    display: none;
    min-height: 100vh;
    background: #003366;
    position: relative;
    padding: 20px;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.content {
    background: transparent;
    border-radius: 0;
    padding: 40px 30px;
    box-shadow: none;
    border: none;
}

.main-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: none;
    line-height: 1.2;
    font-family: 'Arial', 'Helvetica', sans-serif;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: normal;
    text-align: justify;
    margin-bottom: 40px;
    line-height: 1.5;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-container label {
    color: #ffffff;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 8px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.form-container input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.form-container input:focus {
    outline: none;
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.form-container input::placeholder {
    color: #999;
}

.row {
    display: flex;
    gap: 15px;
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background: #FFA500;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.btn-primary:hover:not(:disabled) {
    background: #FF8C00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.welcome-message {
    text-align: left;
}

.greeting {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: normal;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.greeting span {
    font-weight: bold;
    color: #ffffff;
}

.points-display {
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 20px 0;
    width: 100%;
    border: none;
}

.points-label {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: normal;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-align: center;
}

.points-value {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: none;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-align: center;
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen.active .content {
    animation: fadeIn 0.5s ease;
}

/* Animação de Parabéns */
.celebration-content {
    text-align: center;
    animation: celebrationFadeIn 1s ease-out;
}

.celebration-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 1s ease-in-out infinite;
    display: inline-block;
}

.celebration-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease-out 0.3s both;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.celebration-message {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 15px;
    animation: slideDown 0.8s ease-out 0.5s both;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.celebration-submessage {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: normal;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideDown 0.8s ease-out 0.7s both;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.celebration-sparkles {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    animation: fadeIn 1s ease-out 1s both;
}

.celebration-sparkles .sparkle {
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.celebration-sparkles .sparkle:nth-child(1) {
    animation-delay: 0s;
}

.celebration-sparkles .sparkle:nth-child(2) {
    animation-delay: 0.3s;
}

.celebration-sparkles .sparkle:nth-child(3) {
    animation-delay: 0.6s;
}

.btn-resgatar {
    width: 100%;
    max-width: 300px;
    padding: 18px 40px;
    background: #FFA500;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideUp 0.8s ease-out 1.2s both;
}

.btn-resgatar:hover {
    background: #FF8C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-resgatar:active {
    transform: translateY(0);
}

/* Animações */
@keyframes celebrationFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.toast-message {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-warning {
    border-left: 4px solid #ffc107;
}

.toast-warning .toast-icon {
    color: #ffc107;
}

.toast-info {
    border-left: 4px solid #17a2b8;
}

.toast-info .toast-icon {
    color: #17a2b8;
}

/* Responsividade */
@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .points-value {
        font-size: 2.5rem;
    }
    
    .celebration-title {
        font-size: 2.5rem;
    }
    
    .celebration-message {
        font-size: 1.2rem;
    }
    
    .celebration-icon {
        font-size: 4rem;
    }
}

