/* ========================================
   MELOWELL FITNESS - Landing Page Styles
   DESIGN PREMIUM & PROFISSIONAL
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Garantir fundo preto em TUDO */
html,
body,
#root,
.hero,
.about,
section,
main {
    background-color: #000000 !important;
}

:root {
    /* Cores principais */
    --primary-green: #7ed957;
    --neon-green: #39ff14;
    --dark-green: #5ab838;
    --black: #000000;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --text-gray: #b0b0b0;
    --white: #ffffff;
    --gold: #ffd700;
    --premium-gradient: linear-gradient(135deg, #7ed957 0%, #39ff14 100%);

    /* Tipografia */
    --font-main: 'Montserrat', sans-serif;

    /* Espaçamentos */
    --section-padding: 100px 20px;
    --container-max-width: 1200px;

    /* Transições */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background-color: #000000 !important;
    /* Mobile scroll fix */
    -webkit-overflow-scrolling: touch;
    height: 100%;
}

/* Touch optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Permitir seleção apenas em inputs e textareas */
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%) fixed !important;
    background-color: #000000 !important;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    height: 100%;
    /* Mobile optimizations */
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Efeito de fundo elegante e profissional */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(126, 217, 87, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(126, 217, 87, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    will-change: opacity;
    animation: backgroundGlow 15s ease-in-out infinite alternate;
}

@keyframes backgroundGlow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.5;
    }
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(126, 217, 87, 0.5), transparent) 1;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(126, 217, 87, 0.05) 50%,
            transparent 100%);
    animation: headerShine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerShine {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    position: relative;
    z-index: 10;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(126, 217, 87, 0.5)) drop-shadow(0 0 25px rgba(126, 217, 87, 0.3));
    animation: logoGlow 3s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.logo img:hover {
    filter: drop-shadow(0 0 20px rgba(126, 217, 87, 0.8)) drop-shadow(0 0 35px rgba(126, 217, 87, 0.5)) drop-shadow(0 0 50px rgba(57, 255, 20, 0.3));
    transform: scale(1.03);
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 15px rgba(126, 217, 87, 0.5)) drop-shadow(0 0 25px rgba(126, 217, 87, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(126, 217, 87, 0.7)) drop-shadow(0 0 35px rgba(126, 217, 87, 0.4));
    }
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition-fast);
}

.nav a:hover {
    color: var(--primary-green);
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: auto;
    display: block;
    padding: 60px 20px 30px;
    background: #000000 !important;
    overflow: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent !important;
    pointer-events: none;
    z-index: -1;
}

/* Logo Hero Grande */
.hero-logo {
    text-align: center;
    margin-bottom: 15px;
}

.hero-logo img {
    height: 140px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(126, 217, 87, 0.8)) drop-shadow(0 0 60px rgba(126, 217, 87, 0.5));
    will-change: auto;
}

/* Animação removida para melhor performance */

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1;
}

.hero-title .subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 60px;
    opacity: 1;
}

/* Vídeo Container */
.video-container {
    margin: 60px auto 70px;
    max-width: 900px;
    opacity: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(126, 217, 87, 0.2);
    border: 2px solid var(--primary-green);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Botões CTA */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 150px;
    padding-bottom: 150px;
    opacity: 1;
    position: static;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: static;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--neon-green) 100%);
    color: var(--black);
    box-shadow: 0 10px 40px rgba(126, 217, 87, 0.4),
        0 0 20px rgba(126, 217, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(126, 217, 87, 0.6),
        0 0 40px rgba(126, 217, 87, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-green);
    box-shadow: 0 5px 20px rgba(126, 217, 87, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--black);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(126, 217, 87, 0.4);
}

/* Botão de Acesso Antecipado - DESTAQUE ESPECIAL */
.btn-early-access {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    color: var(--black);
    font-size: 18px;
    font-weight: 900;
    padding: 22px 55px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3);
    animation: pulseGold 2s ease-in-out infinite;
    position: static;
    border: 3px solid #ffed4e;
}

.btn-early-access::after {
    content: '🔥';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: fireFlicker 1s ease-in-out infinite;
}

.btn-early-access:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffed4e 100%);
}

@keyframes pulseGold {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4),
            0 0 20px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5),
            0 0 25px rgba(255, 215, 0, 0.4);
    }
}

@keyframes fireFlicker {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1.1);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 40px 20px 50px;
    background: #000000 !important;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    clear: both;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: 0;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--primary-green);
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    margin-top: 0;
    color: var(--primary-green);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-text .highlight {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
}

.mystery-text {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    font-size: 1.2rem !important;
    color: var(--primary-green) !important;
    font-weight: 600;
}

.mystery-text .icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--medium-gray);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.stat-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(126, 217, 87, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.stat-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.stat-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ========================================
   REVOLUTION SECTION
   ======================================== */
.revolution {
    padding: var(--section-padding);
    background: #000000 !important;
    position: relative;
}

.revolution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: transparent !important;
    pointer-events: none;
}

.revolution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.revolution-card {
    background: var(--dark-gray);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
    opacity: 0.5;
    transform: translateY(30px) scale(0.95);
}

.revolution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.revolution-card:hover::before {
    transform: scaleX(1);
}

.revolution-card:hover {
    transform: translateY(-10px) scale(1);
    box-shadow: 0 15px 40px rgba(126, 217, 87, 0.2);
}

/* Animação de scroll - efeito verde progressivo */
.revolution-card.active-green {
    opacity: 1;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, rgba(126, 217, 87, 0.15) 0%, rgba(57, 255, 20, 0.1) 100%);
    border: 2px solid var(--primary-green);
    box-shadow: 0 10px 40px rgba(126, 217, 87, 0.3);
}

.revolution-card.active-green::before {
    transform: scaleX(1);
    height: 5px;
    box-shadow: 0 0 20px rgba(126, 217, 87, 0.8);
}

.revolution-card.active-green .card-number {
    color: var(--primary-green);
    text-shadow: 0 0 20px rgba(126, 217, 87, 0.5);
}

.revolution-card.active-green h3 {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(126, 217, 87, 0.3);
}

.card-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(126, 217, 87, 0.2);
    margin-bottom: 20px;
    transition: all 0.8s ease;
}

.revolution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
    transition: all 0.8s ease;
}

.revolution-card p {
    color: var(--text-gray);
    line-height: 1.6;
    transition: all 0.8s ease;
}

/* ========================================
   FACILITY SECTION
   ======================================== */
.facility {
    padding: var(--section-padding);
    background: #000000 !important;
}

.facility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 0;
}

.facility-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.facility-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-medium);
}

.facility-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.coming-soon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.facility-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-green);
}

.facility-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.mystery-box {
    background: var(--medium-gray);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--primary-green);
    margin-top: 30px;
}

.mystery-box h4 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.mystery-box p {
    color: var(--white);
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-description {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 50px;
}

.social-cta {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tiktok:hover {
    background: #000000;
    color: #00f2ea;
}

.social-btn.facebook:hover {
    background: #1877f2;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding);
    background: #000000 !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background: var(--dark-gray);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
}

.contact-icon {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-card a:hover {
    color: var(--dark-green);
}

.contact-message {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: var(--dark-gray);
    border-radius: 10px;
    border: 2px solid var(--primary-green);
}

.contact-message p {
    font-size: 1.3rem;
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #000000 !important;
    padding: 60px 20px 30px;
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-gray);
    font-size: 1rem;
}

.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-green);
    color: var(--black);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    color: var(--text-gray);
}

/* ========================================
   SEÇÃO GLOBAL (GLOBO)
   ======================================== */
.global-section {
    text-align: center;
    padding: 80px 0;
    margin: 60px 0;
    position: relative;
}

.global-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary-green), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.global-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    font-weight: 300;
}

.globe-container {
    max-width: 500px;
    margin: 0 auto 50px;
    position: relative;
    animation: globeFloat 6s ease-in-out infinite;
    width: 400px;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* SVG do globo */
.globe {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 30px rgba(126, 217, 87, 0.4));
}

/* Garantir que o círculo do globo seja SEMPRE VISÍVEL */
.globe circle[fill="url(#globeGradient)"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Grupo rotacionando - a animação SVG já está no HTML */
#rotatingGlobe {
    transform-origin: 200px 200px;
}

@keyframes globeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Wrapper do globo */
.globe-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

/* Círculo externo do globo (ESTÁTICO - SEMPRE VISÍVEL) */
.globe-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(126, 217, 87, 0.15) 0%, rgba(57, 255, 20, 0.25) 100%);
    border: 2px solid rgba(126, 217, 87, 0.5);
    z-index: 1;
    pointer-events: none;
    box-shadow: 
        0 0 30px rgba(126, 217, 87, 0.4),
        inset 0 0 50px rgba(126, 217, 87, 0.1);
}

/* Container interno que rotaciona HORIZONTALMENTE */
.globe-rotating-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: rotateGlobeHorizontal 30s linear infinite;
}

@keyframes rotateGlobeHorizontal {
    0% {
        transform: translate(-50%, -50%) rotateY(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

/* Linhas do globo */
.globe-line {
    position: absolute;
    border: 1px solid rgba(126, 217, 87, 0.3);
    pointer-events: none;
}

/* Linhas de latitude (horizontais - elipses) */
.globe-line.latitude-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    border: 1px solid rgba(126, 217, 87, 0.3);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.globe-line.latitude-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    border: 1px solid rgba(126, 217, 87, 0.3);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

/* Linhas de longitude (verticais - elipses que rotacionam) */
.globe-line.longitude-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 300px;
    border: 1px solid rgba(126, 217, 87, 0.3);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.globe-line.longitude-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 300px;
    border: 1px solid rgba(126, 217, 87, 0.3);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.globe-line.longitude-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 300px;
    border-left: 1px solid rgba(126, 217, 87, 0.3);
    background: transparent;
    pointer-events: none;
}

/* Símbolos M e W dentro do globo (rotacionando junto) */
.globe-logo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 50%;
}

.globe-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    opacity: 0.15;
    filter: drop-shadow(0 0 50px rgba(126, 217, 87, 0.5));
    mix-blend-mode: screen;
    object-fit: contain;
    pointer-events: none;
}

.globe-logo.logo-m {
    animation: logoOpacity 5s ease-in-out infinite;
}

.globe-logo.logo-w {
    animation: logoOpacity 5s ease-in-out infinite 2.5s;
}

@keyframes logoOpacity {
    0%, 100% {
        opacity: 0.12;
    }
    50% {
        opacity: 0.18;
    }
}

/* SVG das bandeiras (estático, posicionado absolutamente) */
.globe-flags {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    z-index: 10;
    pointer-events: none;
}

.globe-flags .country-flag {
    pointer-events: auto;
    cursor: pointer;
}

/* Responsivo para o globo */
@media (max-width: 768px) {
    .globe-container {
        width: 350px;
        height: 350px;
    }
    
    .globe-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .globe-circle {
        width: 260px;
        height: 260px;
    }
    
    .globe-rotating-content {
        width: 260px;
        height: 260px;
    }
    
    .globe-flags {
        width: 350px;
        height: 350px;
    }
    
    .globe-logo {
        width: 350px;
        height: 350px;
    }
}

.country-flag {
    cursor: pointer;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transform-origin: center;
}

.country-flag:hover {
    filter: drop-shadow(0 4px 15px rgba(126, 217, 87, 0.8)) drop-shadow(0 0 10px rgba(126, 217, 87, 0.6));
}

.country-flag image {
    transition: opacity 0.3s ease;
}

.brazil-flag {
    filter: drop-shadow(0 2px 10px rgba(126, 217, 87, 0.4));
}

.brazil-flag:hover {
    filter: drop-shadow(0 4px 20px rgba(126, 217, 87, 1)) drop-shadow(0 0 15px rgba(126, 217, 87, 0.8));
}

.brazil-flag:hover image {
    opacity: 0.5 !important;
}

.usa-flag:hover image,
.japan-flag:hover image,
.spain-flag:hover image {
    opacity: 0.4 !important;
}

.connection-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

.arrow {
    transform-origin: center;
}

/* Container das bandeiras */
.flags-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(126, 217, 87, 0.05);
    border: 2px solid rgba(126, 217, 87, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 100px;
}

.flag-item:hover {
    transform: translateY(-10px);
    background: rgba(126, 217, 87, 0.1);
    border-color: var(--primary-green);
    box-shadow: 0 10px 40px rgba(126, 217, 87, 0.3);
}

.flag-svg {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(126, 217, 87, 0.3);
}

.flag-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.flag-item:hover .flag-svg {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(126, 217, 87, 0.6);
    border-color: var(--primary-green);
}

.flag-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animação especial para Brasil */
.flag-item:first-child {
    border-color: var(--primary-green);
    background: rgba(126, 217, 87, 0.1);
    animation: brazilPulse 3s ease-in-out infinite;
}

@keyframes brazilPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(126, 217, 87, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(126, 217, 87, 0.6);
    }
}

/* ========================================
   MODAL DE ACESSO ANTECIPADO
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Ajuste especial para modal de vídeo */
.modal-overlay.active .video-modal-content {
    margin: auto;
}

/* Garantir que o overlay não escureça o conteúdo do modal no hover */
.modal-overlay.active:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-overlay.active .video-modal-content:hover {
    opacity: 1 !important;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    border: 2px solid var(--primary-green);
    box-shadow: 0 30px 80px rgba(126, 217, 87, 0.3),
        0 0 50px rgba(126, 217, 87, 0.2);
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary-green);
    color: var(--black);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--black);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulseGold 2s ease-in-out infinite;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
    text-transform: uppercase;
}

.modal-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contador de Escassez */
.scarcity-counter {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff4444;
    border-radius: 10px;
    padding: 15px;
    margin: 25px 0;
    text-align: center;
}

.scarcity-counter p {
    color: #ff6666;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.scarcity-counter .counter-number {
    color: #ff4444;
    font-size: 2rem;
    font-weight: 900;
    display: inline-block;
    animation: numberPulse 1s ease-in-out infinite;
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Formulário */
.early-access-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition-fast);
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(126, 217, 87, 0.3);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-submit {
    width: 100%;
    margin-top: 30px;
}

/* Benefícios */
.benefits-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.benefits-list li {
    padding: 12px 0 12px 35px;
    color: var(--white);
    font-size: 1rem;
    position: relative;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 900;
    font-size: 20px;
}

/* Badge de Exclusivo */
.exclusive-badge {
    background: var(--premium-gradient);
    color: var(--black);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(126, 217, 87, 0.3);
}

/* Mensagem de Sucesso */
.success-message {
    display: none;
    text-align: center;
    padding: 30px;
}

.success-message.active {
    display: block;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: successPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.coupon-code {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--black);
    padding: 20px;
    border-radius: 10px;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 20px 0;
    border: 3px dashed var(--black);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ========================================
   RESPONSIVE
   ======================================== */
/* ========================================
   MOBILE FIRST - RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {

    /* Garantir fundo preto no mobile */
    html,
    body {
        background-color: #000000 !important;
        background-attachment: fixed !important;
    }

    body {
        min-height: 100vh;
        background: #000000 !important;
    }

    .hero,
    .about,
    .revolution,
    .contact,
    .footer,
    section {
        background-color: #000000 !important;
    }

    /* Header Mobile */
    .header {
        padding: 15px 0;
    }

    .logo img {
        height: 40px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 15px 100px;
    }

    .hero-logo {
        margin-bottom: 40px;
    }

    .hero-logo img {
        height: 160px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-title .subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    /* Vídeo Mobile */
    .video-container {
        margin: 40px auto 60px;
    }

    /* Botões Mobile */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 200px;
        padding-bottom: 150px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 18px 30px;
        font-size: 14px;
    }

    .btn-early-access {
        font-size: 16px;
        padding: 20px 30px;
    }

    .btn-early-access::after {
        right: 15px;
        font-size: 18px;
    }

    /* Seções Mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        margin-top: 0;
        padding-top: 0;
    }

    .about {
        padding: 30px 15px 30px;
        margin-top: 15px;
    }

    .section-header {
        margin-bottom: 40px;
        padding-top: 0;
        margin-top: 0;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    /* Revolution Mobile */
    .revolution {
        padding: 80px 15px;
    }

    .revolution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .revolution-card {
        padding: 30px 20px;
    }

    /* Animação verde mais intensa no mobile */
    .revolution-card.active-green {
        background: linear-gradient(135deg, rgba(126, 217, 87, 0.2) 0%, rgba(57, 255, 20, 0.15) 100%);
        border: 2px solid var(--primary-green);
        box-shadow: 0 10px 40px rgba(126, 217, 87, 0.4);
        transform: translateY(0) scale(1);
    }

    .revolution-card.active-green::before {
        height: 6px;
        box-shadow: 0 0 25px rgba(126, 217, 87, 1);
    }

    /* Facility Mobile */
    .facility {
        padding: 80px 15px;
    }

    .facility-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .facility-text h3 {
        font-size: 1.8rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 80px 15px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.2rem;
    }

    .social-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    /* Contact Mobile */
    .contact {
        padding: 80px 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card {
        padding: 40px 25px;
    }

    /* Footer Mobile */
    .footer {
        padding: 50px 15px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* Globo Mobile */
    .global-section {
        padding: 60px 15px;
        margin: 40px 0;
    }

    .global-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .global-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .globe-container {
        max-width: 350px;
    }

    .flags-container {
        gap: 20px;
    }

    .flag-item {
        min-width: 80px;
        padding: 15px;
    }

    .flag-svg {
        width: 80px;
        height: 56px;
    }

    .flag-name {
        font-size: 0.8rem;
    }

    .footer-logo img {
        height: 50px;
    }

    .social-links {
        justify-content: center;
    }

    /* Modal Mobile */
    .modal-overlay.active {
        padding: 0;
        align-items: center;
        justify-content: center;
    }
    
    .modal-overlay.active .video-modal-content {
        margin: 0;
        border-radius: 0;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 0;
        max-height: 95vh;
        border-radius: 15px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }

    .modal-header p {
        font-size: 0.95rem;
    }

    .scarcity-counter {
        padding: 12px;
        margin: 20px 0;
    }

    .scarcity-counter p {
        font-size: 1rem;
    }

    .scarcity-counter .counter-number {
        font-size: 1.8rem;
    }

    .benefits-list li {
        font-size: 0.9rem;
        padding: 10px 0 10px 30px;
    }

    .form-group input {
        padding: 12px 15px;
        font-size: 16px;
        /* Evita zoom no iOS */
    }

    .coupon-code {
        font-size: 1.3rem;
        padding: 15px;
        letter-spacing: 2px;
    }

    .success-icon {
        font-size: 60px;
    }
}

@media (max-width: 480px) {

    /* Garantir fundo preto em telas pequenas */
    html,
    body {
        background-color: #000000 !important;
        background-attachment: fixed !important;
    }

    body {
        min-height: 100vh;
        background: #000000 !important;
    }

    .hero,
    .about,
    .revolution,
    .contact,
    .footer,
    section {
        background-color: #000000 !important;
    }

    /* Extra Small Mobile */
    .hero {
        padding: 80px 10px 80px;
    }

    .cta-buttons {
        margin-bottom: 180px;
        padding-bottom: 120px;
    }

    .hero-logo img {
        height: 140px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-title .subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn {
        padding: 16px 25px;
        font-size: 13px;
    }

    .btn-early-access {
        font-size: 14px;
        padding: 18px 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about {
        padding: 20px 10px 25px;
        margin-top: 10px;
    }

    .revolution,
    .facility,
    .cta-section,
    .contact {
        padding: 60px 10px;
    }

    .modal-content {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .scarcity-counter .counter-number {
        font-size: 1.5rem;
    }

    .coupon-code {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    /* Globo Extra Small Mobile */
    .global-section {
        padding: 40px 10px;
        margin: 30px 0;
    }

    .global-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    .global-subtitle {
        font-size: 0.9rem;
    }

    .globe-container {
        max-width: 280px;
    }

    .flags-container {
        gap: 15px;
    }

    .flag-item {
        min-width: 70px;
        padding: 12px;
        gap: 10px;
    }

    .flag-svg {
        width: 70px;
        height: 49px;
    }

    .flag-name {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 15px;
    }

    /* Modal de vídeo dos países */
    .video-modal-content {
        max-width: 900px;
        width: 95%;
    }

    .video-modal-wrapper {
        width: 100%;
        height: 500px;
    }
}

/* ========================================
   MODAL DE VÍDEO DOS PAÍSES
   ======================================== */
.video-modal-content {
    max-width: 1000px;
    width: 90%;
    max-height: 95vh;
    background: var(--dark-gray);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--primary-green);
    box-shadow: 0 20px 60px rgba(126, 217, 87, 0.3);
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

/* Garantir que o modal não escureça o vídeo no hover */
.video-modal-content:hover {
    opacity: 1 !important;
}

.video-modal-content:hover .video-modal-wrapper video {
    opacity: 1 !important;
    filter: none !important;
}

.video-modal-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 25px 30px;
    text-align: center;
}

.video-modal-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--black);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-modal-header p {
    font-size: 1rem;
    color: var(--dark-gray);
    margin: 0;
    font-weight: 600;
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    /* Usar aspect-ratio 16:9 como padrão, mas permitir flexibilidade */
    aspect-ratio: 16 / 9;
    /* Fallback para navegadores antigos */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    min-height: 400px;
    max-height: 90vh;
    background: #000;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Para navegadores que suportam aspect-ratio, remover padding */
@supports (aspect-ratio: 16 / 9) {
    .video-modal-wrapper {
        padding-bottom: 0;
    }
}

/* Garantir que o wrapper não tenha overlays */
.video-modal-wrapper::before,
.video-modal-wrapper::after {
    content: none !important;
    display: none !important;
}

.video-modal-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

/* Estilos para o player de vídeo HTML5 */
.video-modal-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    box-sizing: border-box;
    /* Garantir que o vídeo mantenha proporção e não corte legendas */
    display: block;
    /* Garantir espaço para controles e legendas */
    max-width: 100%;
    max-height: 100%;
}

/* Garantir que controles e legendas não sejam cortados */
.video-modal-wrapper video::-webkit-media-controls {
    display: flex !important;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Espaço para legendas - usar track element */
.video-modal-wrapper video::cue {
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.4;
}

/* Garantir que o wrapper tenha espaço suficiente */
.video-modal-wrapper {
    /* Adicionar padding-bottom para espaço de controles e legendas */
    padding-bottom: 0;
}

/* Para diferentes proporções de vídeo */
.video-modal-wrapper video[width][height] {
    max-width: 100%;
    max-height: 100%;
}

/* Garantir que o vídeo não escureça no hover */
.video-modal-wrapper:hover video {
    opacity: 1 !important;
    filter: none !important;
}

.video-modal-wrapper video:hover {
    opacity: 1 !important;
    filter: none !important;
}

/* Prevenir overlays que escurecem o vídeo */
.video-modal-wrapper::before,
.video-modal-wrapper::after {
    display: none !important;
}

.video-modal-content::before,
.video-modal-content::after {
    pointer-events: none;
}

/* Customizar controles do vídeo (opcional) */
video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-volume-slider {
    filter: brightness(0) saturate(100%) invert(82%) sepia(13%) saturate(1748%) hue-rotate(39deg) brightness(95%) contrast(86%);
}

.video-modal-footer {
    background: var(--medium-gray);
    padding: 20px;
    text-align: center;
    border-top: 2px solid var(--primary-green);
}

.video-modal-footer p {
    margin: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1rem;
}

/* Hover effect nas bandeiras */
.flag-item {
    transition: all 0.3s ease;
}

.flag-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(126, 217, 87, 0.3);
}

.flag-item[style*="cursor: pointer"]:hover {
    border-color: var(--primary-green);
}

/* Responsivo para modal de vídeo */
@media (max-width: 1024px) {
    .video-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .video-modal-wrapper {
        min-height: 350px;
        max-height: 70vh;
    }
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 98%;
        max-width: 98%;
        max-height: 90vh;
        border-radius: 15px;
    }

    .video-modal-header {
        padding: 20px 20px;
    }

    .video-modal-header h2 {
        font-size: 1.5rem;
    }

    .video-modal-header p {
        font-size: 0.9rem;
    }

    .video-modal-wrapper {
        min-height: 300px;
        max-height: 60vh;
        aspect-ratio: 16 / 9;
        padding-bottom: 56.25%;
    }
    
    @supports (aspect-ratio: 16 / 9) {
        .video-modal-wrapper {
            padding-bottom: 0;
        }
    }

    .video-modal-footer {
        padding: 15px;
    }

    .video-modal-footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .video-modal-wrapper {
        min-height: 250px;
        max-height: 55vh;
        aspect-ratio: 16 / 9;
        padding-bottom: 56.25%;
    }
    
    @supports (aspect-ratio: 16 / 9) {
        .video-modal-wrapper {
            padding-bottom: 0;
        }
    }

    .video-modal-header {
        padding: 15px;
    }

    .video-modal-header h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .video-modal-header p {
        font-size: 0.85rem;
    }
    
    .video-modal-footer {
        padding: 12px;
    }
    
    .video-modal-footer p {
        font-size: 0.8rem;
    }
}

/* Para telas muito largas (ultrawide) */
@media (min-width: 1920px) {
    .video-modal-content {
        max-width: 1400px;
    }
    
    .video-modal-wrapper {
        max-height: 80vh;
    }
}

/* Para telas em modo paisagem (landscape) mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .video-modal-wrapper {
        max-height: 75vh;
        min-height: 200px;
    }
    
    .video-modal-content {
        max-height: 90vh;
    }
}

/* Para telas muito pequenas */
@media (max-width: 360px) {
    .video-modal-wrapper {
        min-height: 200px;
        max-height: 50vh;
    }
    
    .video-modal-wrapper video {
        padding-bottom: 40px;
    }
    
    .video-modal-header h2 {
        font-size: 1rem;
    }
}