/* ===== Reset básico ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    overflow-x: hidden;
}

/* ===== Container principal ===== */
.loading-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* ===== Vídeo de fundo ===== */
#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* ===== Overlay escuro ===== */
.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

/* ===== Conteúdo central ===== */
.loading-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 10px;
}

/* ===== Título principal ===== */
.title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff9800, #f44336);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-shadow: 1.5px 1.5px 6px rgba(0,0,0,0.5);
    animation: fadeInDown 0.8s ease-in-out;
}

/* ===== Subtítulo ===== */
.subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ffcc00;
    animation: fadeIn 1s ease-in-out;
}

/* ===== Spinner ===== */
.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(255,255,255,0.2);
    border-top: 8px solid #ff9800;
    border-radius: 50%;
    margin: 15px auto;
    animation: spin 1.3s linear infinite;
}

/* ===== Botão iniciar ===== */
.start-btn {
    padding: 10px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff9800, #f44336);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255,152,0,0.6);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(244,67,54,0.8);
}

/* ===== Barra de progresso ===== */
.progress-container {
    width: 90%;
    max-width: 500px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    margin: 15px auto;
    overflow: hidden;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff9800, #f44336);
    border-radius: 12px;
    transition: width 0.1s linear;
}

.progress-text {
    margin-top: 4px;
    font-weight: bold;
    color: #ffcc00;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* ===== Cards de informações ===== */
.info-section {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-left-marker {
    position: relative;
    background: rgba(30,30,50,0.85);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.8s ease-in-out;
}

.card-left-marker:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,152,0,0.4);
}

.card-left-marker::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 5px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(180deg, #ff9800, #f44336);
}

.card-left-marker h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card-left-marker ul li {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.card-left-marker ul li i {
    color: #ff9800;
    margin-right: 6px;
}

/* ===== Animações ===== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Destaques ===== */
.highlight {
    color: #00ffe0;
    font-weight: bold;
}

.percentage {
    color: #ff4c4c;
    font-weight: bold;
}

/* ===== Responsividade ===== */
@media (max-width: 1024px) {
    .title { font-size: 2rem; }
    .subtitle { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .title { font-size: 1.8rem; }
    .subtitle { font-size: 0.9rem; }
    .start-btn { font-size: 0.95rem; padding: 8px 20px; }
}

@media (max-width: 480px) {
    .title { font-size: 1.5rem; }
    .subtitle { font-size: 0.85rem; }
    .start-btn { font-size: 0.85rem; padding: 6px 18px; }
    .card-left-marker { padding: 12px; }
}
