/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh;
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
    color: white; 
    overflow-y: scroll;
}

.container {
    position: relative;
    width: 100%;
    max-width: 800px;
    background-color: transparent; /* corrigido para não aparecer caixa branca */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}

/* Vídeo */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 fallback */
    overflow: hidden;
}

#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
    display: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e74c3c;
    color: white;
    font-size: 30px;
    padding: 20px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 2;
}

/* Conteúdo animado */
.content {
    display: none; /* escondido até vídeo terminar */
    padding: 20px 15px;
    text-align: center;
    background: #2e2e2e;
    border-radius: 0 0 10px 10px;
    border-top: 3px solid #e74c3c;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.content.show {
    opacity: 1;
    transform: translateY(0);
}

/* Título metálico */
.product-title {
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0000, #b30000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 19px;
    text-transform: uppercase;
    letter-spacing: 9px;
    font-family: 'Arial Black', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.show-title {
    animation: pulseTitle 1.5s infinite;
}

@keyframes pulseTitle {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); }
    50% { text-shadow: 2px 2px 12px rgba(255, 0, 0, 1); }
    100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); }
}

/* Descrição */
.product-description {
    font-size: 14px;
    color: #ddd;
    margin: 10px 0 15px 0;
    line-height: 1.7;
    font-family: 'Segoe UI', sans-serif;
}

/* Promo relâmpago */
.promo-relampago {
    font-size: 17px;
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 0 0 11px #ff0, 0 0 18px orange;
    animation: flash 1s infinite alternate;
    margin: 13px 0 18px 0;
}

@keyframes flash {
    from { text-shadow: 0 0 11px #ff0, 0 0 18px orange; }
    to { text-shadow: 0 0 23px #fff200, 0 0 33px red; }
}

/* Caixa de preços */
.price-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.price-box {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    width: 30%;
    min-width: 160px;
    border-radius: 10px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.image-box {
    width: 30%;
    min-width: 160px;
    height: 100px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-box:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.price-title {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.old-price {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
    margin-bottom: 6px;
}

.new-price {
    font-size: 16px;
    color: #ff4444;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    animation: pulsePrice 1.5s infinite;
}

.new-price2 {
    font-size: 11px;
    color: #b51818;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

@keyframes pulsePrice {
    0% { transform: scale(1); color: #ff4444; }
    50% { transform: scale(1.15); color: #ff0000; }
    100% { transform: scale(1); color: #ff4444; }
}

/* Contador */
.countdown-box {
    background: #111;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

#timer {
    font-size: 18px;
    color: #ffeb3b;
    text-shadow: 0 0 8px #ff0, 0 0 15px orange;
}

/* Botão */
.cta-button {
    margin-top: 5px;
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    color: #fff;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    display: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite;
}

.cta-button:hover {
    background: linear-gradient(135deg, #f9d423, #ff4e50);
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.9), 0 0 40px rgba(255, 80, 80, 0.8);
    transform: scale(1.05);
}

/* Área botão + selos */
.cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.selos-container {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.selos-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selos-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* Mobile */
@media (max-width: 768px) {
    .price-box-container {
        flex-direction: column;
    }
    .price-box, .image-box {
        width: 100%;
        min-width: 0;
    }
    .cta-button {
        margin-top: 10px;
        width: 100%;
    }
    .selos-img {
        max-width: 320px;
        padding: 6px 10px;
    }
}
