:root {
    --primary: #c9a44c;
    /* Gold color */
    --primary-hover: #b38e3a;
    --bg-dark: #121212;
    --text-main: #ffffff;
    --text-muted: #e0e0e0;
    --glass-bg: rgba(20, 20, 20, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body,
html {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.badge {
    font-family: 'Outfit', sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-dark);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
    margin-top: -3rem;
    /* Pull button up slightly over the image or just below it */
    z-index: 10;
}

/* --- Buttons --- */
.primary-btn,
.buy-btn {
    background: linear-gradient(270deg, #064e3b, #22c55e, #76b40b, #22c55e);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: #fff;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.primary-btn:hover,
.buy-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.danger-btn {
    background: linear-gradient(270deg, #7f1d1d, #ef4444, #dc2626, #ef4444);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: #fff;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
    border: 2px solid #fca5a5;
}

.danger-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.8);
}

.pulse-animation {
    animation: gradientShift 3s ease infinite;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

/* --- Video Section --- */
.video-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 100%);
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.video-section.hidden {
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
    height: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.video-container {
    max-width: 1000px;
    width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
}

.video-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: WHITE;
    line-height: 1.3;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 3rem auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.custom-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

/* Esconder controles específicos do player nativo */
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

/* Custom Pause Overlay */
.pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.pause-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.overlay-content h3 {
    color: #ef4444;
    /* Red for alert */
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.4;
}

.overlay-content .primary-btn {
    margin-top: 1.5rem;
    font-size: 1rem;
    padding: 1rem 1.5rem;
}

.action-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content .glass-panel {
        padding: 2rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .badge {
        font-size: 1.8rem;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    }

    .hero-content {
        margin-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .video-section {
        padding: 1rem 0.5rem;
    }

    .video-container {
        padding: 1.5rem 0.5rem;
    }

    .video-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}