 @import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1B004D;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(27, 0, 77, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

/* Responsividade - centralização e espaçamento */
@media (max-width: 1024px) {
    .menu {
        gap: 12px;
        height: auto;
    }

    .nav-list {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .regras h1 {
        font-size: 56px;
        padding: 24px 16px;
    }

    .regras h2,
    .regras p {
        margin-left: 0;
        padding: 0 16px;
        text-align: center;
    }

    .cartas,
    .peças,
    .mapa {
        padding: 30px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cartas img,
    .peças img {
        max-width: 180px;
    }
}

@media (max-width: 600px) {
    .regras h1 {
        font-size: 42px;
    }

    .regras h2 {
        font-size: 28px;
    }

    .regras p {
        font-size: 18px;
        line-height: 1.4;
    }
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2a0066;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 0, 77, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

 /* Reset e configurações globais */
/* Reset e configurações globais */
html {
    height: 100%;
    overflow: auto;
    position: relative;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

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

body {
    font-family: "Inconsolata", monospace;
    line-height: 1.6;
    min-height: 100%;
    overflow: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #3fe5ff #060911;
    scroll-behavior: smooth;
}

 /* Links */
 a {
     color: #ffff;
     text-decoration: none;
     transition: 0.3s;
 }

 a:hover {
     opacity: 0.7;
 }

 /* Header e Navegação */
 .logo .logo-img {
     width: 150px;
     height: auto;
 }

 .menu {
     display: flex;
     justify-content: space-between;
     padding: 20px;
     align-items: center;
     font-family: "Kdam Thmor Pro", sans-serif;
     background: #1B004D;
     height: 12vh;
     position: relative;
 }

 .nav-list {
     list-style: none;
     display: flex;
     align-items: center;
 }

 .nav-list li {
     letter-spacing: 3px;
     margin-left: 32px;
 }

 .Contato {
     display: inline-block;
     padding: 10px 20px;
     background-color: white;
     color: #1b0049;
     border-radius: 11px;
     font-weight: bold;
     font-size: 16px;
     border: 1px solid transparent;
     transition: background-color 0.3s ease, color 0.3s ease;
 }

 .Contato:hover {
     background-color: #f0f0f0;
     color: #1b0049;
 }

 /* Menu Mobile */
 .mobile-menu {
     display: none;
     cursor: pointer;
     flex-direction: column;
     justify-content: space-around;
     width: 32px;
     height: 32px;
 }

 .mobile-menu div {
     width: 32px;
     height: 2px;
     background: #ffff;
     margin: 2px 0;
     transition: 0.3s;
 }

 .mobile-menu.active .line1 {
     transform: rotate(-45deg) translate(-8px, 8px);
 }

 .mobile-menu.active .line2 {
     opacity: 0;
 }

 .mobile-menu.active .line3 {
     transform: rotate(45deg) translate(-5px, -7px);
 }

 /* Overlay do menu mobile */
 .menu-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 999;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
 }

 .menu-overlay.active {
     opacity: 1;
     visibility: visible;
 }

 /* Seção Regras */
 .regras {
     color: white;
     background: #0B003A;
     font-family: "Inconsolata", monospace;
 }

 .regras h1 {
     font-family: "Lilita One", sans-serif;
     display: flex;
     justify-content: center;
     font-size: 96px;
     padding: 40px;
     text-align: center;
 }

 .regras h2 {
     text-align: left;
     margin: 0 auto;
     max-width: 1200px;
     font-family: "Kdam Thmor Pro", sans-serif;
     font-size: 48px;
     font-weight: 200;
     margin-bottom: 20px;
 }

 .regras h3 {
     font-family: "Kdam Thmor Pro", sans-serif;
     font-size: 32px;
     font-weight: 500;
     margin-bottom: 15px;
     text-align: center;
 }

 .regras p {
     text-align: justify;
     margin: 0 auto;
     font-family: "Inconsolata", monospace;
     font-size: 25px;
     font-weight: 200;
     line-height: 1.5;
     margin-bottom: 20px;
     max-width: 1200px;
 }

 /* Texto de introdução centralizado */
 .intro-text {
     text-align: center !important;
     margin-left: auto !important;
     margin-right: auto !important;
     max-width: 1200px !important;
 }

 /* Estrutura das seções */
 .primeiro,
 .segundo,
 .terceiro,
 .quarto {  
     position: relative;
     margin-bottom: 40px;
     max-width: 1800px;
     margin-left: auto;
     margin-right: auto;
     padding: 0 20px;
 }

 /* Barra vertical para seção 1 - Objetivo do Jogo (texto curto) */
 .segundo::before {
     content: '';
     position: absolute;
     top: 14px;
     left: 196px;
     width: 2px;
     height: 238px;
     background-color: white;
     border-radius: 3px;
 }

 @media (max-width: 999px) {
     .segundo::before {
         display: none;
     }
 }

 /* Imagens e cartas */
 .cartas {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 20px;
     padding: 50px;
     flex-wrap: wrap;
     max-width: 100%;
     overflow-x: auto;
 }

 .mapa {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 20px;
     padding: 50px;
     flex-wrap: wrap;
     max-width: 100%;
     overflow-x: auto;
 }

 .mapa img {
     max-width: 100%;
     height: auto;
     object-fit: contain;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     flex-shrink: 0;
 }

 @media (max-width: 1200px) {
     .mapa {
         padding: 40px;
         gap: 15px;
     }
 }

 @media (max-width: 999px) {
     .mapa {
         padding: 30px 20px;
         gap: 15px;
     }
 }

 @media (max-width: 768px) {
     .mapa {
         padding: 20px 15px;
         gap: 10px;
     }
 }

 @media (max-width: 480px) {
     .mapa {
         padding: 15px 10px;
         gap: 8px;
     }
 }

 .peças,
 .cartas {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 20px;
     padding: 50px;
     flex-wrap: wrap;
     max-width: 100%;
     overflow-x: auto;
 }

 .cartas img {
     width: 280px;
     height: auto;
     object-fit: contain;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     flex-shrink: 0;
 }

 .peças img {
     width: 150px;
     object-fit: contain;
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     flex-shrink: 0;
 }

 .peças img:hover,
 .cartas img:hover,
 .mapa img:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
 }

 /* Seções de fundo */
 .bg-1-2 {
     background: #06001f;
     padding: 40px 0;
 }

 .aba3 {
     background: #0B003A;
     padding: 40px 0;
 }

 .aba4 {
     background: #0B003A;
     padding: 40px 0;
 }

 /* Footer */
 .rodape-final {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     font-family: "Livvic", sans-serif;
     font-weight: 400;
     min-height: 13vh;
     font-size: 26px;
     text-align: center;
     background: #1B004D;
     color: #ffff;
     padding: 20px;
     gap: 20px;
 }

 /* Responsividade */
 @media (max-width: 1200px) {
     .regras div {
         margin: 0 auto;
         padding: 0 20px;
     }

     .peças,
     .cartas {
         gap: 15px;
         padding: 40px;
         min-width: auto;
     }

     .peças img,
     .cartas img {
         width: 220px;
     }

     .btn-cartas {
         width: 80%;
         max-width: 400px;
         font-size: 24px;
     }
 }

 @media (max-width: 999px) {
         .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #1B004D;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }

     .nav-list.active {
         transform: translateX(0);
         opacity: 1;
         visibility: visible;
     }

         .nav-list li {
        margin: 12px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease-in-out;
    }

     .nav-list.active li {
         opacity: 1;
         transform: translateX(0);
     }

         .nav-list li a {
        font-size: 16px;
        padding: 12px 15px;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

     .nav-list li a:hover {
         background-color: rgba(255, 255, 255, 0.1);
     }

     .nav-list li:last-child a {
         border-bottom: none;
     }

     .mobile-menu {
         display: flex;
     }

     .regras h1 {
         font-size: 56px;
         padding: 20px;
     }

     .regras h2 {
         font-size: 28px;
         text-align: left;
         margin-left: 0;
     }

     .regras h3 {
         font-size: 24px;
         text-align: left;
         margin-left: 0;
     }

     .regras p {
         font-size: 18px;
         text-align: justify;
         margin-left: 0;
     }

     .intro-text {
         text-align: center !important;
         margin-left: auto !important;
         margin-right: auto !important;
     }

     .regras div {
         margin: 0 auto;
         padding: 0 20px;
     }

     .primeiro::before,
     .segundo::before,
     .terceiro::before,
     .quarto::before {
         display: none;
     }

     .peças,
     .cartas {
         padding: 30px 20px;
         gap: 15px;
         flex-wrap: wrap;
         justify-content: center;
         min-width: auto;
     }

     .peças img,
     .cartas img {
         width: 180px;
         box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
     }

     .peças img:hover,
     .cartas img:hover {
         transform: none;
         box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
     }

     .ahaha li {
         font-size: 20px;
         margin-left: 0;
         text-align: center;
     }

     .ahaha li::before {
         display: none;
     }

     .rodape-final {
         font-size: 20px;
         padding: 20px;
         height: auto;
         min-height: 13vh;
     }

     .btn-cartas {
         width: 90%;
         max-width: 350px;
         font-size: 20px;
         height: 50px;
     }
 }

 @media (max-width: 768px) {
     .regras div {
         margin: 0 auto;
         padding: 0 15px;
     }

     .peças,
     .cartas {
         gap: 10px;
         padding: 20px 15px;
     }

     .peças img,
     .cartas img {
         width: 150px;
     }

     .btn-cartas {
         width: 95%;
         max-width: 300px;
         font-size: 18px;
         height: 45px;
     }
 }

 @media (max-width: 480px) {
     .regras h1 {
         font-size: 30px;
     }

     .regras h2 {
         font-size: 24px;
         text-align: left;
         margin-left: 0;
     }

     .regras h3 {
         font-size: 20px;
         text-align: left;
         margin-left: 0;
     }

     .regras p {
        text-align: justify;
        font-size: 16px;
        margin-left: 0;
     }

     .intro-text {
         text-align: center !important;
         margin-left: auto !important;
         margin-right: auto !important;
         font-size: 16px !important;
     }

     .peças,
     .cartas {
         gap: 8px;
         padding: 15px 10px;
     }

     .peças img,
     .cartas img {
         width: 120px;
         box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
     }

     .ahaha li {
         font-size: 18px;
     }

     .rodape-final {
         font-size: 16px;
     }

     .btn-cartas {
         width: 95%;
         max-width: 280px;
         font-size: 16px;
         height: 40px;
     }
 }


 .btn-cartas {
     text-align: center;
     width: 497px;
     height: 41px;
     border: none;
     border-radius: 20px;
     color: white;
     background-color: #004C75;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto;
     font-family: "Lilita One", sans-serif;
     font-size: 31px;
     font-weight: 400;
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .btn-cartas:hover {
     background-color: #005a8a;
     transform: translateY(-2px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 .btn-cartas a {
     width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     text-decoration: none;
     color: inherit;
 }

 /* Melhorias adicionais para responsividade */
 @media (max-width: 999px) {
     .regras h1 {
         font-size: 48px;
         padding: 30px 20px;
     }

     .regras h2 {
         font-size: 28px;
         margin-bottom: 15px;
     }

     .regras p {
         font-size: 16px;
         line-height: 1.4;
     }

     .bg-1-2 {
         padding: 30px 0;
     }
 }

 @media (max-width: 768px) {
     .regras h1 {
         font-size: 48px;
         padding: 20px 15px;
     }

     .regras h2 {
         font-size: 28px;
     }

     .regras p {
         font-size: 16px;
     }

     .bg-1-2 {
         padding: 20px 0;
     }
 }

 @media (max-width: 480px) {
     .regras h1 {
         font-size: 50px;
     }

     .regras h2 {
         font-size: 28px;
     }

     .regras h3 {
         font-size: 24px;
     }

     .regras p {
         font-size: 18px;
     }

     .peças,
     .cartas {
         gap: 8px;
         padding: 15px 10px;
     }

     .peças img,
     .cartas img {
         width: 120px;
         box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
     }

     .ahaha li {
         font-size: 18px;
     }

     .rodape-final {
         font-size: 16px;
     }

     .btn-cartas {
         width: 95%;
         max-width: 280px;
         font-size: 16px;
         height: 40px;
     }
 }

 /* Escala para notebooks – aproxima experiência de zoom 67% */
 @media (min-width: 1000px) and (max-width: 1600px) {
     body {
         zoom: 0.67;
     }
 }

 /* Fallback para navegadores sem suporte a zoom (ex.: Firefox) */
 @supports not (zoom: 1) {
     @media (min-width: 1000px) and (max-width: 1600px) {
         body {
             transform: scale(0.67);
             transform-origin: top left;
             width: 100vw;
             max-width: 149.2537313433vw;
             /* 1 / 0.67 */
         }
     }
 }

/* Otimizações específicas para telas ultrawide (2340 x 1080) */
@media (min-width: 2000px) and (max-width: 2500px) {
    body {
        font-size: 18px;
        line-height: 1.7;
    }
    
    /* Header otimizado para telas ultrawide */
    .menu {
        height: 10vh;
        padding: 15px 40px;
    }
    
    .logo .logo-img {
        width: 180px;
    }
    
    .nav-list li {
        margin: 0 0 0 50px;
        font-size: 20px;
        letter-spacing: 5px;
    }
    
    .Contato {
        padding: 12px 24px;
        font-size: 18px;
        border-radius: 12px;
    }
    
    /* Seção Materiais para Estudo otimizada */
    .regras h1 {
        font-size: 120px;
        padding: 50px;
        margin-bottom: 20px;
    }
    
    .regras h2 {
        font-size: 56px;
        margin-bottom: 25px;
        text-align: left;
        margin-left: 300px;
    }
    
    .regras h3 {
        font-size: 38px;
        margin-bottom: 20px;
        text-align: left;
        margin-left: 300px;
    }
    
    .regras p {
        font-size: 28px;
        line-height: 1.6;
        margin-bottom: 25px;
        max-width: 1600px;
        text-align: justify;
        margin-left: 300px;
    }

    .intro-text {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 28px !important;
    }
    
    .regras div {
        margin: 0 auto 50px;
        max-width: 1800px;
        padding: 0 40px;
    }
    
    /* Seções de módulos otimizadas */
    .peças,
    .cartas {
        gap: 30px;
        padding: 80px;
        max-width: 2000px;
        margin: 0 auto;
    }
    
    .peças img,
    .cartas img {
        width: 200px;
    }
    
    /* Melhor espaçamento para hover */
    .peças img:hover,
    .cartas img:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    }
    
    /* Rodapé otimizado */
    .rodape-final {
        font-size: 30px;
        padding: 30px;
        min-height: 15vh;
    }
    
    /* Seções de fundo otimizadas */
    .bg-1-2 {
        padding: 60px 0;
    }
    
    /* Botão otimizado */
    .btn-cartas {
        width: 500px;
        height: 60px;
        font-size: 28px;
        border-radius: 30px;
    }
}

/* Otimizações para telas muito grandes (acima de 2500px) */
@media (min-width: 2500px) {
    body {
        font-size: 20px;
        line-height: 1.8;
    }
    
    /* Header para telas muito grandes */
    .menu {
        height: 8vh;
        padding: 20px 60px;
    }
    
    .logo .logo-img {
        width: 200px;
    }
    
    .nav-list li {
        margin: 0 0 0 50px;
        font-size: 20px;
        letter-spacing: 5px;
    }
    
    .Contato {
        padding: 15px 30px;
        font-size: 20px;
        border-radius: 15px;
    }
    
    /* Seção Materiais para Estudo para telas muito grandes */
    .regras h1 {
        font-size: 140px;
        padding: 60px;
        margin-bottom: 30px;
    }
    
    .regras h2 {
        font-size: 64px;
        margin-bottom: 30px;
        text-align: left;
        margin-left: 400px;
    }
    
    .regras h3 {
        font-size: 42px;
        margin-bottom: 25px;
        text-align: left;
        margin-left: 400px;
    }
    
    .regras p {
        font-size: 32px;
        line-height: 1.7;
        margin-bottom: 30px;
        max-width: 2000px;
        text-align: justify;
        margin-left: 400px;
    }

    .intro-text {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 32px !important;
    }
    
    .regras div {
        margin: 0 auto 60px;
        max-width: 2200px;
        padding: 0 60px;
    }
    
    /* Seções de módulos para telas muito grandes */
    .peças,
    .cartas {
        gap: 40px;
        padding: 100px;
        max-width: 2500px;
        margin: 0 auto;
    }
    
    .peças img,
    .cartas img {
        width: 250px;
    }
    
    /* Efeitos hover aprimorados */
    .peças img:hover,
    .cartas img:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    }
    
    /* Rodapé para telas muito grandes */
    .rodape-final {
        font-size: 36px;
        padding: 40px;
        min-height: 18vh;
    }
    
    /* Seções de fundo para telas muito grandes */
    .bg-1-2 {
        padding: 80px 0;
    }
    
    /* Botão para telas muito grandes */
    .btn-cartas {
        width: 600px;
        height: 70px;
        font-size: 32px;
        border-radius: 35px;
    }
}

/* Regras específicas para telas pequenas (≤480px) */
@media (max-width: 480px) {
    /* Otimizações específicas para o menu mobile em telas pequenas */
    .nav-list {
        justify-content: flex-start;
        padding-top: 80px;
        height: 100vh;
        overflow-y: auto;
    }

    .nav-list li {
        margin: 8px 0;
    }

    .nav-list li a {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* Regras específicas para telas muito pequenas (320px x 560px) */
@media (max-width: 360px) {
    .nav-list {
        padding-top: 60px;
        justify-content: flex-start;
    }

    .nav-list li {
        margin: 6px 0;
    }

    .nav-list li a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .mobile-menu {
        width: 24px;
        height: 24px;
    }

    .mobile-menu div {
        width: 24px;
        height: 2px;
    }

    .menu {
        height: 10vh;
        padding: 10px 15px;
    }

    .logo .logo-img {
        width: 100px;
    }
}

/* Regras específicas para telas com altura limitada */
@media (max-height: 600px) {
    .nav-list {
        justify-content: flex-start;
    }

    .nav-list li {
        margin: 4px 0;
    }

    .nav-list li a {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Regras específicas para dispositivos com tela muito pequena e altura limitada */
@media (max-width: 360px) and (max-height: 600px) {
    .nav-list {
        padding-top: 30px;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .nav-list li a {
        font-size: 15px;
        padding: 6px 10px;
    }
}

/* ===== MEDIA QUERIES ESPECÍFICAS PARA IPHONE 6/7/8 PLUS ===== */
/* iPhone 6/7/8 Plus: 414px × 736px */
@media only screen and (min-width: 414px) and (max-width: 414px) and (min-height: 736px) and (max-height: 736px) {
    /* Otimizações para o header no iPhone Plus */
    .menu {
        height: 11vh;
        padding: 15px 25px;
    }
    
    .logo .logo-img {
        width: 130px;
    }
    
    /* Navegação mobile otimizada para iPhone Plus */
    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #1B004D;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 90px;
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }
    
    .nav-list.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s ease-in-out;
    }
    
    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-list li a {
        font-size: 18px;
        padding: 15px 20px;
        border-radius: 8px;
        margin: 0 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-list li a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
    
    .nav-list li:last-child a {
        border-bottom: none;
    }
    
    /* Menu mobile otimizado */
    .mobile-menu {
        display: flex;
        width: 30px;
        height: 30px;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-around;
        z-index: 1000;
    }
    
    .mobile-menu div {
        width: 30px;
        height: 3px;
        background: #ffff;
        margin: 2px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .mobile-menu.active .line1 {
        transform: rotate(-45deg) translate(-8px, 8px);
    }
    
    .mobile-menu.active .line2 {
        opacity: 0;
    }
    
    .mobile-menu.active .line3 {
        transform: rotate(45deg) translate(-5px, -7px);
    }
    
    /* Seção inicial otimizada para iPhone Plus */
    .Inicio {
        background: url(Images/Bg.png) no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 70px;
    }
    
    .main-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
        max-width: 380px;
        width: 100%;
        padding: 25px 20px;
        margin: 0 auto;
        min-height: 45vh;
        margin-top: -250px;
    }
    
    .titulo {
        font-size: 22px;
        font-family: "Lilita One", sans-serif;
        line-height: 1.4;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 15px;
    }
    
    .barra-com-textomenor {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .barra {
        width: 280px;
        height: 4px;
        background-color: white;
        border-radius: 3px;
    }
    
    .textomenor {
        font-size: 14px;
        font-family: "Inconsolata", monospace;
        font-style: italic;
        color: #ffff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        opacity: 0.9;
        margin-top: 15px;
    }
    
    /* Seção explicação do jogo otimizada */
    .explicacao-jogo {
        background: #06001f;
        padding: 50px 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        min-height: auto;
        flex-direction: column;
    }
    
    .imagem1 {
        display: none;
    }
    
    .logo-imagem .imagem-logo {
        width: 280px;
        margin: 0 auto 20px;
        bottom: 0;
        display: block;
        filter: none;
    }
    
    .texto-logo p {
        font-size: 20px;
        bottom: 0;
        text-align: center;
        max-width: 100%;
        line-height: 1.6;
        margin-top: 20px;
        color: #ffff;
    }
    
    /* Seção objetivos otimizada */
    .objetivos {
        color: white;
        background: #0B003A;
        font-family: "Inconsolata", monospace;
        padding: 50px 0;
    }
    
    .objetivos h2 {
        font-family: "Lilita One", sans-serif;
        display: flex;
        justify-content: center;
        font-size: 42px;
        padding: 25px 20px;
        text-align: center;
        line-height: 1.2;
    }
    
    .objetivos div {
        margin: 0 25px 35px;
        text-align: center;
    }
    
    .objetivos h3 {
        font-family: "Kdam Thmor Pro", sans-serif;
        font-size: 24px;
        font-weight: 200;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .objetivos p {
        font-family: "Inconsolata", monospace;
        font-size: 18px;
        font-weight: 200;
        line-height: 1.5;
        max-width: 100%;
        text-align: justify;
    }
    
    .barra-vertical {
        display: none;
    }
    
    .rodape blockquote {
        padding: 25px 20px;
        display: flex;
        justify-content: center;
        font-size: 20px;
        font-family: "Livvic", sans-serif;
        font-weight: 200;
        font-style: italic;
        text-align: center;
        line-height: 1.4;
    }
    
    /* Seção FAQ otimizada */
    .faq {
        background: #06001f;
        color: white;
        font-family: "Inconsolata", monospace;
        padding: 50px 0;
    }
    
    .faq h2 {
        font-family: "Lilita One", sans-serif;
        display: flex;
        justify-content: center;
        font-size: 42px;
        padding: 25px 20px;
        text-align: center;
        line-height: 1.2;
    }
    
    .faq div {
        margin: 0 25px 35px;
        text-align: center;
    }
    
    .faq h3 {
        font-family: "Kdam Thmor Pro", sans-serif;
        font-weight: 200;
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .faq p {
        font-family: "Inconsolata", monospace;
        font-size: 18px;
        font-weight: 200;
        max-width: 100%;
        line-height: 1.5;
        text-align: justify;
        margin: 0;
    }
    
    .barra-lateral {
        width: 80%;
        margin: 25px auto 0;
        height: 4px;
        background-color: white;
        border-radius: 3px;
        position: relative;
        left: 0;
        right: 0;
    }
    
    /* Rodapé otimizado */
    .rodape-final {
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Livvic", sans-serif;
        font-weight: 400;
        min-height: 12vh;
        font-size: 18px;
        text-align: center;
        background: #1B004D;
        color: #ffff;
        padding: 25px 20px;
        line-height: 1.4;
    }
    
    /* Botão voltar ao topo otimizado */
    .back-to-top {
        position: fixed;
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
        background: #1B004D;
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        box-shadow: 0 4px 12px rgba(27, 0, 77, 0.3);
        transition: all 0.3s ease;
        z-index: 1000;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .back-to-top.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .back-to-top:hover {
        background: #2a0066;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(27, 0, 77, 0.4);
    }
    
    .back-to-top:active {
        transform: translateY(0);
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }
    
    /* Melhorias de acessibilidade para iPhone Plus */
    .nav-list li a:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }
    
    /* Otimizações de performance para iPhone Plus */
    .Inicio {
        background-attachment: scroll;
    }
    
    /* Ajustes de espaçamento para melhor usabilidade */
    .nav-list li:not(:last-child) {
        margin-bottom: 20px;
    }
    
    /* Melhor contraste para elementos interativos */
    .Contato {
        background-color: #ffffff;
        color: #1b0049;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .Contato:hover {
        background-color: #f8f8f8;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Overlay para o menu mobile */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== MEDIA QUERIES PARA IPHONE 6/7/8 PLUS EM ORIENTAÇÃO LANDSCAPE ===== */
@media only screen and (min-width: 736px) and (max-width: 736px) and (min-height: 414px) and (max-height: 414px) {
    /* Header otimizado para landscape */
    .menu {
        height: 8vh;
        padding: 10px 20px;
    }
    
    .logo .logo-img {
        width: 100px;
    }
    
    /* Navegação landscape */
    .nav-list {
        padding-top: 70px;
        justify-content: flex-start;
    }
    
    .nav-list li {
        margin: 8px 0;
    }
    
    .nav-list li a {
        font-size: 16px;
        padding: 12px 15px;
        margin: 0 15px;
    }
    
    /* Seção inicial landscape */
    .Inicio {
        padding-top: 50px;
        min-height: 100vh;
    }
    
    .main-text {
        padding: 20px 15px;
        min-height: 40vh;
        max-width: 600px;
        margin-top: -200px;
    }
    
    .titulo {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .textomenor {
        font-size: 13px;
        margin-top: 10px;
    }
    
    .barra {
        width: 250px;
    }
    
    /* Seção explicação landscape */
    .explicacao-jogo {
        padding: 40px 20px;
        gap: 25px;
    }
    
    .logo-imagem .imagem-logo {
        width: 200px;
        margin: 0 auto 15px;
    }
    
    .texto-logo p {
        font-size: 18px;
        text-align: center;
        margin-top: 15px;
    }
    
    /* Seção objetivos landscape */
    .objetivos h2 {
        font-size: 36px;
        padding: 20px 15px;
    }
    
    .objetivos div {
        margin: 0 20px 25px;
    }
    
    .objetivos h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .objetivos p {
        font-size: 16px;
    }
    
    /* Seção FAQ landscape */
    .faq h2 {
        font-size: 36px;
        padding: 20px 15px;
    }
    
    .faq div {
        margin: 0 20px 25px;
    }
    
    .faq h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .faq p {
        font-size: 16px;
    }
    
    .barra-lateral {
        width: 70%;
        margin: 20px auto 0;
    }
    
    /* Rodapé landscape */
    .rodape-final {
        font-size: 16px;
        padding: 20px 15px;
        min-height: 10vh;
    }
    
    /* Botão voltar ao topo landscape */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ===== MEDIA QUERIES PARA IPHONE 6/7/8 PLUS COM DENSIDADE DE PIXEL ALTA ===== */
@media only screen and (min-width: 414px) and (max-width: 414px) and (min-height: 736px) and (max-height: 736px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Otimizações para telas Retina */
    .logo .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .imagem1 .aimagem,
    .logo-imagem .imagem-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Melhor renderização de fontes para telas Retina */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Ajustes de sombra para telas Retina */
    .back-to-top {
        box-shadow: 0 2px 8px rgba(27, 0, 77, 0.4);
    }
    
    .Contato {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }
}

/* ===== MEDIA QUERIES PARA IPHONE 6/7/8 PLUS COM SUPORTE A SAFARI ===== */
@supports (-webkit-touch-callout: none) {
    @media only screen and (min-width: 414px) and (max-width: 414px) and (min-height: 736px) and (max-height: 736px) {
        /* Otimizações específicas para Safari no iOS */
        .Inicio {
            background-attachment: scroll;
            -webkit-background-size: cover;
            background-size: cover;
        }
        
        /* Melhor suporte para viewport do Safari */
        .main-text {
            padding: 25px 20px;
            min-height: 45vh;
            max-width: 380px;
            margin-top: -250px;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        /* Otimizações de scroll para Safari */
        .nav-list {
            -webkit-overflow-scrolling: touch;
        }
        
        /* Melhor suporte para elementos fixos no Safari */
        .back-to-top {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }
    }
}

/* ===== Scroll suave e barra personalizada ===== */
/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #060911;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.45);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3fe5ff 0%, #6f45ff 100%);
    border: 2px solid #060911;
    border-radius: 12px;
    box-shadow:
        0 0 10px rgba(63, 229, 255, 0.35),
        0 0 18px rgba(111, 69, 255, 0.28);
    transition: background 200ms ease, box-shadow 200ms ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5df0ff 0%, #8a62ff 100%);
    box-shadow:
        0 0 14px rgba(93, 240, 255, 0.45),
        0 0 22px rgba(138, 98, 255, 0.35);
}