/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0d1421 0%, #1a252f 50%, #2d3748 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container Principal */
.main-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.app-title {
    font-size: 28px;
    font-weight: 800;
    color: #25d366;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Alerta Principal */
.alert-container {
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
    border: 3px solid #ff5722;
    animation: alertPulse 2s infinite;
}

.alert-icon {
    font-size: 50px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.alert-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.alert-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

@keyframes alertPulse {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(255, 23, 68, 0.7);
        transform: scale(1.02);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Informações da Investigação */
.investigation-info {
    margin-bottom: 25px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 30px;
    margin-right: 20px;
    min-width: 50px;
    text-align: center;
}

.info-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ff6f00;
}

.info-content p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Seção de Urgência */
.urgency-section {
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
    border: 2px solid #ff9800;
}

.urgency-section h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.urgency-section p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Botão Principal */
.cta-section {
    margin: 25px 0;
}

.main-cta {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 0 20px rgba(37, 211, 102, 0.3);
    animation: buttonPulse 3s infinite;
    position: relative;
    overflow: hidden;
}

.main-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 2s infinite;
}

.main-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(37, 211, 102, 0.6),
        0 0 30px rgba(37, 211, 102, 0.5);
}

.main-cta:active {
    transform: translateY(-1px) scale(1.01);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 24px;
    margin-right: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-main {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-sub {
    font-size: 12px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes buttonPulse {
    0% { 
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 0 20px rgba(37, 211, 102, 0.3);
    }
    50% { 
        box-shadow: 
            0 12px 35px rgba(37, 211, 102, 0.7),
            0 0 40px rgba(37, 211, 102, 0.6);
    }
    100% { 
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 0 20px rgba(37, 211, 102, 0.3);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Aviso Final */
.final-warning {
    background: rgba(255, 23, 68, 0.1);
    border: 2px solid #ff1744;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.warning-icon {
    font-size: 30px;
    margin-right: 15px;
    animation: flash 1.5s infinite;
}

.warning-text {
    font-size: 13px;
    line-height: 1.5;
    color: #ff6f00;
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.toast {
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.4);
    animation: slideIn 0.5s ease;
    position: relative;
    border: 2px solid #ff5722;
}

.toast-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .main-container {
        padding: 15px;
    }
    
    .alert-title {
        font-size: 18px;
    }
    
    .alert-icon {
        font-size: 40px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .info-icon {
        font-size: 25px;
        margin-right: 15px;
    }
    
    .cta-main {
        font-size: 14px;
    }
    
    .urgency-section h3 {
        font-size: 16px;
    }
}

