@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Cores da Marca */
    --laranja-escuro: #C45200;
    --laranja-medio: #E06010;
    --laranja-neon: #FF6A00;
    --whatsapp-green: #25D366;
    --azul-botao: #0A0AD3;
    --azul-botao-hover: #0808a5;

    /* Tema 2026 - Futurista */
    --bg-dark: #080B12;
    --bg-card: #0E1420;
    --bg-surface: #141C2E;
    --border-glow: rgba(255, 106, 0, 0.3);

    /* Tipografia */
    --texto-primario: #F0F4FF;
    --texto-secundario: #8899BB;
    --texto-destaque: #FFFFFF;

    /* Naveg Play TV — Copa do Mundo 2026 */
    --copa-verde: #009B3A;
    --copa-amarelo: #FEDF00;
    --copa-vermelho: #C8102E;
    --copa-azul: #003087;
    --copa-branco: #FFFFFF;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--texto-primario);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--texto-destaque);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--laranja-neon);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--laranja-medio);
    text-shadow: 0 0 8px var(--border-glow);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(14, 20, 32, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-panel-neon {
    background: rgba(14, 20, 32, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(255, 106, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel-neon:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 106, 0, 0.25);
    border-color: var(--laranja-neon);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-blue {
    background: var(--azul-botao);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 10, 211, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-blue::before {
    content: "\f1eb";
    /* FontAwesome Wifi Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--laranja-neon);
    opacity: 0;
    z-index: -1;
    transition: none;
}

.btn-blue:hover {
    background: var(--azul-botao-hover);
    box-shadow: 0 6px 20px rgba(10, 10, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--laranja-neon);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: "\f1eb";
    /* FontAwesome Wifi Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #fff;
    opacity: 0;
    z-index: -1;
    transition: none;
}

.btn-primary:hover {
    background: var(--whatsapp-green);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary:hover::before,
.btn-blue:hover::before {
    animation: wifiSweep 0.8s ease-in-out infinite;
}

@keyframes wifiSweep {
    0% {
        left: -30px;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.btn-outline {
    background: transparent;
    color: var(--laranja-neon);
    border: 1px solid var(--laranja-neon);
}

.btn-outline:hover {
    background: rgba(255, 106, 0, 0.1);
    box-shadow: 0 0 15px var(--border-glow);
}

/* Instagram Highlight Footer */
.instagram-highlight {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 15px;
    transition: transform 0.3s ease, filter 0.3s ease !important;
}

.instagram-highlight:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(193, 53, 132, 0.5));
}

.instagram-highlight i {
    -webkit-text-fill-color: initial;
    color: #e1306c;
    /* Instagram Pink */
    font-size: 1.3rem;
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* Official WhatsApp Color */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    color: white;
    background-color: #1ebc5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: none;
    /* Stop pulsing on hover */
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Naveg Play Logo */
.play-logo-img {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

/* =========================================================================
   PWA & Mobile App Experience Styles
   ========================================================================= */

/* Bottom Navigation Bar (Hidden on Desktop) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(14, 20, 32, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom);
    /* For iPhone notch */
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: var(--texto-secundario);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
    color: var(--laranja-neon);
}

.bottom-nav .nav-item.active i,
.bottom-nav .nav-item:hover i {
    transform: translateY(-2px);
    text-shadow: 0 0 10px var(--border-glow);
}

.bottom-nav .nav-item.portal {
    color: var(--copa-amarelo);
}

.bottom-nav .nav-item.portal:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(254, 223, 0, 0.5);
}

/* PWA Install Modal */
.install-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 11, 18, 0.85) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

.install-modal {
    width: 90%;
    max-width: 400px;
    padding: 25px;
    text-align: center;
    transform: translateY(20px);
    animation: slideUp 0.4s ease-out forwards;
    background: rgba(20, 25, 38, 0.95);
    border: 1px solid var(--laranja-neon);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.2);
}

.install-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--laranja-neon);
}

.install-modal-header i {
    font-size: 2rem;
}

.install-modal p {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 25px;
}

.install-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.install-modal-actions button {
    flex: 1;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

/* Mobile Media Queries */
@media (max-width: 768px) {

    /* Hide desktop nav */
    .main-nav {
        display: none !important;
    }

    /* Center logo on mobile */
    .header-content {
        justify-content: center;
    }

    /* Show bottom nav */
    .bottom-nav {
        display: flex;
    }

    /* Adjust main content padding so it's not hidden behind bottom nav */
    main {
        padding-bottom: 70px;
    }

    /* Adjust floating WhatsApp position above bottom nav */
    .floating-whatsapp {
        bottom: 90px;
    }
}

/* =========================================================================
   Sistema de Avisos
   ========================================================================= */

/* Overlay de fundo */
.aviso-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 18, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.aviso-overlay--visivel {
    display: flex;
    animation: fadeIn 0.35s ease-out;
}

/* Card do popup */
.aviso-popup {
    background: #0E1420;
    border: 1px solid var(--aviso-cor, #FF6A00);
    border-radius: 18px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), 0 0 20px color-mix(in srgb, var(--aviso-cor, #FF6A00) 30%, transparent);
    max-width: 480px;
    width: 100%;
    animation: slideUp 0.35s ease-out;
    overflow: hidden;
}

/* Header */
.aviso-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.aviso-popup-icon {
    font-size: 1.5rem;
    color: var(--aviso-cor, #FF6A00);
    flex-shrink: 0;
}

.aviso-popup-titulo {
    flex: 1;
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

/* Botão fechar */
.aviso-fechar {
    background: none;
    border: none;
    color: var(--texto-secundario);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.aviso-fechar:hover {
    color: #fff;
}

/* Mensagem */
.aviso-popup-corpo {
    padding: 18px 22px 22px;
    color: var(--texto-primario);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Ícone de sino no header do site */
.aviso-sino {
    background: none;
    border: 2px solid var(--laranja-neon);
    color: var(--laranja-neon);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulso-sino 1.8s infinite;
    flex-shrink: 0;
}

.aviso-sino:hover {
    background: var(--laranja-neon);
    color: #fff;
    animation: none;
}

@keyframes pulso-sino {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 106, 0, 0);
    }
}

@media (max-width: 768px) {
    .aviso-popup {
        max-width: 95vw;
    }
}