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

body {
    font-family: Arial, sans-serif;
    background: white;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding-bottom: 80px;
}

.container {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
}

.video-container {
    position: relative;
    width: 360px;
    height: 640px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

#mainVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.audio-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00C851;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
    z-index: 10;
}

.audio-button:hover {
    background: #00A83F;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 200, 81, 0.4);
}

.audio-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.audio-text {
    text-align: center;
    line-height: 1.3;
}

.recipe-button {
    position: relative;
    margin-top: 30px;
    background: #00C851;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 200, 81, 0.4);
    z-index: 10;
    display: none;
    opacity: 0;
    text-align: center;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.recipe-button:hover {
    background: #00A83F;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 200, 81, 0.5);
}

.recipe-button.show {
    display: block;
    animation: slideInUp 0.5s ease forwards;
}

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

.highlight-text {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.highlight-blue {
    color: #00C851;
    text-shadow: 0 0 10px rgba(0, 200, 81, 0.5);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    z-index: 1000;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00C851;
}

/* Responsividade */
@media (max-width: 400px) {
    .video-container {
        width: 320px;
        height: 568px;
    }

    .audio-button {
        font-size: 12px;
        padding: 12px 20px;
    }

    .highlight-text {
        font-size: 18px;
        bottom: 100px;
    }
}

/* Efeito quando o vídeo está pausado */
.video-paused .audio-button {
    animation: bounce 1s infinite;
}

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

/* Botão de tela cheia */
.fullscreen-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    opacity: 0.8;
}

.fullscreen-button:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: scale(1.1);
}

.fullscreen-icon {
    font-size: 18px;
    font-weight: bold;
}

/* Controles de vídeo customizados */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.progress-container {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #00C851;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #00C851;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    left: 0%;
}

.progress-container:hover .progress-handle {
    opacity: 1;
}

.time-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.time-display {
    color: white;
    font-size: 12px;
    font-weight: 500;
}
