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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
}

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

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 48px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.logo p {
    color: #FFD700;
    font-size: 18px;
    letter-spacing: 2px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
}

.subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.form-group input::placeholder {
    color: #666;
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 5px;
    font-size: 12px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

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

.alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.alert-error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
    color: #888;
}

.info strong {
    color: #FFD700;
}

/* Estilos do Jogo */
.game-container .pedido-info {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: #ccc;
}

.info-item strong {
    color: #FFD700;
}

.timer-display {
    text-align: center;
    padding: 30px 0;
}

.timer-display span:first-child {
    font-size: 72px;
    font-weight: 700;
    color: #FFD700;
    display: block;
    font-family: 'Courier New', monospace;
}

.timer-label {
    color: #666;
    font-size: 14px;
}

.target-info {
    text-align: center;
    color: #888;
    margin: 20px 0;
}

.target-info strong {
    color: #FFD700;
}

.hint {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.game-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.btn-start, .btn-stop {
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.btn-start {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #000;
}

.btn-start:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-start:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-stop {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
}

.btn-stop:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.btn-stop:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.resultado {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.resultado-icone {
    font-size: 64px;
    margin-bottom: 10px;
}

.resultado h2 {
    color: #FFD700;
    margin-bottom: 10px;
}

.resultado p {
    color: #ccc;
}

.voucher-info {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.voucher-codigo {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    letter-spacing: 2px;
}

.voucher-itens {
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.voucher-validade {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 10px;
}

/* Confetes */
.confete {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    animation: queda linear forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes queda {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsivo */
@media (max-width: 600px) {
    .card {
        padding: 20px;
    }
    
    .logo h1 {
        font-size: 36px;
    }
    
    .timer-display span:first-child {
        font-size: 48px;
    }
    
    .game-buttons {
        flex-direction: column;
    }
}