/* * © 2025 LUSONIX ESPORTS - OFFICIAL WEBSITE 
 * DEVELOPED BY IZÁN ALVAREZ
 * SECURITY LAYER ACTIVE: UNAUTHORIZED COPYING WILL BE TRACKED.
 */

/* =========================================
   1. VARIÁVEIS E BASE (ESTILO LEGAL.CSS)
   ========================================= */
:root {
    --primary: #9b0000;
    --bg-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --font-main: 'Orbitron', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --menu-width: 120px;
}

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

body { 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   ENCIMA DO CABEÇALHO 
   ========================================= */

.top-promo-bar { background: var(--primary); color: white; text-align: center; padding: 15px 0 40px 0; font-size: 11px; letter-spacing: 2px;font-weight: 700;}

/* =========================================
   BARRA DE PATROCINADORES 
   ========================================= */

    .sponsors-bar { background:#f0f0f0; padding:40px 0; border-bottom:1px solid #e5e5e5; display:flex; justify-content:center; }
    .sponsors-container { max-width:1200px; width:100%; padding:0 20px; }
    .sponsors-wrapper { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:40px; padding:20px 0; }
    .sponsor-item { flex:1; display:flex; justify-content:center; min-width:150px; }
    .sponsor-item img { height:45px; width:auto; filter:grayscale(1) brightness(2); opacity:0.7; transition:0.3s; }
    .sponsor-item img:hover { filter:grayscale(0) brightness(1); opacity:1; }

/* Mobile */
@media (max-width: 768px) {.sponsors-wrapper { gap:30px; }.sponsor-item { min-width:120px; }}

/* =========================================
   BOTÃO LOJA NO MENU
   ========================================= */

    a.btn-hero-outline {background:var(--primary)!important; color:#fff!important; border:2px solid var(--primary)!important; padding:16px 45px!important; font:900 12px var(--font-main)!important; text-transform:uppercase!important; display:inline-block!important; transition:var(--transition)!important;}
    a.btn-hero-outline:hover {background:#7a0000!important; border-color:#7a0000!important;transform:translateY(-3px)!important;}
    .nav-main-list li a[href*="loja"] {background:var(--primary)!important; color:#fff!important; border:2px solid var(--primary)!important; padding:12px 25px!important; border-radius:4px!important; font:900 11px var(--font-main)!important;text-transform:uppercase!important; text-decoration:none!important;transition:var(--transition)!important; display:inline-block!important;box-shadow:0 4px 10px rgba(0,0,0,.2);}
    .nav-main-list li a[href*="loja"]:hover {background:#7a0000!important; border-color:#7a0000!important;transform:translateY(-2px)!important; opacity:1!important;box-shadow:0 8px 20px rgba(155,0,0,.4)!important}
    .nav-main-list { display:flex; align-items:center; }

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */
/* --- HEADER & NAVEGAÇÃO COMPACTO --- */
    .header-container { max-width:1400px; margin:-25px auto 0; position:relative; z-index:1000; padding:0 20px; }
    .navbar-floating { background:#0d0d0d; border-radius:12px; height:75px; display:flex; align-items:center; justify-content:space-between; padding:0 40px; box-shadow:0 8px 30px rgba(0,0,0,.4);}
    .nav-logo-area img { height:65px; width:auto; display:block; margin:-5px 0; transition:var(--transition); }
    .nav-logo-area img:hover { transform:scale(1.05); }
    nav ul.nav-main-list { display:flex; list-style:none; align-items:center; }
    nav ul.nav-main-list > li { width:var(--menu-width); position:relative; text-align:center; }
    nav a { color:#fff!important; text-decoration:none; font-size:11px; font-weight:700; text-transform:uppercase; transition:var(--transition); display:block;}
    nav a:hover { color:var(--primary)!important; }

/* Botão Loja */
    .nav-btn-loja { background:var(--primary)!important; padding:10px 20px!important; border-radius:5px; margin-left:10px; border:1px solid var(--primary); }
    .nav-btn-loja:hover { background:transparent!important; box-shadow:0 0 15px rgba(155,0,0,.4); }

/* Dropdown */
    .dropdown::after { content:""; position:absolute; top:100%; left:0; width:100%; height:20px; }
    .dropdown-content { display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); width:200px; background:#0d0d0d; padding:10px 0; border-top:3px solid var(--primary); box-shadow:0 10px 30px rgba(0,0,0,.5);}
    .dropdown:hover .dropdown-content { display:block; }
    .dropdown-content a { text-align:left; padding:12px 20px; border-bottom:1px solid rgba(255,255,255,.05); }

    /* --- DROPDOWN CYBERPUNK COMPACTO --- */
    .nav-main-list li.dropdown { position: relative; }

/* Seta animada */
    .nav-main-list li.dropdown > a::after {content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900;margin-left: 8px; font-size: 10px; transition: .3s; display: inline-block;}
    .nav-main-list li.dropdown:hover > a::after { transform: rotate(180deg); color: var(--primary); }

/* Contentor do Menu */
    .dropdown-menu {position: absolute; top: 120%; left: 50%; min-width: 220px; padding: 15px 0;list-style: none; background: rgba(10,10,10,.95); backdrop-filter: blur(10px);border: 1px solid rgba(255,255,255,.1); border-top: 4px solid var(--primary);border-radius: 0 0 8px 8px; visibility: hidden; opacity: 0;transform: translateX(-50%) perspective(600px) rotateX(-10deg);transition: all .4s cubic-bezier(.175,.885,.32,1.275);box-shadow: 0 20px 40px #000, 0 0 20px rgba(155,0,0,.2); z-index: 1000;}
    .nav-main-list li.dropdown:hover .dropdown-menu {opacity: 1; visibility: visible; top: 100%;transform: translateX(-50%) perspective(600px) rotateX(0deg);}

/* Links do Menu */
    .dropdown-menu li a {color: #eee!important; padding: 12px 25px!important; display: flex!important;align-items: center; font-size: 11px!important; font-weight: 700!important;letter-spacing: 1.5px; text-transform: uppercase; transition: .3s!important;background: 0 0!important; border-left: 0 solid var(--primary);}
    .dropdown-menu li a:hover {background: rgba(255,255,255,.03)!important; color: #fff!important;padding-left: 35px!important; border-left: 5px solid var(--primary);text-shadow: 0 0 8px var(--primary);}

/* Triângulo Superior */
    .dropdown-menu::before {content: ''; position: absolute; top: -10px; left: 50%;transform: translateX(-50%); border: 10px solid transparent;border-bottom-color: var(--primary); border-top: 0;}

/* =========================================
    FOOTER
   ========================================= */

/* --- POSICIONAMENTO TOTAL À ESQUERDA --- */
    .hero-cta-group {margin-top: 30px !important;    display: flex;gap: 20px;justify-content: flex-start !important; width: 100% !important;         padding-left: 0px !important;    margin-left: 0px !important;  }

/* --- BOTÃO EXPLORAR EQUIPAS (PRETO E CINZA) --- */
    a.btn-hero-main {background: transparent !important;color: #000000 !important;border: 2px solid #cccccc !important;padding: 16px 45px !important;font-family: 'Orbitron', sans-serif !important;font-weight: 900 !important;text-transform: uppercase !important;text-decoration: none !important; display: inline-block !important;transition: all 0.3s ease !important;}
    a.btn-hero-main:hover {color: #9b0000 !important;border-color: #9b0000 !important;}

    .hero-impact { position:relative; background:#f8f8f8; padding:150px 20px; overflow:hidden; display:flex; justify-content:center;}
    .hero-container-inner {  max-width:1200px; width:100%; display:flex; align-items:center; justify-content:space-between; z-index:2;}
    .hero-subtitle { display:block; color:var(--primary); font-size:14px; font-weight:700; letter-spacing:5px; margin-bottom:15px; }
    .hero-text-content h1 { font-size:60px; font-weight:900; line-height:1.1; margin-bottom:25px; }
    .text-red { color:var(--primary); }
    .btn-hero-main, .btn-hero-outline { padding:16px 30px; text-decoration:none; font-weight:700; font-size:12px; border-radius:4px; transition:var(--transition); }
    .btn-hero-main { background:var(--primary); color:#fff!important; }
    .btn-hero-outline { border:2px solid var(--text-dark); color:var(--text-dark)!important; }
    .floating-img { max-width:400px; animation:float 6s ease-in-out infinite; }
    @keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-20px); } }

/* --- FOOTER UNIFICADO COMPACTO --- */
    .footer-unificado { background:#000; padding:50px 0; color:#888; }
    .copyright-flex { display:flex; justify-content:space-between; align-items:center;  max-width:1200px; margin:auto; padding:0 20px; }

    .legal-menu a { color:#888; text-decoration:none; margin-left:20px; font-size:12px; transition:0.3s; }
    .legal-menu a:hover { color:var(--primary); }

/* Ajuste para telemóvel (opcional mas recomendado) */
    @media (max-width: 768px) {.copyright-flex { flex-direction:column; gap:20px; text-align:center; }.legal-menu a { margin:0 10px; }}

/* =========================================
   SECÇÃO DE NOTICIAS
   ========================================= */

    .news-section, .card-body { background: #fff; }
    .news-section { padding: 60px 0; }
    .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 20px}
    .news-card {background: #fff !important;border: 1px solid #eee;border-radius: 15px;overflow: hidden;display: flex;flex-direction: column;text-decoration: none;transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);}
    .news-card:hover { transform: scale(1.05); border-color: var(--primary); box-shadow: 0 10px 30px rgba(155, 0, 0, 0.15); z-index: 10; }

    .card-media { position: relative; width: 100%; height: 220px; overflow: hidden; }
    .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .news-card:hover .card-media img { transform: scale(1.1); }
    .news-tag {position: absolute; top: 15px; right: 15px;background: var(--primary); color: #fff;padding: 6px 15px; font-size: 10px; font-weight: 900;text-transform: uppercase; border-radius: 20px;z-index: 5; box-shadow: 0 4px 10px rgba(0,0,0,0.2);}
    .card-body { padding: 20px; }
    .card-body h3 { color: #1a1a1a; font-size: 16px; text-transform: uppercase; margin-bottom: 15px; font-family: var(--font-main); transition: 0.3s; }
    .news-card:hover h3 { color: var(--primary); }
    .btn-link {color: var(--primary) !important; font-weight: 900; font-size: 11px; text-transform: uppercase; display: inline-flex; align-items: center; transition: 0.3s;}
    .btn-link i { margin-left: 5px; transition: transform 0.3s; }
    .news-card:hover .btn-link i { transform: translateX(5px); }

/* --- HEADER NEWS --- */
    .section-header-news { text-align: center; margin-bottom: 50px; }
    .section-header-news .tag {display: inline-block; background: var(--primary); color: #fff;padding: 5px 15px; font-size: 8px; font-weight: 900; text-transform: uppercase;letter-spacing: 2px; border-radius: 4px; margin-bottom: 15px; font-family: 'Orbitron', sans-serif;}
    .section-header-news h2 { font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 900; text-transform: uppercase; color: #1a1a1a; }

/* =========================================
   SECÇÃO DE VÍDEOS 
   ========================================= */
    .tag-red { background: #9b0000; color: #fff; padding: 4px 12px; font-size: 10px; font-weight: 900; border-radius: 4px; }.tv-title { font-family: 'Orbitron', sans-serif; font-size: 42px; margin-top: 15px; line-height: 1.1; color: #111; }.text-destaque { color: #9b0000; }
    .section-header-tv {margin-bottom: 60px;text-align: center;}

    /* Grelha de 3 Colunas */
    .video-grid-3 {display: grid;grid-template-columns: repeat(3, 1fr);gap: 25px;margin-top: 50px;max-width: 1000px;margin-left: auto;margin-right: auto;}
    .video-card-tv {position: relative;background: #000;border-radius: 20px;aspect-ratio: 1/1;overflow: hidden;cursor: pointer;transition: transform 0.3s ease;}

    /* Destaque no vídeo do meio */
    .video-card-tv.featured {border: 3px solid #9b0000;box-shadow: 0 10px 30px rgba(155, 0, 0, 0.3);transform: scale(1.05);}
    .video-card-tv:hover { transform: scale(1.08); z-index: 10; }

    /* Overlay e Botão Play */
    .video-thumb-overlay {position: absolute;top: 0; left: 0; width: 100%; height: 100%;background: rgba(0,0,0,0.5);display: flex; justify-content: center; align-items: center;transition:  0.3s;}
    .video-card-tv:hover .video-thumb-overlay { background: rgba(0,0,0,0.3); }
    .play-btn-circle {width: 70px; height: 70px;border: 4px solid #fff;border-radius: 50%;display: flex; justify-content: center; align-items: center;color: #fff; font-size: 24px;transition: all 0.3s}
    .video-card-tv:hover .play-btn-circle { background: #fff; color: #9b0000; transform: scale(1.1); }

    /* Modal Styles */
    .video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10000; justify-content: center; align-items: center; }
    .modal-content { position: relative; width: 80%; max-width: 800px; aspect-ratio: 16/9; }
    .close-modal { position: absolute; top: -40px; right: 0; color: #fff; font-size: 30px; cursor: pointer; }
    #modal-player iframe { width: 100%; height: 100%; border-radius: 12px; }
    /* Garante que a imagem automática preenche o espaço */
    #video-grid img {width: 100%;height: 100%;object-fit: cover; /* Faz a imagem ocupar o quadrado todo sem ficar preta nas bordas */display: block;background: #000; /* Fundo caso a imagem falhe */}

/* =========================================
   SECÇÃO DA LOJA 
   ========================================= */
   
    .shop-grid {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;max-width: 1100px;margin: 0 auto; /* Centraliza a grelha toda */clear: both;}

/* --- CARD MINIMALISTA --- */
    .shop-card {background: #ffffff;border-radius: 10px;padding: 15px;display: flex;flex-direction: column;transition: all 0.3s ease;border: 1px solid #f2f2f2;}
    .shop-card:hover {box-shadow: 0 10px 25px rgba(0,0,0,0.05);}
    .product-img {width: 100%;height: 160px;display: flex;align-items: center;justify-content: center;margin-bottom: 15px;}
    .product-img img {max-width: 100%;max-height: 100%;object-fit: contain;}
    .product-info h4 {font-size: 13px;color: #1a1a1a;font-weight: 600;margin-bottom: 10px;text-align: left;}

/* --- LINHA DE PREÇO E BOTÃO --- */
    .price-action {display: flex;justify-content: space-between;align-items: center;margin-top: auto;}
    .price {font-size: 15px;font-weight: 800;color: #1a1a1a;}

/* --- BOTÃO COM EFEITO FILL (CORRIGIDO) --- */
    .btn-buy {position: relative;display: inline-block;padding: 8px 15px;color: #333;border: 1px solid #e0e0e0;border-radius: 6px;font-size: 10px;font-weight: 900;text-transform: uppercase;text-decoration: none;overflow: hidden; /* Garante que o vermelho não sai do botão */z-index: 1;transition: color 0.4s ease, border-color 0.4s ease;}

/* O fundo vermelho flutuante */
    .btn-buy::before {content: '';position: absolute;top: 0;left: -100%; width: 100%;height: 100%;background: #9b0000;z-index: -1; transition: transform 0.4s ease;}

/* Hover no Card faz o botão ativar */
    .shop-card:hover .btn-buy {color: #ffffff;border-color: #9b0000;box-shadow: 0 0 12px rgba(155, 0, 0, 0.5);}
    .shop-card:hover .btn-buy::before {transform: translateX(100%);}

/* --- CENTRALIZAR TÍTULO DA LOJA --- */
    .section-header-shop {margin-bottom: 60px;text-align: center;}
    .section-header-shop h2 {font-size: 28px;font-weight: 900;text-transform: uppercase;letter-spacing: 1px;color: #1a1a1a;text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);}
    .section-header-shop .tag {display: block;color: #9b0000;font-size: 12px;font-weight: 800;margin-bottom: 5px;letter-spacing: 2px;}

/* =====================================================
   FOOTER (RODAPÉ)
   ===================================================== */
    .legal-footer { background: var(--primary); /* Vermelho oficial */padding: 50px 0 20px 0;margin-top: 60px; font-family: var(--font-main);color: #ffffff;}
    .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;padding-bottom: 40px;}
    .footer-section h4 { font-size: 16px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; font-weight: 900;}

/* Contactos e Links */
    .contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
    .contact-text strong { display: block; font-size: 12px; text-transform: uppercase; }
    .contact-text a { font-size: 13px; color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: 0.3s; }
    .contact-text a:hover { color: #ffffff; text-decoration: underline; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { color: #ffffff; text-decoration: none; font-size: 13px; transition: 0.3s; }
    .footer-links a:hover { opacity: 0.7; padding-left: 5px; }

/* Redes Sociais */
    .footer-social-flex { display: flex; gap: 20px; font-size: 24px; }
    .footer-social-flex a { color: #ffffff; transition: 0.3s; }
    .footer-social-flex a:hover { transform: translateY(-5px); }
    .fa-x-twitter { font-family: "Font Awesome 6 Brands" !important;}

/* Barra Inferior */
    .footer-bottom { max-width: 1200px;margin: 0 auto;padding: 30px 20px; display: flex;justify-content: space-between;align-items: center;border-top: 1px solid rgba(255, 255, 255, 0.1);}
    .footer-info-left p { font-size: 11px; font-weight: 700; text-transform: uppercase; }
    .powered-by { font-size: 9px; opacity: 0.6; margin-top: 5px; display: block; }

    .footer-legal-links { display: flex; gap: 20px; }
    .footer-legal-links a { font-size: 10px; color: #ffffff; text-decoration: none; opacity: 0.7; text-transform: uppercase; }
    .footer-legal-links a:hover { opacity: 1; }

/* Responsividade */
    @media (max-width: 768px) {.footer-bottom { flex-direction: column; text-align: center; gap: 20px; }.footer-legal-links { flex-wrap: wrap; justify-content: center; }}

/* --- 1. RESET E BASE --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Orbitron', sans-serif; background-color: #ffffff; color: #000; overflow-x: hidden; }

/* --- 2. CABEÇALHO --- */
    .top-announcement { background: #9b0000; color: white; text-align: center; padding: 12px 0; font-size: 11px; font-weight: 700; letter-spacing: 1px; border-bottom: 1px solid #9b0000; text-transform: uppercase;}
    .header-wrapper { background-color: #9b0000; padding: 0 20px 15px 20px; }
    .inner-nav-bar { background-color: #111111; border-radius: 50px; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; max-width: 1400px; margin: 0 auto; }
    .logo-section img { height: 55px; }
    .nav-menu { display: flex; list-style: none; gap: 25px; align-items: center; }
    .nav-menu a { color: white; text-decoration: none; font-size: 12px; font-weight: 700; transition: 0.3s; cursor: pointer; }
    .nav-menu a:hover { color: #9b0000; }
    .cart-icon-wrapper { position: relative; color: white; font-size: 22px; cursor: pointer; }
    .cart-badge { position: absolute; top: -8px; right: -10px; background: #ff3333; font-size: 10px; padding: 2px 6px; border-radius: 50%; font-weight: 900; }

/* --- 3. GRELHA DE PRODUTOS --- */
    .shop-container { max-width: 1200px; margin: 60px auto; padding: 0 20px; min-height: 600px; }
    .products-grid { display: grid; grid-template-columns: repeat(4-1fr); gap: 40px; }  
    .products-grid {display: grid;/* Força exatamente 4 colunas de tamanho igual */grid-template-columns: repeat(4, 1fr); gap: 20px; /* Espaço entre os produtos */max-width: 1900px; /* Garante que a linha tem largura suficiente */margin: 40px auto;padding: 20 20px;}
    .product-card { border: 1px solid #f0f0f0; border-radius: 15px; padding: 10px; transition: 0.3s; position: relative; background: #fff; }
    .img-container { background: #f9f9f9; height: 350px; margin-bottom: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
    .img-container img { max-width: 85%; max-height: 85%; object-fit: contain; }
    .category-tag { color: #888; font-size: 11px; margin-bottom: 5px; text-transform: uppercase; }
    .product-name { font-size: 15px; margin-bottom: 15px; font-weight: 700; }
    .price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .price { color: #ff3333; font-size: 22px; font-weight: 900; }
    .stock-tag { color: #2ecc71; font-size: 10px; font-weight: 700; background: #e8f8f0; padding: 3px 8px; border-radius: 10px; }
    .btn-confirm-modal { background: #ff3333; color: white; border: none; width: 100%; padding: 18px; border-radius: 12px; font-family: 'Orbitron'; font-weight: 900; cursor: pointer; text-transform: uppercase; }
    .btn-adicionar {background: #ffffff; color: #333; border: 2px solid #e0e0e0; width: 100%; padding: 15px; border-radius: 8px; font-family: 'Orbitron'; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; z-index: 1; transition: all 0.4s ease;}
    .btn-adicionar::before {content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;background: #9b0000; transition: all 0.4s ease; z-index: -1;}
    .btn-adicionar:hover { color: #fff; }
    .btn-adicionar:hover::before { left: 0; }

/* --- MODAL E CARRINHO --- */
    .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 3000; display: none; align-items: center; justify-content: center; }
    .modal-overlay.active { display: flex; }
    .custom-modal { background: #141414; width: 90%; max-width: 500px; padding: 40px; border-radius: 20px; color: white; }
    .modal-title { color: #ff3333; font-size: 18px; margin-bottom: 30px; text-transform: uppercase; }
    .modal-label { font-size: 10px; color: #888; margin-bottom: 10px; display: block; }
    .size-options { display: flex; gap: 10px; margin-bottom: 25px; }
    .size-btn { background: #000; border: 1px solid #333; color: white; width: 50px; height: 40px; border-radius: 8px; cursor: pointer; font-family: 'Orbitron'; }
    .size-btn.selected { background: #ff3333; border-color: #ff3333; }
    .modal-field { background: #000; border: 1px solid #333; color: white; padding: 15px; border-radius: 8px; width: 100%; font-family: 'Orbitron'; font-size: 11px; margin-bottom: 20px; }
    .modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }     

/* --- CARRINHO --- */
    .cart-sidebar {position: fixed; top: 50%; right: -500px; transform: translateY(-50%);width: 500px; height: 95vh; background: #111; color: #fff; z-index: 10001;display: flex; flex-direction: column; padding: 30px;border-radius: 40px; border: 1px solid #222;box-shadow: 0 30px 60px rgba(0,0,0,0.8);transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);}
    .cart-sidebar.open { right: 25px; }

/* Overlay e Base */
    .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); display: none; z-index: 10000; }
    .overlay.active { display: block; }

/* --- ELEMENTOS DE PREÇO --- */
    .cart-item-price { font-size: 18px !important; font-weight: 900; font-family: 'Orbitron'; margin-left: 15px; white-space: nowrap; }
    .total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .total-label { font-size: 22px; font-weight: 900; text-transform: uppercase; }
    #total-price { font-size: 26px; font-weight: 900; color: #ff3333; }

/* --- BOTÕES E TEXTOS AUXILIARES --- */
    .btn-checkout-single {width: 100%;padding: 20px 25px;border-radius: 15px;border: none;background: #ff3333;color: #fff;font-family: 'Orbitron';font-size: 10px;font-weight: 900;text-transform: uppercase;letter-spacing: 2px;cursor: pointer;transition: 0.3s;margin-bottom: 15px;display: flex;align-items: center;     justify-content: center;text-align: center;line-height: 1;        }
    .btn-checkout-single:hover { background: #9b0000; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(155,0,0,0.4); }
    .tax-info { display: block; width: 100%; margin-top: 15px; color: #888; font-family: sans-serif; font-size: 11px; font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.5; }  
    .cart-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 15px; margin-bottom: 20px; }
    #cart-items-container { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
    .item-controls { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
    .quantity-selector { display: flex; align-items: center; background: #222; border-radius: 8px; padding: 5px 12px; gap: 15px; }
    .quantity-btn { background: none; border: none; color: white; font-size: 16px; cursor: pointer; }
    .quantity-num { font-size: 14px; font-weight: 700; }
    .btn-remove { background: none; border: none; color: #555; font-size: 18px; cursor: pointer; transition: 0.3s; }
    .btn-remove:hover { color: #ff3333; }
    .cart-buttons { display: flex; gap: 12px; margin-bottom: 20px; }
    .btn-view-cart { flex: 1; background: #000; color: white; border: 1px solid #333; padding: 18px; border-radius: 12px; font-family: 'Orbitron'; font-size: 11px; font-weight: 900; cursor: pointer; text-align: center; text-decoration: none; }
    .btn-checkout { flex: 1; background: #ff3333; color: white; border: none; padding: 18px; border-radius: 12px; font-family: 'Orbitron'; font-size: 11px; font-weight: 900; cursor: pointer; }

/* --- ESTILO CARRINHO VAZIO --- */
    .empty-cart-wrapper {display: flex;flex-direction: column;align-items: center;justify-content: center;height: 100%;       /* Ocupa a altura disponível do sidebar */min-height: 300px;  /* Garante que não fique colado ao topo */text-align: center;color: #fff;}
    .empty-cart-wrapper i {font-size: 50px;    /* Tamanho do ícone */margin-bottom: 15px;opacity: 0.2;       /* Estilo mais subtil/elegante */}
    .empty-cart-wrapper p {font-family: 'Orbitron';font-size: 14px;font-weight: 700;letter-spacing: 2px;opacity: 0.5;}

/* --- CONTROLO DE QUANTIDADE (PÍLULA) --- */
    .qty-control-pill {display: flex;align-items: center;background: #222; /* Fundo escuro igual à imagem */border-radius: 50px;padding: 5px 15px;gap: 15px;border: 1px solid #333;}
    .qty-control-pill button {background: none;border: none;color: #fff;font-size: 18px;cursor: pointer;transition: opacity 0.2s;padding: 0 5px;}
    .qty-control-pill button:hover {opacity: 0.6;}
    .qty-control-pill span {color: #fff;font-size: 14px;font-weight: 700;min-width: 20px; text-align: center;}

/* Botão de Lixo  */
    .cart-remove-btn {background: none;border: none;color: #555; /* Cor cinza padrão */font-size: 20px;cursor: pointer;transition: all 0.3s ease;}
    .cart-remove-btn:hover {color: #ff3333; /* Muda para vermelho ao passar o rato */transform: scale(1.1); /* Efeito de zoom leve */}

/* --- ESTRUTURA DE ITENS NO CARRINHO --- */
    .cart-item-info-bottom, .item-controls { display: flex; align-items: center; margin-top: 15px; gap: 15px; }

/* --- BOTÕES DE AÇÃO (RODAPÉ DO CARRINHO) --- */
    .cart-buttons { display: flex; gap: 10px; margin-top: 15px; }

/* Base comum para botões do carrinho */
    .btn-view-cart, .btn-checkout {flex: 1;padding: 15px;border-radius: 8px;font-family: 'Orbitron';font-size: 10px;cursor: pointer;transition: 0.3s;}

    .btn-view-cart { background: transparent; color: white; border: 1px solid #333; }
    .btn-checkout { background: #ff3333; color: white; border: none; font-weight: 900; }
    .btn-checkout:hover { background: #9b0000; transform: translateY(-2px); }

/* --- PERSONALIZAR PRODUTO  --- */

/* --- FUNDO (Overlay) --- */
    #modal-backdrop {position: fixed;top: 0; left: 0;width: 100%; height: 100%;background: rgba(0, 0, 0, 0.4);backdrop-filter: blur(8px); /* Aqui está o desfoque */-webkit-backdrop-filter: blur(8px);z-index: 2000;display: none;}
/* Botão Fechar no Canto Superior Direito */
    .modal-close-btn {position: absolute;top: 20px;right: 20px;}

/* Container de cada grupo (Tamanho, Nick, etc) */
    .selection-group, .input-container-modern {margin-bottom: 20px;width: 100%;}

/* Títulos dos campos (Labels) - Todos Iguais */
    .label-tamanhos, 
    .input-container-modern label {display: block;color: #fff; /* Branco puro */font-size: 11px;font-weight: 700;text-transform: uppercase;letter-spacing: 1px;margin-bottom: 8px;text-align: left;font-family: 'Orbitron', sans-serif;}
/* Estilo dos Campos de Texto */
    .modal-input, 
    .input-container-modern input {width: 100%;background: #111; /* Fundo cinza muito escuro */border: 1px solid #333;padding: 12px 15px;color: #fff;font-family: 'Orbitron';font-size: 12px;border-radius: 8px;outline: none;transition: border-color 0.3s;}
    .modal-input:focus {border-color: #ff3333; /* Brilha em vermelho ao clicar */}
/* Estilo dos Botões de Tamanho para condizer com os Inputs */
    .size-row {display: flex;gap: 10px;width: 100%;}
    .size-btn {flex: 1; /* Todos os botões dividem o espaço igualmente */background: #111;border: 1px solid #333;color: #fff;padding: 10px 0;font-family: 'Orbitron';font-size: 12px;cursor: pointer;border-radius: 8px;transition: 0.3s;}
    .size-btn.selected {background: #ff3333;border-color: #ff3333;font-weight: 900;}
/* Linha de Ação: Quantidade + Botão */
    .modal-footer-actions {display: flex;gap: 15px;margin-top: 30px;align-items: center;}
    .btn-add-cart-modal {flex: 1; /* Faz o botão ocupar o resto do espaço */margin: 0 !important;height: 50px;}
    .qty-control-pill {display: flex;align-items: center;background: #1a1a1a;border: 1px solid #333;border-radius: 50px;padding: 5px 15px;gap: 15px;height: 50px;}
    .qty-control-pill button {background: none; border: none; color: #fff; cursor: pointer; font-size: 18px;}
    .product-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 95%; max-width: 750px; background: #151515; border: 1px solid #252525; border-radius: 15px; padding: 25px; color: #fff; z-index: 100000; }
    .product-modal.active, #modal-backdrop.active { display: block; flex-direction: column; }
    .modal-main-title { font-size: 24px; text-align: left; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; font-weight: 900; }
    .modal-layout { display: flex; gap: 40px; align-items: center; }
    .modal-left-col { flex: 1; display: flex; justify-content: center; align-items: center; }
    .modal-product-img { width: 100%; max-width: 280px; object-fit: contain; }
    .modal-right-col { flex: 1.2; }
    .header-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .modal-prod-name { font-size: 18px; font-weight: 700; }
    .modal-prod-price { font-size: 18px; font-weight: 900; }
    .input-label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; margin: 20px 0 10px; }
    .size-row { display: flex; gap: 6px; margin-bottom: 5px; }
    .size-btn { flex: 1; height: 45px; background: #1a1a1a; border: 1px solid #333; color: #fff; cursor: pointer; font-weight: 700; font-size: 11px; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
    .size-btn.selected { background: #9b0000; border-color: #9b0000; }

/* Quantidade (Design Carrinho) */
/* --- SELETOR DE QUANTIDADE (Estilo Carrinho) --- */
    .qty-wrapper {display: flex;align-items: center;background: #111; /* Fundo escuro igual ao carrinho */border: 1px solid #222;width: 120px; /* Largura fixa para ficar elegante */height: 45px;border-radius: 5px;overflow: hidden;margin-bottom: 20px;}
    .qty-btn-modal {flex: 1;height: 100%;background: transparent;border: none;color: #fff;font-size: 18px;cursor: pointer;transition: 0.3s;display: flex;align-items: center;justify-content: center;}
    .qty-btn-modal:hover {background: #1a1a1a;color: #9b0000; /* Realce em vermelho ao passar o rato */}
    .qty-number-modal {flex: 1;text-align: center;font-weight: 700;font-size: 16px;color: #fff;border-left: 1px solid #222;border-right: 1px solid #222;}

/* --- DESIGN DAS CAIXAS DE TEXTO (Inputs) --- */
    .modal-input {width: 100%;height: 45px;background: #0a0a0a; /* Inputs continuam bem escuros para contraste */border: 1px solid #333;border-radius: 5px;padding: 0 12px;color: #fff;font-size: 14px;margin-bottom: 10px; /* Reduzi o espaço para o próximo campo */outline: none;}

/* Ajuste no Título da Personalização para ser Branco */
    .modal-label-white {display: block;color: #fff;font-size: 20px;font-weight: 700;text-transform: uppercase;margin-top: 12px; /* Reduzi o espaço entre blocos */margin-bottom: 4px;  /* Espaço quase nulo para a caixa de texto */text-align: left;}

/* Botão Adicionar (Efeito igual ao do site) */
    .add-cart-btn {margin-top: 30px;width: 100%;height: 50px;background: #9b0000;color: white;border: none;font-weight: 900;text-transform: uppercase;cursor: pointer;transition: 0.3s;}
    .add-cart-btn:hover {background: #cc0000;transform: scale(1.02);}

/* Fechar */
/* Estilo para o botão de fechar do carrinho */
    .cart-close-wrapper {width: 35px;height: 35px;background: #1a1a1a; /* Fundo escuro igual ao site */border-radius: 50%; /* Formato circular */display: flex;align-items: center;justify-content: center;cursor: pointer;transition: all 0.3s ease;border: 1px solid #333;}
    .cart-close-wrapper i {color: #fff;font-size: 18px;}

/* Efeito ao passar o rato */
    .cart-close-wrapper:hover {background: #ff3333; /* Cor de destaque da Lusonix */border-color: #ff3333;transform: rotate(90deg); /* Pequena animação de rotação */}
    .cart-close-wrapper:hover i {color: #fff;}

/* Responsivo para telemóvel */
    @media (max-width: 700px) {.modal-layout { flex-direction: column; }.modal-img-col { width: 100%; margin-bottom: 20px; }}
    

/* Notificação Flutuante (Toast) - Canto Superior Esquerdo */
.toast-notification {
    position: fixed;
    top: 30px;              /* Alinhado ao topo */
    left: 30px;             /* Alinhado à esquerda */
    background: #1a1a1a;
    border-left: 5px solid #00ff00;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Orbitron';
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;         /* Z-index alto para ficar por cima de tudo */
    animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInLeft {
    from { 
        transform: translateX(-120%); /* Vem da esquerda */
        opacity: 0;
    }
    to { 
        transform: translateX(0); 
        opacity: 1;
    }
}/* AJUSTE DO CABEÇALHO */
.navbar-floating {
    height: 75px !important; /* Altura ideal para não deformar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

/* WIDGET DESIGN */
.lnx-next-battle-v2 {
    position: relative;
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.vs-circle {
    background: #9b0000;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* EFEITO DE BRILHO (SUBTIL) */
.battle-glow {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 0, 0, 0.2), transparent);
    animation: lnx-glow 4s infinite;
}

@keyframes lnx-glow {
    0% { left: -100%; }
    100% { left: 100%; }
}