/* ========================================
   RESET E ESTILOS BASE
   ======================================== */

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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    overflow-x: hidden;
}

/* ========================================
   CONTAINER PRINCIPAL
   ======================================== */

.alert-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

/* ========================================
   BARRA DE ALERTA NO TOPO
   ======================================== */

.alert-bar {
    background: linear-gradient(90deg, #ff4444 0%, #ff6b6b 50%, #ff4444 100%);
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.alert-text {
    display: inline-block;
}

.pulse {
    font-size: 24px;
    animation: pulse-animation 1s infinite;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* ========================================
   CONTEÚDO PRINCIPAL
   ======================================== */

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.alert-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 68, 68, 0.5);
    border-radius: 15px;
    padding: 50px 40px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(255, 68, 68, 0.2),
                0 0 50px rgba(255, 68, 68, 0.1);
    animation: slideUp 0.7s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   ÍCONE DE ALERTA
   ======================================== */

.alert-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    color: #ff6b6b;
    animation: bounce 2s infinite;
}

.alert-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.6));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ========================================
   TÍTULOS E TEXTOS
   ======================================== */

.main-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.subtitle {
    font-size: 20px;
    text-align: center;
    color: #ffb3b3;
    margin-bottom: 40px;
    font-weight: 500;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   SEÇÕES DE CONTEÚDO
   ======================================== */

.content-section {
    margin: 30px 0;
}

.info-block {
    background: rgba(255, 107, 107, 0.05);
    border-left: 4px solid #ff6b6b;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-block:hover {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff4444;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.2);
}

.warning-block {
    border-left-color: #ff4444;
    background: rgba(255, 68, 68, 0.08);
}

.warning-block:hover {
    background: rgba(255, 68, 68, 0.12);
}

.action-block {
    border-left-color: #ffa500;
    background: rgba(255, 165, 0, 0.08);
}

.action-block:hover {
    background: rgba(255, 165, 0, 0.12);
    border-left-color: #ff8c00;
}

.info-block p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #d0d0d0;
    line-height: 1.6;
}

.feature-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 18px;
}

.action-block .feature-list li:before {
    content: "✓";
    color: #ffa500;
}

/* ========================================
   CHAMADA PARA AÇÃO
   ======================================== */

.cta-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.cta-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffb3b3;
}

.cta-button {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 68, 68, 0.6);
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ========================================
   INFORMAÇÕES DO RODAPÉ
   ======================================== */

.footer-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 107, 107, 0.3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    font-size: 14px;
    color: #b0b0b0;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.priority-badge {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.status-badge {
    background: rgba(255, 165, 0, 0.3);
    color: #ffa500;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid #ffa500;
}

/* ========================================
   ANIMAÇÃO DE FUNDO
   ======================================== */

.background-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    pointer-events: none;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 68, 68, 0.3);
    border-radius: 50%;
    animation: expandPulse 2s infinite;
}

@keyframes expandPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .alert-bar {
        font-size: 14px;
        padding: 12px 15px;
        gap: 10px;
    }

    .pulse {
        font-size: 18px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .alert-box {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .alert-icon {
        width: 80px;
        height: 80px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        font-size: 13px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .alert-bar {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .alert-text {
        display: block;
    }

    .main-title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 18px;
    }

    .alert-box {
        padding: 20px 15px;
    }

    .info-block {
        padding: 15px;
    }

    .feature-list li {
        padding: 8px 0 8px 25px;
        font-size: 14px;
    }

    .cta-section {
        padding: 20px;
    }

    .cta-text {
        font-size: 16px;
    }
}

/* ========================================
   EFEITOS ADICIONAIS
   ======================================== */

/* Glow effect no alert-box */
.alert-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.3), rgba(255, 107, 107, 0.2));
    border-radius: 15px;
    z-index: -1;
    animation: glowAnimation 3s ease-in-out infinite;
}

@keyframes glowAnimation {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Suporte para modo escuro do navegador */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #0a0a14 0%, #0f0f1e 100%);
    }

    .alert-container {
        background: linear-gradient(135deg, #0a0a14 0%, #0f0f1e 50%, #0d0d1a 100%);
    }
}
