/* ===============================================
   WPLAY - MOBILE PREMIUM EXPERIENCE
   Importar no index.php: <link rel="stylesheet" href="/css/mobile-premium.css" media="(max-width: 768px)">
   =============================================== */

/* === VARIÁVEIS MOBILE === */
:root {
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
}

/* === RESET MOBILE === */
* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    padding-bottom: calc(80px + var(--safe-bottom)) !important;
    padding-top: var(--safe-top);
}

/* === HEADER MOBILE REDESIGN === */
header {
    padding: 10px 0 !important;
    background: rgba(2, 2, 2, 0.98) !important;
}

.logo img {
    height: 28px !important;
    filter: drop-shadow(0 0 8px var(--neon-glow));
}

.btn-header {
    padding: 8px 16px !important;
    font-size: 0.7rem !important;
    border-radius: 20px !important;
}

.main-nav {
    display: none !important;
}

/* === HERO MOBILE IMERSIVO === */
.hero {
    min-height: 85vh !important;
    min-height: 85dvh;
    padding-top: 70px !important;
    padding-bottom: 40px !important;
}

.hero::before {
    background: linear-gradient(to top,
            var(--bg-body) 0%,
            rgba(2, 2, 2, 0.9) 30%,
            rgba(2, 2, 2, 0.6) 60%,
            rgba(2, 2, 2, 0.3) 100%) !important;
}

.hero-content {
    padding: 0 16px !important;
}

.dynamic-wrapper {
    height: 45px !important;
    margin-bottom: 16px !important;
}

.dynamic-text {
    font-size: 1.8rem !important;
    -webkit-text-stroke-width: 1.5px !important;
    letter-spacing: -1px !important;
}

.hero-sub {
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

.hero-desc {
    font-size: 0.85rem !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
    padding: 0 !important;
}

.btn-pulse {
    width: 100% !important;
    padding: 18px 30px !important;
    font-size: 1rem !important;
    border-radius: 16px !important;
    justify-content: center !important;
    box-shadow: 0 8px 30px var(--neon-glow) !important;
}

/* === SEÇÕES MOBILE COMPACTAS === */
.section {
    padding: 50px 0 !important;
}

.section-header {
    margin-bottom: 24px !important;
    padding: 0 16px;
}

.title-lg {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}

.desc-lg {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}

.container {
    padding: 0 16px !important;
}

/* === FEATURES GRID MOBILE === */
.features-grid {
    gap: 16px !important;
}

.feature-card {
    padding: 24px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.feature-icon {
    font-size: 1.6rem !important;
    margin-bottom: 14px !important;
}

.feature-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
}

.feature-card p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

/* === CATEGORIAS MOBILE === */
.category-grid {
    gap: 12px !important;
}

.category-card {
    height: 200px !important;
    padding: 16px !important;
    border-radius: 16px !important;
}

.category-info h3 {
    font-size: 1.2rem !important;
}

.category-info p {
    font-size: 0.75rem !important;
}

/* === CARROSSEL MOBILE === */
.swiper {
    padding: 10px 0 20px !important;
}

.movie-card {
    border-radius: 12px !important;
}

.rank-number {
    font-size: 4rem !important;
    bottom: -10px !important;
    left: -5px !important;
}

/* === MARQUEE MOBILE === */
.marquee {
    padding: 20px 0 !important;
}

.marquee img {
    height: 25px !important;
}

/* === ESPORTES MOBILE === */
.grid-sports {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

.sport-box {
    border-radius: 16px !important;
    padding: 16px !important;
}

/* === PLANOS MOBILE PREMIUM === */
.plans-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

.plan-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 24px !important;
    border-radius: 20px !important;
    margin: 0 !important;
}

.plan-box.popular {
    transform: none !important;
    order: -1;
    /* Move o popular para cima */
    border-width: 2px !important;
}

.badge {
    top: -12px !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.7rem !important;
    padding: 6px 16px !important;
}

.price-tag {
    font-size: 3rem !important;
    margin: 16px 0 !important;
}

.features-list {
    padding-left: 0 !important;
}

.features-list li {
    font-size: 0.9rem !important;
    margin-bottom: 12px !important;
}

.btn-plan {
    padding: 16px !important;
    font-size: 0.95rem !important;
    border-radius: 14px !important;
}

/* === GARANTIA MOBILE === */
.guarantee-box {
    flex-direction: column !important;
    text-align: center !important;
    padding: 30px 20px !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
    border-radius: 20px !important;
}

.guarantee-circle {
    width: 90px !important;
    height: 90px !important;
}

.guarantee-circle span {
    font-size: 2.5rem !important;
}

/* === FAQ MOBILE === */
.faq-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.faq-btn {
    padding: 20px 0 !important;
    font-size: 0.95rem !important;
}

.faq-content {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
}

/* === MOBILE APP BANNER === */
.mobile-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 30px 20px !important;
    border-radius: 20px !important;
    gap: 24px !important;
}

.mobile-content {
    text-align: center !important;
    max-width: 100% !important;
}

.mobile-content h2 {
    font-size: 1.4rem !important;
}

.mobile-content p {
    font-size: 0.9rem !important;
}

.mobile-image {
    display: none !important;
}

.btn-download {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px !important;
    margin-top: 20px !important;
    border-radius: 14px !important;
}

/* === FOOTER MOBILE === */
footer {
    padding: 50px 16px calc(100px + var(--safe-bottom)) !important;
}

.news-box {
    padding: 16px !important;
    border-radius: 16px !important;
}

.news-item {
    gap: 12px !important;
    padding-bottom: 12px !important;
}

.security-badges {
    gap: 10px !important;
}

.security-badges img {
    height: 20px !important;
}

/* === TOAST MOBILE === */
.toast {
    bottom: calc(95px + var(--safe-bottom)) !important;
    left: 12px !important;
    right: 12px !important;
    padding: 14px 18px !important;
    border-radius: 16px !important;
    gap: 12px !important;
    z-index: 9998 !important;
}

.toast-av {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}

/* === BOTTOM NAVIGATION PREMIUM === */
.mobile-bottom-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(5, 5, 5, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(124, 252, 0, 0.2) !important;
    padding: 8px 0 calc(8px + var(--safe-bottom)) !important;
}

.mobile-bottom-nav .nav-items {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.mobile-bottom-nav .nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    color: #666 !important;
    text-decoration: none !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    min-width: 60px !important;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem !important;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--neon) !important;
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.95) !important;
    background: rgba(124, 252, 0, 0.1) !important;
}

.mobile-bottom-nav .nav-item.cta-btn {
    background: linear-gradient(135deg, var(--neon) 0%, #5cbf00 100%) !important;
    color: #000 !important;
    padding: 14px 24px !important;
    border-radius: 30px !important;
    flex-direction: row !important;
    gap: 8px !important;
    font-size: 0.75rem !important;
    box-shadow: 0 4px 20px var(--neon-glow) !important;
    animation: ctaPulse 2s infinite !important;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px var(--neon-glow);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 30px var(--neon-glow);
        transform: scale(1.02);
    }
}

.mobile-bottom-nav .nav-item.cta-btn span {
    display: inline !important;
}

/* === LIVE COUNTER HIDE MOBILE === */
.live-counter {
    display: none !important;
}

/* === HIDE DESKTOP ELEMENTS === */
@media (max-width: 768px) {

    .hide-mobile,
    .desktop-only {
        display: none !important;
    }
}

/* === SCROLL IMPROVEMENTS === */
.scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    scroll-snap-align: start;
}

/* === TOUCH INTERACTIONS === */
.touch-active:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* === INSTALL BAR MOBILE === */
.install-bar {
    gap: 20px !important;
    margin: 24px 0 !important;
}

.install-bar img {
    height: 28px !important;
}

/* === ANIMATIONS MOBILE === */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.4s ease-out;
}

/* === LAZY LOADING PLACEHOLDER === */
.lazy-placeholder {
    background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}