:root {
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-section: #f8f9fa;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --primary-color: #0B1D35;
    --border-color: #eee;
    --btn-bg: linear-gradient(135deg, #D4AF37 0%, #b5952f 100%);
    --btn-accent-color: #D4AF37;
    --btn-text: #fff;
    --font-site: 'Montserrat', sans-serif;
    --header-color: var(--primary-color);
    
    /* Logo color management */
    --logo-text-color: #000000; /* Preto por padrão para temas claros */
    --logo-image: url('logo.png'); /* Logo padrão para temas claros */
    
    /* CORES INSPIRADAS EM SITES FAMOSOS */
    --spotify-green: #1DB954;
    --netflix-red: #E50914;
    --instagram-gradient: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    --tiktok-pink: #FF0050;
    --tiktok-blue: #00F2EA;
    --discord-purple: #5865F2;
    --twitch-purple: #9146FF;
    --youtube-red: #FF0000;
    --twitter-blue: #1DA1F2;
    --facebook-blue: #1877F2;
    --linkedin-blue: #0A66C2;
    --pinterest-red: #E60023;
    --snapchat-yellow: #FFFC00;
    --reddit-orange: #FF4500;
    --whatsapp-green: #25D366;
    --telegram-blue: #0088CC;
    
    /* CORES DE BOTÕES CRIATIVAS */
    --nebula-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --sunset-orange: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --ocean-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --forest-green: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --fire-red: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --galaxy-dark: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --aurora-borealis: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    --cosmic-purple: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
    --tropical-sunset: linear-gradient(135deg, #ff9a56 0%, #ff6a88 0%, #ff99ac 100%);
    --midnight-blue: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

/* BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-site); background-color: var(--bg-body); color: var(--text-main); line-height: 1.5; transition: 0.4s; overflow-x: hidden; }
h1, h2, h3, p, a, button, .logo-text { font-family: var(--font-site) !important; transition: 0.3s; }
h1, h2, h3, .logo-text { color: var(--header-color) !important; }

.container { max-width: 1550px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR E LOGO */
.navbar { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 0 0 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.nav-container-main { 
    position: relative;
    width: 100%; max-width: 1200px; 
    margin: 0 auto; padding: 20px 20px 20px 20px; 
    display: flex;
    align-items: flex-end;
    height: auto;
    min-height: 450px;
}

.logo-box { 
    display: flex; 
    align-items: flex-end; 
    transition: all 0.5s ease; 
    z-index: 10; 
    position: relative;
    top: 0px;
    left: -190px;
    padding-bottom: 0px;
}
.logo-container { display: flex; align-items: center; gap: 0px; } /* Removido gap já que não há mais texto */
.logo-img { 
    height: 170px !important; 
    width: auto !important; 
    max-width: none !important; 
    min-height: 170px !important;
    transition: all 0.3s ease; 
    display: block !important;
    border-radius: 0px;
    overflow: hidden;
} /* Logo ajustado tamanho original */

/* Mobile logo adjustments - REMOVIDO - CONFLITO COM OUTRAS MEDIA QUERIES */
.about-big-logo { max-width: 250px; height: 170px; transition: all 0.3s ease; } /* Logo grande com mesmo tamanho do logo do menu */

/* Efeitos de hover no logo (mantendo original) */
.logo-img:hover, .about-big-logo:hover {
    transform: scale(1.05);
}
.logo-text { font-weight: 900; font-size: 1.6rem; border-left: 3px solid var(--btn-accent-color); padding-left: 15px; display: flex; align-items: center; height: 35px; color: var(--logo-text-color); }

.nav-links { 
    position: absolute; 
    right: -150px; 
    display: flex; 
    align-items: flex-end;
    gap: 25px;
    z-index: 10;
}
.nav-links a { 
    text-decoration: none; 
    color: #fff !important; 
    font-weight: 700; 
    font-size: 1.1rem; 
    text-transform: uppercase; 
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.nav-links a:hover { 
    color: #fff !important; 
    text-decoration: underline;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.navbar.scrolled { 
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    min-height: 70px;
    padding: 10px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FORÇANDO MENU SCROLL GLOBAL */
@media (min-width: 1025px) and (max-width: 1366px) and (max-aspect-ratio: 4/3) {
    .navbar.scrolled .logo-box {
        position: relative !important;
        left: 150px !important;
        top: 0 !important;
        transform: none !important;
        border-right: 4px solid rgba(255,255,255,0.5) !important;
        padding-right: 15px !important;
    }
    
    .navbar.scrolled .nav-links {
        position: relative !important;
        right: 50px !important;
        gap: 8px !important;
        border-left: none !important;
        padding-left: 0 !important;
        border-right: 4px solid rgba(255,255,255,0.5) !important;
        padding-right: 15px !important;
    }
    
    .navbar.scrolled .logo-img {
        height: 40px !important;
        min-height: 40px !important;
    }
    
    .navbar.scrolled .nav-links a {
        font-size: 0.8rem !important;
        padding: 2px 6px !important;
    }
}

.navbar.scrolled .banner-carousel {
    display: none;
}

.navbar.scrolled .nav-container-main {
    min-height: 50px;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo-box {
    position: relative;
    left: 20px;
    top: 0;
    transform: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo-img {
    height: 68.75px !important;
    min-height: 68.75px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-links {
    position: relative;
    right: 20px;
    gap: 15px;
    border-left: none;
    padding-left: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container-main {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-box {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* REGRAS DE POSIÇÃO DA LOGO */
.logo-left .logo-box { left: 20px; }
.logo-center .logo-box { left: 50%; transform: translateX(-50%); }
.logo-extreme .logo-box { position: fixed; left: 40px; top: 15px; }

/* CARROSSEL DE BANNERS NO MENU */
.banner-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.0);
    opacity: 1.0;
    mask-image: linear-gradient(to right, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.3) 10%, 
        rgba(0,0,0,0.8) 20%, 
        rgba(0,0,0,1) 30%, 
        rgba(0,0,0,1) 70%, 
        rgba(0,0,0,0.8) 80%, 
        rgba(0,0,0,0.3) 90%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.3) 10%, 
        rgba(0,0,0,0.8) 20%, 
        rgba(0,0,0,1) 30%, 
        rgba(0,0,0,1) 70%, 
        rgba(0,0,0,0.8) 80%, 
        rgba(0,0,0,0.3) 90%, 
        rgba(0,0,0,0) 100%);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.2);
}

.dot.active {
    background: white;
    transform: scale(1.2);
    border: 1px solid rgba(0,0,0,0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* HERO */
.hero { padding: 620px 0 100px; text-align: center; }
.hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 25px; line-height: 1.1; }
.hero p { color: var(--text-muted); max-width: 750px; margin: 0 auto 40px; font-size: 1.25rem; }

/* BOTÕES HERO */
.cta-group { display: flex; justify-content: center; gap: 15px; }
.btn-primary { 
    background: var(--btn-bg); color: #fff !important; border: none; padding: 18px 50px; border-radius: 8px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: inline-block; text-decoration: none;
}
.btn-secondary { 
    border: 2px solid var(--primary-color); color: var(--primary-color) !important; background: transparent; padding: 18px 50px; border-radius: 8px; font-weight: 700; cursor: pointer; display: inline-block; text-decoration: none;
}

/* SEÇÃO JOGOS E CATEGORIAS */
.section-header { text-align: center; margin-bottom: 40px; width: 100%; }
.divider { width: 80px; height: 4px; background: var(--btn-accent-color); margin: 10px auto 0; }

.category-section { margin-bottom: 60px; margin-top: 40px; }
.category-header { text-align: center; margin-bottom: 30px; }
.category-header h3 { font-size: 2rem; font-weight: 800; color: var(--primary-color); margin-bottom: 10px; }
.category-header p { color: var(--text-muted); font-size: 1.1rem; }

/* GAMES GRID PADRÃO */
.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; width: 100%; align-items: stretch; }
.game-card { background: var(--bg-card); border-radius: 20px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.media-wrapper { width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.game-video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }

/* --- AJUSTE DOS VERTICAIS (Cards 5 e 6) --- */
.wrapper-portrait-card {
    aspect-ratio: 9/16 !important; /* Proporção vertical para vídeos verticais */
    background: #000;
    min-height: 600px !important; /* Altura mínima maior para vídeos verticais */
    max-height: 700px !important; /* Altura máxima para não cortar */
}
.video-portrait {
    height: 100% !important;
    width: 100% !important; /* Preenche completamente */
    object-fit: contain !important; /* Mostra vídeo inteiro sem cortar */
    cursor: pointer;
}

.card-body { padding: 30px; text-align: left; flex-grow: 1; }
.title-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }

/* TAGS */
.tag { font-size: 0.75rem; font-weight: 900; padding: 6px 12px; border-radius: 6px; color: #fff !important; text-transform: uppercase; display: inline-block; }
.tag.hot { background: #ff416c !important; } 
.tag.cash { background: #11998e !important; }
.tag.premium { background: #8E2DE2 !important; }
.tag.new { background: #2193b0 !important; }

.btn-play { background: var(--btn-bg); color: #fff !important; width: 100%; border: none; padding: 15px; border-radius: 10px; font-weight: 800; cursor: pointer; margin-top: 20px; text-transform: uppercase; }

/* SOBRE */
.about-section { padding: 120px 0; background: var(--bg-section); }
.about-content { display: flex; align-items: center; justify-content: flex-start; gap: 100px; max-width: 1550px; margin: 0 auto; }
.logo-frame { border: 1px solid var(--border-color); padding: 50px; border-radius: 40px; background: #fff; display: flex; align-items: center; justify-content: center; }
.about-big-logo { max-width: 250px; height: 170px; border-radius: 8px; overflow: hidden; } /* Logo grande com mesmo tamanho e estilo do logo do menu */
.feature { background: var(--bg-card); padding: 15px 30px; border-radius: 50px; border: 1px solid var(--border-color); font-weight: 700; display: inline-block; margin-right: 10px; margin-top: 20px; }

/* PAINEL DE CONFIGURAÇÃO */
#theme-panel { position: fixed; top: 90px; right: 25px; width: 350px; max-height: 80vh; background: #111; color: #fff; border-radius: 20px; z-index: 2000; padding: 25px; box-shadow: 0 20px 60px rgba(0,0,0,0.7); display: flex; flex-direction: column; text-align: left; }
#theme-panel.hidden { display: none; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #222; }
.panel-header span { font-weight: 900; font-size: 0.8rem; letter-spacing: 1px; }
.close-btn { background: none; border: none; color: #555; cursor: pointer; font-size: 1.2rem; }
.panel-scroll { overflow-y: auto; padding-right: 5px; }
.panel-scroll::-webkit-scrollbar { width: 5px; }
.panel-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

.btn-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.panel-section label { font-size: 0.65rem; color: #777; display: block; margin-bottom: 12px; font-weight: 900; text-transform: uppercase; }
.panel-section button { background: #222; border: 1px solid #333; color: #ddd; padding: 10px; border-radius: 8px; cursor: pointer; font-size: 0.75rem; text-align: left; transition: 0.2s; }
.panel-section button:hover { background: #282828; border-color: #444; }

.btn-reset { width: 100%; background: #333 !important; border: 1px solid #555 !important; color: #fff !important; padding: 12px; font-weight: bold; cursor: pointer; margin-bottom: 20px; border-radius: 8px; text-align: center !important; }
.export-box { background: #000; padding: 20px; border-radius: 12px; border: 1px solid #222; text-align: center; margin-top: 20px; }
.btn-copy { width: 100%; background: #fff !important; color: #000 !important; font-weight: 900 !important; border: none !important; padding: 12px; cursor: pointer; margin-top: 10px; border-radius: 8px; }

/* Previews Cores Botões */
.p-gold { border-left: 4px solid #D4AF37 !important; } 
.p-emerald { border-left: 4px solid #10b981 !important; } 
.p-blue { border-left: 4px solid #1d9bf0 !important; }
.p-orange { border-left: 4px solid #ff9900 !important; }
.p-purple { border-left: 4px solid #a970ff !important; }
.p-crimson { border-left: 4px solid #ff416c !important; }

/* CORES DE BOTÕES INSPIRADAS EM SITES FAMOSOS */
.btn-spotify { background: var(--spotify-green) !important; border: none !important; }
.btn-netflix { background: var(--netflix-red) !important; border: none !important; }
.btn-instagram { background: var(--instagram-gradient) !important; border: none !important; }
.btn-tiktok { background: linear-gradient(45deg, var(--tiktok-pink), var(--tiktok-blue)) !important; border: none !important; }
.btn-discord { background: var(--discord-purple) !important; border: none !important; }
.btn-twitch { background: var(--twitch-purple) !important; border: none !important; }
.btn-youtube { background: var(--youtube-red) !important; border: none !important; }
.btn-twitter { background: var(--twitter-blue) !important; border: none !important; }
.btn-facebook { background: var(--facebook-blue) !important; border: none !important; }
.btn-linkedin { background: var(--linkedin-blue) !important; border: none !important; }
.btn-pinterest { background: var(--pinterest-red) !important; border: none !important; }
.btn-snapchat { background: var(--snapchat-yellow) !important; border: none !important; color: #000 !important; }
.btn-reddit { background: var(--reddit-orange) !important; border: none !important; }
.btn-whatsapp { background: var(--whatsapp-green) !important; border: none !important; }
.btn-telegram { background: var(--telegram-blue) !important; border: none !important; }

/* CORES DE BOTÕES CRIATIVAS */
.btn-nebula { background: var(--nebula-purple) !important; border: none !important; }
.btn-sunset { background: var(--sunset-orange) !important; border: none !important; }
.btn-ocean { background: var(--ocean-blue) !important; border: none !important; }
.btn-forest { background: var(--forest-green) !important; border: none !important; }
.btn-fire { background: var(--fire-red) !important; border: none !important; }
.btn-galaxy { background: var(--galaxy-dark) !important; border: none !important; }
.btn-aurora { background: var(--aurora-borealis) !important; border: none !important; }
.btn-cosmic { background: var(--cosmic-purple) !important; border: none !important; }
.btn-tropical { background: var(--tropical-sunset) !important; border: none !important; }
.btn-midnight { background: var(--midnight-blue) !important; border: none !important; }

/* Temas escuros - logo branco */
.btn-galaxy, .btn-midnight, .btn-fire, .btn-nebula {
    --logo-text-color: #ffffff !important;
    --logo-image: url(logo2.png) !important;
}

/* Temas claros - logo preto */
.btn-ocean, .btn-forest, .btn-aurora, .btn-cosmic, .btn-tropical, .btn-sunset {
    --logo-text-color: #000000 !important;
    --logo-image: url(logo.png) !important;
}

/* CORES DE TÍTULOS INSPIRADAS EM SITES FAMOSOS */
.title-spotify { color: var(--spotify-green) !important; }
.title-netflix { color: var(--netflix-red) !important; }
.title-instagram { background: var(--instagram-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-tiktok { background: linear-gradient(45deg, var(--tiktok-pink), var(--tiktok-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-discord { color: var(--discord-purple) !important; }
.title-twitch { color: var(--twitch-purple) !important; }
.title-youtube { color: var(--youtube-red) !important; }
.title-twitter { color: var(--twitter-blue) !important; }
.title-facebook { color: var(--facebook-blue) !important; }
.title-linkedin { color: var(--linkedin-blue) !important; }
.title-pinterest { color: var(--pinterest-red) !important; }
.title-snapchat { color: var(--snapchat-yellow) !important; }
.title-reddit { color: var(--reddit-orange) !important; }
.title-whatsapp { color: var(--whatsapp-green) !important; }
.title-telegram { color: var(--telegram-blue) !important; }

/* CORES DE TÍTULOS CRIATIVAS */
.title-nebula { background: var(--nebula-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-sunset { background: var(--sunset-orange); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-ocean { background: var(--ocean-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-forest { background: var(--forest-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-fire { background: var(--fire-red); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-galaxy { background: var(--galaxy-dark); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-aurora { background: var(--aurora-borealis); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-cosmic { background: var(--cosmic-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-tropical { background: var(--tropical-sunset); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-midnight { background: var(--midnight-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* FONTES PRINCIPAIS - VISUALMENTE DIFERENTES */
.font-bebas { font-family: 'Bebas Neue', cursive !important; }
.font-righteous { font-family: 'Righteous', cursive !important; }
.font-bangers { font-family: 'Bangers', cursive !important; }
.font-permanent { font-family: 'Permanent Marker', cursive !important; }
.font-pacifico { font-family: 'Pacifico', cursive !important; }
.font-lobster { font-family: 'Lobster', cursive !important; }
.font-dancing { font-family: 'Dancing Script', cursive !important; }
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-playfair { font-family: 'Playfair Display', serif !important; }
.font-modern { font-family: 'Montserrat', sans-serif !important; }
.font-space { font-family: 'Space Grotesk', sans-serif !important; }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif !important; }
.font-inter { font-family: 'Inter', sans-serif !important; }

/* FOOTER */
footer { padding: 50px 0; text-align: center; border-top: 1px solid #eee; color: #888; }

/* --- RESPONSIVO MOBILE --- */
@media (max-width: 768px) {
    .hero { padding: 450px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .nav-container-main { justify-content: center; min-height: 300px; }
    .logo-box { position: relative; left: -50px; transform: none; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links { position: relative; left: 50px; justify-content: center; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .logo-img { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .panel-section { margin-bottom: 15px; }
    .panel-section label { font-size: 0.7rem; }
    .panel-section button { font-size: 0.65rem; padding: 8px; }
    .btn-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    #theme-panel { width: 90%; right: 5%; left: 5%; max-height: 500px; }
    
    /* Menu scroll no mobile */
    .navbar.scrolled .logo-box {
        position: relative;
        left: 0px;
        top: 0;
        transform: none;
    }
    
    .navbar.scrolled .nav-links {
        position: relative;
        left: 30px;
        gap: 10px;
        border-left: none;
        padding-left: 0;
    }
    
    .navbar.scrolled .logo-img {
        height: 35px !important;
        min-height: 35px !important;
    }
}

/* --- RESPONSIVO TELAS QUADRADAS --- */
@media (max-width: 1024px) and (min-aspect-ratio: 3/4) {
    .container { max-width: 100%; margin: 0 auto; padding: 0 15px; }
    .nav-container-main { max-width: 100%; padding: 15px; }
    .logo-box { left: -120px; }
    .nav-links { right: -120px; gap: 12px; }
    .nav-links a { font-size: 1rem; }
    .about-content { max-width: 100%; margin: 0 auto; gap: 40px; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.9rem; }
}

/* --- RESPONSIVO DESKTOP QUADRADO FORÇADO --- */
@media (min-width: 1025px) and (max-width: 1366px) and (max-aspect-ratio: 4/3) {
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .nav-container-main { max-width: 1200px; padding: 20px; min-height: 400px !important; }
    .logo-box { 
        left: -140px !important; 
        top: -30px !important;
        position: relative !important;
        transform: none !important;
        border-right: 4px solid rgba(255,255,255,0.5) !important;
        padding-right: 15px !important;
    }
    .nav-links { 
        right: -140px !important; 
        top: -30px !important;
        position: absolute !important;
        gap: 20px;
        border-right: 4px solid rgba(255,255,255,0.5) !important;
        padding-right: 15px !important;
    }
    .nav-links a { font-size: 1rem; }
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
}

/* FORÇANDO MENU SCROLL DESKTOP QUADRADO */
@media (min-width: 1025px) and (max-width: 1366px) and (max-aspect-ratio: 4/3) {
    .navbar.scrolled .logo-box {
        position: relative !important;
        left: 200px !important;
        top: 0 !important;
        transform: none !important;
        border-right: 4px solid rgba(255,255,255,0.5) !important;
        padding-right: 15px !important;
    }
    
    .navbar.scrolled .nav-links {
        position: relative !important;
        right: 50px !important;
        gap: 8px !important;
        border-left: none !important;
        padding-left: 0 !important;
        border-right: 4px solid rgba(255,255,255,0.5) !important;
        padding-right: 15px !important;
    }
    
    .navbar.scrolled .logo-img {
        height: 40px !important;
        min-height: 40px !important;
    }
    
    .navbar.scrolled .nav-links a {
        font-size: 0.8rem !important;
        padding: 2px 6px !important;
    }
}

/* --- RESPONSIVO MOBILE QUADRADO --- */
@media (max-width: 768px) and (min-aspect-ratio: 2/3) {
    .container { max-width: 100%; margin: 0 auto; padding: 0 10px; }
    .nav-container-main { max-width: 100%; padding: 10px; min-height: 450px; }
    .logo-box { position: relative; left: 20px !important; top: 20px; transform: none; border-right: 6px solid rgba(255,255,255,0.7) !important; padding-right: 20px !important; }
    .nav-links { position: relative; left: 40px !important; top: 20px; justify-content: center; border-left: none !important; padding-left: 0 !important; border-right: 6px solid rgba(255,255,255,0.7) !important; padding-right: 20px !important; }
    .logo-img { height: 45px !important; min-height: 45px !important; }
    .nav-links a { font-size: 0.8rem; padding: 5px 10px; }
    .hero { padding: 490px 0 60px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.8rem; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-content { flex-direction: column; gap: 25px; text-align: center; }
    .about-big-logo { max-width: 180px; height: 120px; }
    .wrapper-portrait-card { min-height: 280px !important; max-height: 380px !important; }
    
    /* Banner enorme no mobile quadrado */
    .banner-carousel {
        height: 280px !important;
    }
    
    .banner-img {
        transform: scale(1.2) !important;
    }
    
    /* Menu scroll no mobile quadrado - DEFINITIVO */
    .navbar.scrolled .logo-box {
        position: relative;
        left: 30px !important;
        top: 0;
        transform: none;
        border-right: 6px solid rgba(255,255,255,0.7) !important;
        padding-right: 20px !important;
    }
    
    .navbar.scrolled .nav-links {
        position: relative;
        left: 50px !important;
        gap: 8px;
        border-left: none !important;
        padding-left: 0 !important;
        border-right: 6px solid rgba(255,255,255,0.7) !important;
        padding-right: 20px !important;
    }
    
    .navbar.scrolled .logo-img {
        height: 35px !important;
        min-height: 35px !important;
    }
}
/* --- RESPONSIVO TABLET --- */
@media (max-width: 1024px) {
    .container { max-width: 100%; margin: 0 auto; padding: 0 15px; }
    .nav-container-main { max-width: 100%; padding: 15px; }
    .logo-box { left: -80px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links { right: -80px; gap: 15px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .logo-img { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links a { font-size: 0.9rem; }
    .about-content { max-width: 100%; margin: 0 auto; gap: 50px; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    /* Menu scroll no tablet */
    .navbar.scrolled .logo-box {
        position: relative;
        left: -40px;
        top: 0;
        transform: none;
    }
    
    .navbar.scrolled .nav-links {
        position: relative;
        right: -40px;
        gap: 12px;
        border-left: none;
        padding-left: 0;
    }
    
    .navbar.scrolled .logo-img {
        height: 45px !important;
        min-height: 45px !important;
    }
}

/* --- RESPONSIVO SMALL MOBILE --- */
@media (max-width: 480px) {
    .container { max-width: 100%; margin: 0 auto; padding: 0 10px; }
    .nav-container-main { max-width: 100%; padding: 10px; min-height: 280px; }
    .logo-box { left: -50px; top: 0px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .logo-img { height: 25px !important; min-height: 25px !important; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links { right: -100px; gap: 4px; border-left: 2px solid rgba(255,255,255,0.3); padding-left: 8px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links a { font-size: 0.7rem; padding: 4px 8px; }
    .hero h1 { font-size: 1.5rem; }
    .hero p { font-size: 0.8rem; }
    .games-grid { grid-template-columns: 1fr; gap: 15px; }
    .about-content { flex-direction: column; gap: 30px; text-align: center; }
    .about-big-logo { max-width: 150px; height: 100px; }
    .wrapper-portrait-card { min-height: 300px !important; max-height: 400px !important; }
    
    /* Menu scroll no mobile pequeno - COM BORDAS GRANDES */
    .navbar.scrolled .logo-box {
        position: relative;
        left: 0px;
        top: 0;
        transform: none;
        border-right: 6px solid rgba(255,255,255,0.7) !important;
        padding-right: 20px !important;
    }
    
    .navbar.scrolled .nav-links {
        position: relative;
        left: 20px;
        gap: 6px;
        border-left: none;
        padding-left: 0;
        border-right: 6px solid rgba(255,255,255,0.7) !important;
        padding-right: 20px !important;
    }
    
    .navbar.scrolled .logo-img {
        height: 25px !important;
        min-height: 25px !important;
    }
}

/* --- RESPONSIVO ULTRA SMALL MOBILE --- */
@media (max-width: 360px) {
    .container { max-width: 100%; margin: 0 auto; padding: 0 5px; }
    .nav-container-main { max-width: 100%; padding: 5px; min-height: 250px; }
    .logo-box { left: -50px; top: 0px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .logo-img { height: 15px !important; min-height: 15px !important; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links { right: -100px; gap: 2px; border-left: 2px solid rgba(255,255,255,0.3); padding-left: 6px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links a { font-size: 0.6rem; padding: 3px 6px; }
    .hero h1 { font-size: 1.2rem; }
    .hero p { font-size: 0.7rem; }
    .games-grid { gap: 10px; }
    .about-big-logo { max-width: 120px; height: 80px; }
    .wrapper-portrait-card { min-height: 250px !important; max-height: 350px !important; }
    
    /* Menu scroll no ultra small mobile */
    .navbar.scrolled .logo-box {
        position: relative;
        left: 0px;
        top: 0;
        transform: none;
    }
    
    .navbar.scrolled .nav-links {
        position: relative;
        left: 15px;
        gap: 4px;
        border-left: none;
        padding-left: 0;
    }
    
    .navbar.scrolled .logo-img {
        height: 20px !important;
        min-height: 20px !important;
    }
}

@media (max-width: 480px) {
    .banner-img {
        mask-image: linear-gradient(to right, 
            rgba(0,0,0,0) 0%, 
            rgba(0,0,0,0.1) 3%, 
            rgba(0,0,0,0.4) 10%, 
            rgba(0,0,0,0.8) 20%, 
            rgba(0,0,0,1) 30%, 
            rgba(0,0,0,1) 70%, 
            rgba(0,0,0,0.8) 80%, 
            rgba(0,0,0,0.4) 90%, 
            rgba(0,0,0,0.1) 95%, 
            rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to right, 
            rgba(0,0,0,0) 0%, 
            rgba(0,0,0,0.1) 3%, 
            rgba(0,0,0,0.4) 10%, 
            rgba(0,0,0,0.8) 20%, 
            rgba(0,0,0,1) 30%, 
            rgba(0,0,0,1) 70%, 
            rgba(0,0,0,0.8) 80%, 
            rgba(0,0,0,0.4) 90%, 
            rgba(0,0,0,0.1) 95%, 
            rgba(0,0,0,0) 100%);
    }
}

.card-vertical {
    max-width: 400px; /* Centraliza o card vertical no grid se necessário */
    margin: 0 auto;
}

.video-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Preenche toda a área vertical */
}

/* Estilos para os botões de cores do logo - Com Efeitos */
.logo-original { background: #666; color: white; font-size: 14px; padding: 8px 12px; }
.logo-blue { background: #1d9bf0; color: white; font-size: 14px; padding: 8px 12px; }
.logo-red { background: #ff416c; color: white; font-size: 14px; padding: 8px 12px; }
.logo-white { background: #f0f0f0; color: #333; font-size: 14px; padding: 8px 12px; }
.logo-silver { background: #c0c0c0; color: #333; font-size: 14px; padding: 8px 12px; }
.logo-gold { background: #D4AF37; color: white; font-size: 14px; padding: 8px 12px; }
.logo-purple { background: #a970ff; color: white; font-size: 14px; padding: 8px 12px; }
.logo-green { background: #10b981; color: white; font-size: 14px; padding: 8px 12px; }
.logo-orange { background: #ff9900; color: white; font-size: 14px; padding: 8px 12px; }
.logo-pink { background: #ff69b4; color: white; font-size: 14px; padding: 8px 12px; }
.logo-cyan { background: #00ced1; color: white; font-size: 14px; padding: 8px 12px; }

.logo-bluegradient { background: linear-gradient(45deg, #1d9bf0, #0d7fcc); color: white; font-size: 14px; padding: 8px 12px; }
.logo-redgradient { background: linear-gradient(45deg, #ff416c, #cc2952); color: white; font-size: 14px; padding: 8px 12px; }
.logo-purplegradient { background: linear-gradient(45deg, #a970ff, #8850cc); color: white; font-size: 14px; padding: 8px 12px; }
.logo-greengradient { background: linear-gradient(45deg, #10b981, #0d7a66); color: white; font-size: 14px; padding: 8px 12px; }
.logo-sunsetgradient { background: linear-gradient(45deg, #ff9900, #ff6b00, #ffcc00); color: white; font-size: 14px; padding: 8px 12px; }
.logo-oceangradient { background: linear-gradient(45deg, #00ced1, #0099cc); color: white; font-size: 14px; padding: 8px 12px; }

.logo-midnight { background: linear-gradient(45deg, #1a1a2e, #16213e); color: white; font-size: 14px; padding: 8px 12px; }
.logo-neon { background: linear-gradient(45deg, #ff00ff, #00ffff); color: white; font-size: 14px; padding: 8px 12px; }
.logo-vintage { background: linear-gradient(45deg, #8b7355, #a0826d); color: white; font-size: 14px; padding: 8px 12px; }
.logo-cold { background: linear-gradient(45deg, #b0e0e6, #87ceeb); color: #333; font-size: 14px; padding: 8px 12px; }
.logo-warm { background: linear-gradient(45deg, #ffa500, #ff8c00); color: white; font-size: 14px; padding: 8px 12px; }
.logo-monochrome { background: linear-gradient(45deg, #333, #666); color: white; font-size: 14px; padding: 8px 12px; }

/* Aumentar fontes dos botões do painel */
#theme-panel button {
    font-size: 14px !important;
    padding: 10px 14px !important;
    min-height: 40px;
}

/* Aumentar labels do painel */
#theme-panel .panel-section label {
    font-size: 16px !important;
    font-weight: bold;
    margin-bottom: 10px;
}