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

/* ===================================== */
/* TELA INICIAL */
/* ===================================== */
.tela-inicial {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #1a1a1a, #000);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.box-inicial {
    text-align: center;
    color: white;
    padding: 50px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 51, 0.4);
    box-shadow: 0 0 40px rgba(255, 0, 51, 0.3);
    animation: surgir 1.2s ease;
}

.box-inicial h1 {
    font-size: 40px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.box-inicial h1::after {
    content: " ❤";
    color: #ff0033;
}

.box-inicial p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
}

.box-inicial button {
    padding: 14px 40px;
    font-size: 18px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff0033, #ff4d4d);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.6);
    transition: 0.3s;
}

.box-inicial button:hover {
    transform: scale(1.08);
}

/* ANIMAÇÃO */
@keyframes surgir {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================== */
/* SITE PRINCIPAL */
/* ===================================== */
body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at top, #1a1a1a, #000);
    color: #fff;
    min-height: 100vh;
}

#site {
    display: block;
}

/* ===================================== */
/* HEADER */
/* ===================================== */
header {
    text-align: center;
    padding: 20px 12px;
}

header h1 {
    font-size: 34px;
}

header p {
    color: #ccc;
}

#contador {
    margin-top: 6px;
    font-weight: bold;
    color: #ff0033;
}

/* ===================================== */
/* SLIDER CINEMATOGRÁFICO */
/* ===================================== */
.slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legenda */
.slide span {
    position: absolute;
    bottom: 30px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 15px;
}

/* Botões do slider */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* ===================================== */
/* BOTÃO SURPRESA */
/* ===================================== */
.area-surpresa {
    text-align: center;
    margin-bottom: 40px;
}

.area-surpresa button {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #ff0033, #ff4d4d);
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 0, 51, 0.35);
}

/* ===================================== */
/* MODAL SURPRESA */
/* ===================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.caixa-surpresa {
    background: white;
    padding: 28px;
    border-radius: 14px;
    max-width: 620px;
    color: #222;
    text-align: center;
}

.caixa-surpresa h2 {
    color: #ff0033;
    margin-bottom: 12px;
}

.modal .fechar {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* ===================================== */
/* FOOTER */
/* ===================================== */
footer {
    margin-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.slider {
    width: 100%;
    max-width: 1100px;
    height: 70vh;
    /* NÃO ocupa a tela toda */
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.ativo {
    opacity: 1;
    z-index: 1;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* NUNCA CORTA */
    background: black;
}