/* Reset basico e fonte padrao do projeto */
* {
    box-sizing: border-box;
    font-family: 'Franklin Gothic', sans-serif;
}

/* Variaveis de tema conectadas com Bootstrap */
:root {
    --bs-body-bg: #0F0F12;
    --bs-body-color: #F4F4F5;
    --bs-primary: #E11D48;
    --bs-primary-rgb: 225, 29, 72;
    --bs-secondary-color: #F3466C;
    --bs-border-color: #2F2F37;
    --layout-max-width: 1300px;
    --layout-max-width-wide: 1600px;
    --layout-max-width-ultra: 1780px;
}

/* Fundo e cor global de texto */
body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="blur"><feGaussianBlur stdDeviation="1.5"/></filter></defs><circle cx="20" cy="20" r="10" fill="%23E11D48" opacity="0.4" filter="url(%23glow)"/><circle cx="20" cy="20" r="7" fill="%23F3466C" opacity="0.7" filter="url(%23blur)"/><circle cx="20" cy="20" r="4" fill="%23FFB6C1" opacity="0.9"/><circle cx="20" cy="20" r="2" fill="%23FFFFFF" opacity="1"/><circle cx="20" cy="20" r="12" fill="none" stroke="%23E11D48" stroke-width="0.5" opacity="0.4"/></svg>') 20 20, auto;
}

/* Link de pulo para acessibilidade: fica visivel apenas ao navegar via teclado */
.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 8px;
    background: #E11D48;
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 12px;
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* Scrollbar customizada (pagina inteira) */
* {
    scrollbar-width: thin;
    scrollbar-color: #E11D48 #13141D;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #13141D;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E11D48, #B51239);
    border-radius: 999px;
    border: 2px solid #13141D;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #F3466C, #CB1845);
}

/* Efeito de hover glow em elementos interativos com animação */
button,
a,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"] {
    position: relative;
    transition: all 0.3s ease;
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(225, 29, 72, 0.4)) drop-shadow(0 0 12px rgba(243, 70, 108, 0.2));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.8)) drop-shadow(0 0 20px rgba(243, 70, 108, 0.5));
        transform: scale(1.03);
    }
}

@keyframes glow-pulse-static {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(225, 29, 72, 0.4)) drop-shadow(0 0 12px rgba(243, 70, 108, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.8)) drop-shadow(0 0 20px rgba(243, 70, 108, 0.5));
    }
}

button:hover,
a:hover,
[role="button"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    animation: glow-pulse 1.5s ease-in-out infinite;
}

/* Mantem o posicionamento fixo das setas do carrossel no hover */
.leftArrow__button:hover,
.rightArrow__button:hover {
    animation: glow-pulse-static 1.5s ease-in-out infinite;
    transform: translateY(-50%);
}

/* Efeitos especiais para botões CTA principais */
.button,
.project__button,
.contact__button,
.contact__submit {
    position: relative;
    overflow: hidden;
}

.button::before,
.project__button::before,
.contact__button::before,
.contact__submit::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    background: transparent;
    box-shadow: 0 0 0px rgba(225, 29, 72, 0.3);
}

.button:hover::before,
.project__button:hover::before,
.contact__button:hover::before,
.contact__submit:hover::before {
    opacity: 1;
    animation: glow-pulse-shadow 1.5s ease-in-out infinite;
}

@keyframes glow-pulse-shadow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(225, 29, 72, 0.4), 0 0 30px rgba(243, 70, 108, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(225, 29, 72, 0.6), 0 0 50px rgba(243, 70, 108, 0.3);
    }
}

/* Efeito especial nos cards de projeto */
.game__item {
    transition: all 0.3s ease;
}

.game__item:hover {
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.4), 0 0 40px rgba(243, 70, 108, 0.2), inset 0 0 20px rgba(225, 29, 72, 0.1);
    animation: card-glow 2s ease-in-out infinite;
}

@keyframes card-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(225, 29, 72, 0.4), 0 0 40px rgba(243, 70, 108, 0.2), inset 0 0 20px rgba(225, 29, 72, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(225, 29, 72, 0.6), 0 0 60px rgba(243, 70, 108, 0.4), inset 0 0 30px rgba(225, 29, 72, 0.15);
    }
}

/* ===== Navbar (desktop) ===== */
.navbar {
    padding: 10px 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Container interno da navbar */
.navbar__container {
    height: 72px;
    width: 100%;
    border: 3px solid var(--bs-border-color);
    border-radius: 18px;
    background-color: #18181C;
}

.navbar__container,
.main__container,
.project__container,
.toolsHireRow,
.tools__container,
.hire__container,
.about__container,
.skills__container,
.contact__container,
.site-footer__container {
    max-width: var(--layout-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Logo principal */
#navbar__logo {
    background-color: var(--bs-primary);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-size: 2rem;
}

/* Lista de links centralizada */
.navbar__menu {
    display: flex;
    flex: 1;
    margin-left: clamp(14px, 5vw, 100px);
}

/* Item individual da lista da navbar */
.navbar__item {
    display: flex;
}

.navbar__langPicker {
    position: relative;
}

/* Link de navegacao */
.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0 20px;
    height: 48px;
    position: relative;
}

.navbar__langToggle {
    border: 1px solid #2F2F37;
    border-radius: 10px;
    background: #1A1A1F;
    height: 38px;
    justify-content: space-between;
    gap: 8px;
    margin: 5px 0;
    padding: 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.navbar__langToggle::after {
    display: none;
}

.navbar__langToggle:hover {
    background: #272736;
}

.navbar__langCurrentContent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar__flag {
    width: 20px;
    height: 14px;
    border-radius: 3px;
    object-fit: cover;
    border: 1px solid #2F2F37;
    flex-shrink: 0;
}

.navbar__langChevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid #F4F4F5;
    border-bottom: 2px solid #F4F4F5;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.navbar__langPicker.is-open .navbar__langChevron {
    transform: rotate(-135deg) translateY(-1px);
}

.navbar__langMenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 152px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #2F2F37;
    background: #1A1A1F;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}

.navbar__langPicker.is-open .navbar__langMenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar__langOption {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    background: transparent;
    color: #F4F4F5;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
}

.navbar__langOption:hover {
    background: #272736;
}

.navbar__langOption--active {
    background: rgba(243, 70, 108, 0.2);
    color: #F78AA4;
}

/* Linha animada abaixo dos links */
.navbar__links::after {
    bottom: 8px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    background: var(--bs-secondary-color);
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

/* Hover da linha somente para dispositivos com hover real */
@media (hover: hover) and (pointer: fine) {
    .navbar__links:hover::after {
        width: 80%;
        left: 10%;
    }
}

/* Wrapper do botao de curriculo */
.navbar__btn {
    display: flex;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar__themeControl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navbar__themeToggle {
    position: relative;
    width: 58px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #1B1F2D;
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.navbar__themeToggle:hover {
    background: #242A3D;
}

.navbar__themeIcon {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar__themeIcon svg {
    width: 100%;
    height: 100%;
}

.navbar__themeThumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #E8EAEE;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.navbar__themeToggle.is-light {
    background: #2A3147;
}

.navbar__themeToggle.is-light .navbar__themeThumb {
    transform: translateX(28px);
}

/* Ajustes do desktop para manter links no centro e CTA na direita */
@media screen and (min-width: 992px) {
    .navbar__menu {
        position: relative;
    }

    .navbar__btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Ajuste intermediário para viewport entre 992px e 1200px */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    .navbar__menu {
        margin-left: clamp(14px, 3vw, 60px);
    }

    .navbar__links {
        padding: 0 14px;
        font-size: 1rem;
    }

    .navbar__themeControl {
        gap: 6px;
    }

    .navbar__themeIcon {
        width: 14px;
        height: 14px;
    }
}

/* Botao hamburguer (oculto no desktop) */
.navbar__toggle {
    background: transparent;
    border: 0;
    padding: 0;
}

.navbar__toggle:hover {
    animation: none;
}

/* Barras do hamburguer */
.bar {
    background: #fff;
    transition: all 0.3s ease-in-out;
}


/* Estilo do botao CTA da navbar */
.button {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0 22px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--bs-primary);
    color: #fff;
}

.button:hover {
    background: var(--bs-secondary-color);
    transition: all 0.3s ease;
}

/* ===== Navbar (mobile) ===== */
@media screen and (max-width: 991.98px) {

    /* Painel do menu mobile recolhido por padrao */
    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        align-content: start;
        margin: 0;
        padding: 1rem 0 2rem;
        width: 100%;
        position: absolute;
        top: -1000px;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
        background: #18181C;
    }

    /* Estado aberto do menu mobile */
    .navbar__menu.active {
        background: #18181C;
        top: calc(100% + 8px);
        opacity: 1;
        visibility: visible;
        transition: all 0.5s ease;
        font-size: 1.6rem;
        border-radius: 16px;
        overflow: hidden;
    }

    /* Icone hamburguer em mobile */
    .navbar__toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 32px;
        height: 24px;
    }

    .navbar__toggle .bar {
        width: 26px;
        height: 3px;
        border-radius: 999px;
    }


    .navbar__links {
        text-align: center;
        padding: 1rem 2rem;
        width: 100%;
        display: table;
    }

    .navbar__langPicker {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .navbar__langToggle {
        width: 80%;
        max-width: 250px;
        height: 44px;
        margin: 2px auto;
        border-radius: 10px;
        padding: 0 14px;
    }

    .navbar__langToggle span[data-lang-current] {
        text-align: left;
    }

    .navbar__langCurrentContent {
        flex: 1;
        justify-content: center;
    }

    .navbar__langChevron {
        display: none;
    }

    .navbar__langMenu {
        position: absolute;
        top: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        width: 80%;
        max-width: 250px;
        min-width: 0;
        margin: 0;
        border: 1px solid #2F2F37;
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: none;
        padding: 4px;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 30;
    }

    .navbar__langPicker.is-open .navbar__langMenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .navbar__langOption {
        justify-content: flex-start;
        border-radius: 8px;
        padding: 10px 12px;
    }

    #mobile-menu {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
    }

    #mobile-menu:hover,
    #mobile-menu:focus-visible {
        transform: translateY(-50%);
    }

    .button {
        justify-content: center;
        width: 80%;
        height: 56px;
        margin: 0 auto;
    }

    .navbar__actions {
        width: 100%;
        display: grid;
        justify-items: center;
        gap: 10px;
        padding-top: 0.6rem;
    }

    .navbar__themeControl {
        width: 80%;
        max-width: 250px;
        justify-content: center;
    }

    .navbar__themeToggle {
        width: 64px;
        height: 34px;
        border-radius: 999px;
    }

    .navbar__themeThumb {
        top: 2px;
        left: 2px;
        width: 30px;
        height: 30px;
    }

    .navbar__themeToggle.is-light .navbar__themeThumb {
        transform: translateX(30px);
    }

    .navbar__themeIcon {
        width: 16px;
        height: 16px;
    }

    /* Estado do X animado quando menu esta ativo */
    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* ===== Hero section ===== */
.main {
    background-color: #0F0F12;
}

/* Linha divisoria da secao hero */
.main__hr {
    border-top: 3px solid #E11D48;
    opacity: 1;
    margin: clamp(52px, 8vw, 100px) 0;
}

/* Grid principal da hero (texto + imagem) */
.main__container {
    margin-top: clamp(20px, 4vw, 40px);
    padding: clamp(12px, 2vw, 22px);
    border-radius: 12px;
    border: 3px solid var(--bs-border-color);
}

/* Coluna de texto da hero */
.main__content {
    margin-left: 0;
    padding-left: clamp(12px, 2.8vw, 48px);
}

/* Nome principal */
.main__content h1 {
    font-size: clamp(2.2rem, 6vw, 5rem);
    -webkit-text-fill-color: #F4F4F5;
}

/* Subtitulo principal */
.main__content h2 {
    font-size: clamp(1.25rem, 3.2vw, 2.4rem);
    -webkit-text-fill-color: #F4F4F5;
}

[data-typewriter-role] {
    display: inline-flex;
    align-items: center;
    min-height: 1.2em;
}

[data-typewriter-role]::after {
    content: "|";
    color: #F4F4F5;
    animation: typewriter-caret-blink 0.9s steps(1, end) infinite;
}

@keyframes typewriter-caret-blink {
    0%,
    45% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

/* Cor de destaque no sobrenome */
.destaque {
    color: var(--bs-primary);
    -webkit-text-fill-color: var(--bs-primary);
}

/* Botao primario da hero */
.project__button {
    font-size: 1.6rem;
    height: 50px;
    width: 160px;
    margin-top: 5px;
    margin-left: 0;
    border: none;
    border-radius: 12px;
    background-color: var(--bs-primary);
    color: #fff;
}

.project__button:hover {
    background: var(--bs-secondary-color);
    transition: all 0.3s ease;
}

/* Botao secundario da hero */
.contact__button {
    font-size: 1.6rem;
    height: 50px;
    width: 160px;
    margin-top: 5px;
    margin-left: 0;
    border: none;
    border-radius: 12px;
    background-color: #1F1F24;
    color: #F4F4F5;
    outline-style: solid;
    outline-color: #2F2F37;
}

.contact__button:hover {
    transition: all 0.3s ease;
}

/* Coluna da imagem da hero */
.main__imgContainer {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 30px;
}

@media screen and (min-width: 992px) {
    .main__imgContainer {
        justify-content: flex-start;
        margin-bottom: 0;
    }
}

#main__img {
    width: min(100%, 400px);
    height: auto;
}

.project__container {
    /* Container da secao de projetos */
    position: relative;
    max-width: 1300px;
    padding: 28px 40px 36px;
    border-radius: 12px;
    outline-style: solid;
    outline-color: #2F2F37;
}

.project__content h2 {
    /* Titulo Projetos */
    font-size: 2.3rem;
    -webkit-text-fill-color: #F4F4F5;
}

.project__tabs {
    position: relative;
    z-index: 3;
}

.project__hr {
    /* Linha de destaque da secao Projetos */
    border-top: 3px solid #E11D48;
    opacity: 1;
    margin-left: 0;
    margin-top: 4px;
    max-width: 135px;
}

.jogos__button {
    font-size: 1.8rem;
    height: 50px;
    width: 150px;
    border: 2px solid var(--bs-border-color);
    border-radius: 12px;
    background-color: #1F1F24;
    color: #fff;
}

.arte__button {
    text-decoration: none;
    font-size: 1.8rem;
    height: 50px;
    width: 150px;
    border: 2px solid var(--bs-border-color);
    border-radius: 12px;
    background-color: #1F1F24;
    color: #fff;
}

.jogos__button,
.arte__button {
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.project-tab--active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.game__container {
    /* Trilho horizontal do carrossel multi-itens */
    position: relative;
    z-index: 1;
    margin-top: 26px;
    min-height: 320px;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 12px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.project__dots {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.project__dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: #3A3D4E;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.project__dot:hover {
    transform: scale(1.1);
    background: #6F738C;
}

.project__dot--active {
    background: #E11D48;
    transform: scale(1.15);
}

.game__viewport {
    /* Camada de mascara com degrade nas laterais */
    position: absolute;
    left: 0;
    right: 0;
    top: 138px;
    bottom: 24px;
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

.game__viewport::before,
.game__viewport::after {
    /* Faixas de fade para recorte visual dos lados */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(18px, 8vw, 140px);
}

.game__viewport::before {
    left: 0;
    background: linear-gradient(to right, #0F0F12 12%, rgba(15, 15, 18, 0.78) 52%, rgba(15, 15, 18, 0));
}

.game__viewport::after {
    right: 0;
    background: linear-gradient(to left, #0F0F12 12%, rgba(15, 15, 18, 0.78) 52%, rgba(15, 15, 18, 0));
}

.game__container::-webkit-scrollbar {
    /* Esconde scrollbar no WebKit */
    display: none;
}

.game__item {
    /* Card individual do projeto (mantido separado) */
    width: clamp(260px, 52vw, 560px);
    min-width: clamp(260px, 52vw, 560px);
    border-radius: 14px;
    border: 1px solid #2F2F37;
    background-color: #1A1A1F;
    padding: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.game__item:hover {
    /* Feedback visual ao passar o mouse */
    transform: translateY(-4px);
    border-color: #F3466C;
}

.game__image {
    /* Thumb do projeto */
    width: 100%;
    height: clamp(130px, 15vw, 230px);
    object-fit: cover;
    border-radius: 10px;
    background: #101014;
}

/* Imagem diminuída só para o projeto 1 */
.game__item[data-project="1"] .game__image {
    width: auto;
    max-width: 100%;
    height: clamp(130px, 15vw, 230px);
    display: block;
    margin: 0 auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
}

.game__imageWrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #101014;
}

.game__placeholder {
    width: 100%;
    height: clamp(130px, 15vw, 230px);
    border-radius: 10px;
    background: #1F1F24;
}

.game__item--coming-soon .game__imageWrap {
    background: transparent;
    border: 1px solid #2F2F37;
}

.coming-soon-ribbon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    transform: translate(-50%, -50%) rotate(-38deg);
    text-align: center;
    background: #E11D48;
    color: #F4F4F5;
    border-top: 1px solid rgba(244, 244, 245, 0.2);
    border-bottom: 1px solid rgba(244, 244, 245, 0.2);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.45rem 0;
    text-transform: uppercase;
}

.coming-soon-ribbon::after {
    content: attr(data-label);
}

.game__title {
    /* Titulo do card */
    margin-top: 10px;
    font-size: 1.05rem;
    color: #F4F4F5;
    font-weight: 700;
}

.game__subtitle {
    /* Subtítulo em inglês (fixo, não muda com idioma) */
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #A0A0A5;
    font-weight: 400;
}

#main__leftarrow {
    /* Icone da seta esquerda */
    width: 22px;
    transform: rotateY(180deg);
    filter: invert(100%);
}


.leftArrow__button {
    /* Botao circular da navegacao esquerda */
    position: absolute;
    top: 50%;
    left: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0;
    height: 50px;
    width: 50px;
    border: 2px solid var(--bs-border-color);
    border-radius: 25px;
    background-color: #1A1A1F;
    color: #fff;
    transform: translateY(-50%);
    z-index: 5;
}


#main__rightarrow {
    /* Icone da seta direita */
    width: 22px;
    transform: none;
    filter: invert(100%);
}

.rightArrow__button {
    /* Botao circular da navegacao direita */
    position: absolute;
    top: 50%;
    right: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0;
    height: 50px;
    width: 50px;
    border: solid;
    border-color: #2F2F37;
    border-radius: 25px;
    background-color: #1A1A1F;
    color: #fff;
    transform: translateY(-50%);
    z-index: 5;
}

.tools__container {
    /* Container principal da secao de ferramentas */
    min-height: 46vh;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 1300px;
    padding: 28px 40px 36px;
    border: none;
    border:2px solid var(--bs-border-color);
    border-radius: 12px;
}

.toolsHireRow {
    margin-top: 100px;
    margin-bottom: 100px;
}

.toolsHireRow__row {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

.toolsHireRow__colTools,
.toolsHireRow__colHire {
    display: flex;
}

.toolsHireRow .tools,
.toolsHireRow .hire {
    width: 100%;
    display: flex;
    flex: 1;
}

.toolsHireRow .tools__container,
.toolsHireRow .hire__container {
    max-width: none;
    min-height: 100%;
    width: 100%;
}

.tools {
    /* Variaveis locais de tamanho/espacamento dos cards de ferramentas */
    --tool-card-size: clamp(74px, 8vw, 80px);
    --tool-card-gap: clamp(10px, 1.8vw, 18px);
    --tool-cards-columns: 8;
}

.tools__content {
    /* Bloco de titulo e linha da secao */
    margin-top: 35px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
    align-items: center;
    column-gap: clamp(18px, 3vw, 30px);
    row-gap: 1px;
    flex: 0 0 100%;
    max-width: 100%;
}

.tools__content .tools__title {
    font-size: clamp(2rem, 2.8vw, 2rem);
    font-weight: 800;
}

.tools__principal {
    margin: 0;
    color: #E11D48;
    font-size: clamp(1.4rem, 2.5vw, 1.4rem);
    font-weight: 800;
}

.tools__estudando {
    margin: 0;
    color: #FACC15;
    font-size: clamp(1.4rem, 2.5vw, 1.4rem);
    font-weight: 800;
}

.tools__utilizadas {
    margin: 0;
    color: #4A4D69;
    font-size: clamp(1.4rem, 2.5vw, 1.4rem);
    font-weight: 800;
}

.tools__cards {
    /* Grade dos cards; 4 colunas para formar os andares por categoria */
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, var(--tool-card-size));
    gap: var(--tool-card-gap);
    justify-content: start;
}

.hire__panel {
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}



.hire__container {
    min-height: 34vh;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 1300px;
    padding: 28px 40px 36px;
    border: 2px solid var(--bs-border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tools__hireTitle {
    margin: 0;
    color: #F4F4F5;
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 800;
}

.hire__container .tools__hireTitle {
    margin-bottom: 20px;
    text-align: center;
}

.tools__hireGrid {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 540px;
}

.tools__hireCard {
    border: 2px solid #2E334A;
    border-radius: 11px;
    background: #141522;
    padding: 15px 16px;
    width: 100%;
}

.tools__hireCard--web {
    border-color: #4A4D69;
}

.tools__hireCard--pixel {
    border-color: #4A4D69;
}

.tools__hireCard--unity {
    border-color: #4A4D69;
}

.tools__hireCard h4 {
    margin: 0;
    color: #F4F4F5;
    font-size: clamp(1.08rem, 1.7vw, 1.18rem);
    font-weight: 800;
}

.tools__hireCard p {
    margin: 8px 0 0;
    color: #C0C4D4;
    font-size: 1rem;
    line-height: 1.35;
}

@media screen and (max-width: 1199.98px) {
    .project__container {
        padding: 24px 20px 28px;
    }

    .leftArrow__button,
    .rightArrow__button {
        width: 44px;
        height: 44px;
    }

    .game__viewport {
        top: 168px;
    }
}

.tool-card {
    /* Card base com icone centralizado */
    width: var(--tool-card-size);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 3px solid #2F2F37;
    background: #151522;
}

.tool-card--new-row {
    /* Forca o inicio de uma nova linha na grade */
    grid-column: 1;
}

.tool-card__icon {
    /* Tamanho padrao dos icones dentro do card */
    width: 75%;
    height: 75%;
    object-fit: contain;
    filter: none;
}

.tool-card--principal {
    /* Cor dos cards da categoria principal */
    border-color: #E11D48;
}

.tool-card--estudando {
    /* Cor dos cards da categoria estudando */
    border-color: #FACC15;
}

.tool-card--utilizadas {
    /* Cor dos cards da categoria ja utilizadas */
    border-color: #4A4D69;
}

.unity__icon {
    /* Icone originalmente escuro convertido para branco */
    filter: brightness(0) invert(1);
}

.aseprite__icon {
    /* Icone originalmente escuro convertido para branco */
    filter: brightness(0) invert(1);
}

.github__icon {
    /* Icone originalmente escuro convertido para branco */
    filter: brightness(0) invert(1);
}

.notion__icon {
    /* Icone originalmente escuro convertido para branco */
    filter: brightness(0) invert(1);
}

.figma__icon{
    /* Ajuste fino de escala para caber visualmente no card */
    width: 70%;
    height: 70%;
}

.blender__icon{
    /* Ajuste fino de escala para caber visualmente no card */
    width: 70%;
    height: 70%;
}

.c__icon{
    /* Ajuste fino de escala para caber visualmente no card */
    width: 72%;
    height: 72%;
}

.photoshop__icon{
    /* Ajuste fino de escala para caber visualmente no card */
    width: 80%;
    height: 80%;
}

.trello__icon{
    /* Ajuste fino de escala para caber visualmente no card */
    width: 68%;
    height: 68%;
}

.gamemaker__icon{
    /* Ajuste fino + conversao para branco em icone escuro */
    width: 68%;
    height: 68%;
    filter: brightness(0) invert(1);
}

/* ===== Sobre ===== */
.about {
    margin: 30px 0 90px;
}

.about__container {
    max-width: 1300px;
    padding: 32px 28px;
    border-radius: 12px;
    border: 2px solid var(--bs-border-color);
    background: #080911;
}

.about__content h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #F4F4F5;
}

.about__text {
    margin-top: 14px;
    max-width: 700px;
    line-height: 1.8;
    color: #C5C6D0;
    font-size: clamp(1.05rem, 1.95vw, 1.2rem);
}

.about__flag {
    margin-left: 4px;
    width: 1.3em;
    height: auto;
    vertical-align: -0.18em;
}

.about__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid #3A3D4E;
    background: #141620;
    color: #C5C6D0;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.about__avatarWrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about__avatar {
    width: clamp(250px, 31vw, 350px);
    height: auto;
    image-rendering: pixelated;
}

@media screen and (max-width: 991.98px) {
    .main__content {
        margin-left: 0;
        padding-left: clamp(12px, 2.8vw, 48px);
        text-align: left;
    }

    .main__imgContainer {
        margin-bottom: 6px;
    }

    .project__button,
    .contact__button {
        width: min(100%, 180px);
        font-size: 1.3rem;
        height: 46px;
    }

    .project__content h2 {
        font-size: 2rem;
    }

    .jogos__button,
    .arte__button {
        font-size: 1.2rem;
        height: 44px;
        width: auto;
        min-width: 120px;
        padding: 0 16px;
    }

    .game__viewport {
        display: none;
    }

    .game__image {
        height: clamp(180px, 40vw, 260px);
    }

    .game__placeholder {
        height: clamp(180px, 40vw, 260px);
    }

    .game__item[data-project="1"] .game__image {
        height: clamp(180px, 40vw, 260px);
    }

    .leftArrow__button,
    .rightArrow__button {
        display: none;
    }

    .about__container {
        padding: 22px 18px;
    }

    .toolsHireRow {
        margin-top: 82px;
        margin-bottom: 82px;
    }

    .toolsHireRow__row {
        --bs-gutter-y: 16px;
    }

    .hire__container {
        padding: 22px 18px;
    }

    .tools__hireGrid {
        gap: 12px;
    }

    .tools__hireCard {
        padding: 14px;
    }

    .tools__hireCard h4 {
        font-size: 1.02rem;
    }

    .tools__hireCard p {
        font-size: 0.95rem;
    }

    .about__content {
        text-align: left;
    }

    .about__avatarWrap {
        justify-content: center;
    }

    .about__avatar {
        width: clamp(215px, 60vw, 300px);
    }

    .about__badges {
        margin-top: 24px;
    }
}

/* ===== Skills ===== */
.skills {
    margin: 26px 0 90px;
}

.skills__container {
    max-width: 1300px;
    padding: 34px 26px;
    border-radius: 12px;
    border: 2px solid var(--bs-border-color);
    background: #080911;
}

.skills__layout {
    display: grid;
    grid-template-columns: 152px 1fr;
    gap: 34px;
    align-items: start;
}

.skills__tabs {
    /* Coluna lateral com os filtros Hard/Soft centralizados para facilitar leitura */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 92px;
}

.skills__tab {
    /* Botao com area clicavel adequada para mouse e toque */
    height: 44px;
    min-width: 132px;
    padding: 0 16px;
    border-radius: 10px;
    border: 2px solid #2F2F37;
    background: #1A1A26;
    color: #B4B6C7;
    font-size: 1.06rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.25s ease;
}

.skills__tab--active {
    /* Estado ativo com contraste mais forte para orientar o usuario */
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.skills__mode {
    margin: 8px 0 0;
    color: #8B90A8;
    font-size: 0.9rem;
    text-align: center;
}

.skills__panel {    
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 32px;
    width: 100%;
}

.skills__panelWrap {
    display: flex;
    justify-content: stretch;
    width: 100%;
}

.skills__card {
    min-height: 118px;
    border-radius: 14px;
    border: 1px solid #20253A;
    background: #141624;
    padding: 12px 12px;
}

.skills__card h3 {
    margin: 0;
    text-align: center;
    color: #F2F3F8;
    font-size: 1.2rem;
    font-weight: 700;
}

.skills__card p {
    margin: 8px 0 0;
    color: #C6CAD9;
    font-size: 0.95rem;
}

.skills--hard .skills__card {
    box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.22);
}

.skills--soft .skills__card {
    box-shadow: inset 0 0 0 1px rgba(80, 163, 255, 0.22);
}

@media screen and (max-width: 1199.98px) {
    .skills__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .skills__tabs {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .skills__mode {
        width: 100%;
    }

    .skills__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 991.98px) {
    .skills__layout {
        grid-template-columns: 1fr;
    }

    .skills__tabs {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding-top: 0;
    }

    .skills__mode {
        width: 100%;
    }

    .skills__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .skills__panelWrap {
        justify-content: stretch;
    }
}

@media screen and (max-width: 575.98px) {
    .skills__panel {
        grid-template-columns: 1fr;
    }
}

/* ===== Modal Projeto ===== */
body.modal-open {
    overflow: hidden;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
}

.project-modal[hidden] {
    display: none;
}

.project-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 8, 0.78);
}

.project-modal__dialog {
    position: relative;
    width: min(100%, 660px);
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 18px;
    border: 1px solid #242741;
    background: #111321;
    padding: 22px 24px 20px;
    z-index: 1;
}

.project-modal__dialog {
    scrollbar-width: thin;
    scrollbar-color: #F3466C #161829;
}

.project-modal__dialog::-webkit-scrollbar {
    width: 8px;
}

.project-modal__dialog::-webkit-scrollbar-track {
    background: #161829;
    border-radius: 999px;
}

.project-modal__dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F3466C, #CE1746);
    border-radius: 999px;
}

.project-modal__close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid #2E3148;
    border-radius: 999px;
    background: #1D2031;
    color: #AEB3CA;
    font-size: 1.4rem;
    line-height: 1;
}

.project-modal__title {
    margin: 0 0 10px;
    text-align: center;
    color: #F0F2FB;
    font-size: 1.35rem;
    font-weight: 800;
}

.project-modal__media {
    border-radius: 16px;
    background: #1F1F24;
    min-height: 250px;
    overflow: hidden;
    position: relative;
}

.project-modal__image {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

.project-modal__coming-ribbon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    transform: translate(-50%, -50%) rotate(-38deg);
    text-align: center;
    background: #E11D48;
    color: #F4F4F5;
    border-top: 1px solid rgba(244, 244, 245, 0.2);
    border-bottom: 1px solid rgba(244, 244, 245, 0.2);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.45rem 0;
    text-transform: uppercase;
}

.project-modal__coming-ribbon::after {
    content: attr(data-label);
}

.project-modal__description {
    margin-top: 16px;
    border: 1px solid #242741;
    border-radius: 12px;
    background: #171A2A;
    padding: 14px 16px;
    color: #D7DAE8;
    font-size: 1.05rem;
    min-height: 96px;
    white-space: pre-line;
}

.project-modal__meta {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
}

.project-modal__metaBlock h3,
.project-modal__done h3 {
    margin: 0 0 8px;
    color: #E11D48;
    font-size: 1.65rem;
    font-weight: 800;
}

.project-modal__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-modal__chip {
    border: 1px solid #2E3148;
    border-radius: 999px;
    background: #1A1D2D;
    color: #D5D9E8;
    font-size: 0.95rem;
    padding: 6px 12px;
}

.project-modal__techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-modal__tech {
    width: 44px;
    height: 44px;
    border: 1px solid #2E3148;
    border-radius: 12px;
    background: #171A2A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.project-modal__tech img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.project-modal__done {
    margin-top: 10px;
}

.project-modal__done p {
    margin: 0;
    color: #D7DAE8;
    font-size: 1.05rem;
    white-space: pre-line;
}

.project-modal__play {
    margin: 18px auto 0;
    width: min(100%, 170px);
    min-height: 44px;
    border-radius: 14px;
    background: #E11D48;
    color: #fff;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    display: flex;
}

.project-modal__play:hover {
    background: #F3466C;
}

.project-modal__play--disabled,
.project-modal__play--disabled:hover {
    background: #6B7280;
    color: #E5E7EB;
    cursor: not-allowed;
    pointer-events: none;
}

@media screen and (max-width: 767.98px) {
    .project-modal {
        padding: 12px;
    }

    .project-modal__dialog {
        padding: 16px 14px 14px;
    }

    .project-modal__media,
    .project-modal__image {
        min-height: 180px;
    }

    .project-modal__meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ===== Contato ===== */
.contact {
    margin: 34px 0 0;
}

.contact__container {
    max-width: 1300px;
    padding: 0 26px;
}

.contact__form {
    width: min(100%, 560px);
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.contact__input,
.contact__textarea {
    width: 100%;
    border: 1px solid #20253A;
    border-radius: 10px;
    background: #141624;
    color: #F2F3F8;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 12px;
    outline: none;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
    color: #D8DAE6;
    opacity: 0.9;
}

.contact__textarea {
    min-height: 140px;
    resize: vertical;
}

.contact__input:focus,
.contact__textarea:focus {
    border-color: #F3466C;
    box-shadow: 0 0 0 2px rgba(243, 70, 108, 0.2);
}

.contact__submit {
    justify-self: end;
    width: 112px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--bs-primary);
    color: #fff;
    font-size: 1.28rem;
    font-weight: 700;
    transition: background-color 0.25s ease;
}

.contact__submit:hover {
    background: var(--bs-secondary-color);
}

.contact__footer {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 18px 0 16px;
}

.site-footer {
    margin-top: 34px;
    border-top: 1px solid #1B1D28;
    background: #080911;
}

.site-footer__container {
    max-width: 1300px;
}

.contact__copy {
    margin: 0;
    color: #ECEEF8;
    font-size: 1.6rem;
    font-weight: 700;
    grid-column: 2;
    justify-self: center;
}

.contact__socials {
    display: flex;
    gap: 0;
    grid-column: 3;
    justify-self: start;
}

.contact__social {
    min-width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #20253A;
    background: #171926;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact__itch {
    min-width: 48px;
}

.contact__social-icon {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}

.contact__social:hover {
    transform: translateY(-2px);
    border-color: #F3466C;
}

@media screen and (max-width: 991.98px) {
    .contact__container {
        padding: 0 18px;
    }

    .contact__form {
        width: 100%;
    }

    .contact__footer {
        display: flex;
        gap: 14px;
        flex-direction: column;
        align-items: center;
        padding: 16px 0 14px;
    }

    .contact__copy {
        font-size: 1.25rem;
    }

    .contact__socials {
        justify-self: center;
    }
}

@media screen and (min-width: 1920px) {
    .navbar__container,
    .main__container,
    .project__container,
    .toolsHireRow,
    .tools__container,
    .hire__container,
    .about__container,
    .skills__container,
    .contact__container,
    .site-footer__container {
        max-width: var(--layout-max-width-wide);
    }

    #navbar__logo {
        font-size: 2.1rem;
    }

    .navbar__links {
        font-size: 1.02rem;
    }

    .main__content {
        padding-left: clamp(24px, 3.2vw, 68px);
    }

    #main__img {
        width: clamp(340px, 20vw, 480px);
    }

    .game__item {
        width: clamp(340px, 29vw, 560px);
        min-width: clamp(340px, 29vw, 560px);
    }

    .toolsHireRow__row {
        --bs-gutter-x: 26px;
    }

    .tools {
        --tool-card-size: 98px;
        --tool-card-gap: 20px;
    }

    .tools__cards {
        justify-content: start;
    }

    .about__avatarWrap {
        justify-content: center;
    }

    .about__text {
        max-width: 840px;
    }

    .skills__layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 28px;
    }

    .skills__tabs {
        padding-top: 34px;
    }

    .skills__panel {
        max-width: 980px;
        margin-left: auto;
        grid-template-columns: repeat(3, minmax(250px, 1fr));
        gap: 18px 22px;
    }

    .skills__card {
        min-height: 126px;
    }
}

@media screen and (min-width: 2560px) {
    .navbar__container,
    .main__container,
    .project__container,
    .toolsHireRow,
    .tools__container,
    .hire__container,
    .about__container,
    .skills__container,
    .contact__container,
    .site-footer__container {
        max-width: var(--layout-max-width-ultra);
    }

    .main__content h1 {
        font-size: 5.3rem;
    }

    .main__content h2 {
        font-size: 2.55rem;
    }

    .main__content {
        padding-left: clamp(32px, 3vw, 84px);
    }

    #main__img {
        width: clamp(380px, 18vw, 520px);
    }

    .game__item {
        width: clamp(360px, 27vw, 620px);
        min-width: clamp(360px, 27vw, 620px);
    }

    .toolsHireRow {
        margin-bottom: 80px;
    }

    .toolsHireRow__row {
        --bs-gutter-x: 32px;
    }

    .tools {
        --tool-card-size: 114px;
        --tool-card-gap: 22px;
    }

    .about__avatarWrap {
        justify-content: center;
    }

    .skills__layout {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .skills__panel {
        max-width: 1040px;
        grid-template-columns: repeat(3, minmax(265px, 1fr));
        gap: 20px 24px;
    }

    .contact__copy {
        font-size: 1.75rem;
    }
}

[data-bs-theme="light"] {
    --bs-body-bg: #F3F5FA;
    --bs-body-color: #121725;
    --bs-border-color: #CDD4E0;
    --bs-secondary-color: #D81B4B;
}

[data-bs-theme="light"] * {
    scrollbar-color: #D81B4B #E6EAF2;
}

[data-bs-theme="light"] *::-webkit-scrollbar-track {
    background: #E6EAF2;
}

[data-bs-theme="light"] *::-webkit-scrollbar-thumb {
    border-color: #E6EAF2;
}

[data-bs-theme="light"] .navbar__container,
[data-bs-theme="light"] .main,
[data-bs-theme="light"] .project__container,
[data-bs-theme="light"] .tools__container,
[data-bs-theme="light"] .hire__container,
[data-bs-theme="light"] .about__container,
[data-bs-theme="light"] .skills__container,
[data-bs-theme="light"] .site-footer,
[data-bs-theme="light"] .project-modal__dialog {
    background: #FFFFFF;
}

[data-bs-theme="light"] .navbar__menu {
    background: #FFFFFF;
}

[data-bs-theme="light"] .contact__container {
    background: var(--bs-body-bg);
}

[data-bs-theme="light"] .navbar__links,
[data-bs-theme="light"] .main__content h1,
[data-bs-theme="light"] .main__content h2,
[data-bs-theme="light"] .project__content h2,
[data-bs-theme="light"] .tools__content .tools__title,
[data-bs-theme="light"] .tools__hireTitle,
[data-bs-theme="light"] .about__content h2,
[data-bs-theme="light"] .about__text,
[data-bs-theme="light"] .skills__card h3,
[data-bs-theme="light"] .skills__card p,
[data-bs-theme="light"] .contact__copy,
[data-bs-theme="light"] .project-modal__title,
[data-bs-theme="light"] .project-modal__description,
[data-bs-theme="light"] .project-modal__done p {
    color: #121725;
    -webkit-text-fill-color: #121725;
}

[data-bs-theme="light"] .navbar__langToggle,
[data-bs-theme="light"] .navbar__langMenu,
[data-bs-theme="light"] .navbar__langOption,
[data-bs-theme="light"] .contact__button,
[data-bs-theme="light"] .jogos__button,
[data-bs-theme="light"] .arte__button,
[data-bs-theme="light"] .leftArrow__button,
[data-bs-theme="light"] .rightArrow__button,
[data-bs-theme="light"] .tools__card,
[data-bs-theme="light"] .about__badge,
[data-bs-theme="light"] .skills__tab,
[data-bs-theme="light"] .skills__card,
[data-bs-theme="light"] .contact__input,
[data-bs-theme="light"] .contact__textarea,
[data-bs-theme="light"] .contact__social,
[data-bs-theme="light"] .project-modal__description,
[data-bs-theme="light"] .project-modal__chip,
[data-bs-theme="light"] .project-modal__tech,
[data-bs-theme="light"] .project-modal__close,
[data-bs-theme="light"] .project-modal__media {
    background: #F2F5FB;
    border-color: #CDD4E0;
    color: #121725;
}

[data-bs-theme="light"] .navbar__langOption--active {
    color: #BF1743;
    background: rgba(225, 29, 72, 0.12);
}

[data-bs-theme="light"] .skills__tab--active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

[data-bs-theme="light"] .navbar__langOption {
    -webkit-text-fill-color: #121725;
}

[data-bs-theme="light"] .navbar__langOption span {
    color: inherit;
    -webkit-text-fill-color: currentColor;
}

[data-bs-theme="light"] .contact__input::placeholder,
[data-bs-theme="light"] .contact__textarea::placeholder,
[data-bs-theme="light"] .skills__mode,
[data-bs-theme="light"] .project-modal__metaBlock h3,
[data-bs-theme="light"] .project-modal__done h3,
[data-bs-theme="light"] .project-modal__tech span,
[data-bs-theme="light"] .project-modal__chip {
    color: #55607A;
}

[data-bs-theme="light"] .navbar__langChevron {
    border-right-color: #121725;
    border-bottom-color: #121725;
}

[data-bs-theme="light"] .navbar__toggle .bar {
    background: #121725;
}

[data-bs-theme="light"] .tools__hireCard {
    background: #F2F5FB;
    border-color: #CDD4E0;
}

[data-bs-theme="light"] .tools__hireCard h4 {
    color: #121725;
}

[data-bs-theme="light"] .tools__hireCard p {
    color: #55607A;
}

[data-bs-theme="light"] .tool-card {
    background: #F2F5FB;
}

[data-bs-theme="light"] .tool-card__icon {
    filter: none;
}

[data-bs-theme="light"] .project-modal__tech img {
    filter: brightness(0);
}

[data-bs-theme="light"] .game__item {
    background-color: #F2F5FB;
    border-color: #CDD4E0;
}

[data-bs-theme="light"] .game__item:hover {
    border-color: #F3466C;
}

[data-bs-theme="light"] .game__item p {
    color: #121725;
}

[data-bs-theme="light"] .game__image,
[data-bs-theme="light"] .game__imageWrap,
[data-bs-theme="light"] .game__placeholder {
    background: #E8EDF6;
}

[data-bs-theme="light"] .game__item--coming-soon .game__imageWrap {
    border-color: #CDD4E0;
}

[data-bs-theme="light"] #main__leftarrow,
[data-bs-theme="light"] #main__rightarrow {
    filter: brightness(0);
}

[data-bs-theme="light"] .game__viewport::before {
    background: linear-gradient(to right, #FFFFFF 12%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0));
}

[data-bs-theme="light"] .game__viewport::after {
    background: linear-gradient(to left, #FFFFFF 12%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0));
}

[data-bs-theme="light"] [data-typewriter-role]::after {
    color: #121725;
}

[data-bs-theme="light"] .game__title {
    color: #121725;
}

[data-bs-theme="light"] .coming-soon-ribbon {
    color: #FFFFFF;
    border-top-color: rgba(18, 23, 37, 0.2);
    border-bottom-color: rgba(18, 23, 37, 0.2);
}

[data-bs-theme="light"] .main__hr,
[data-bs-theme="light"] .project__hr {
    border-color: #D81B4B;
}

[data-bs-theme="light"] .contact__social-icon {
    fill: #121725;
}

@media screen and (max-width: 575.98px) {
    .project__container,
    .tools__container,
    .hire__container,
    .about__container,
    .skills__container,
    .contact__container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tools__content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 12px;
        row-gap: 8px;
    }

    .tools__content .tools__title {
        width: 100%;
        margin-bottom: 2px;
    }

    .tools__principal {
        order: 1;
    }

    .tools__estudando {
        order: 2;
    }

    .tools__utilizadas {
        order: 3;
    }

    .tools__cards {
        grid-template-columns: repeat(2, var(--tool-card-size));
        justify-content: start;
    }

    .tools__panel {
        padding: 14px;
    }

    .game__item {
        width: 86vw;
        min-width: 86vw;
    }

    .game__image {
        height: clamp(200px, 54vw, 280px);
    }

    .game__placeholder {
        height: clamp(200px, 54vw, 280px);
    }

    .game__item[data-project="1"] .game__image {
        height: clamp(200px, 54vw, 280px);
    }
}

@media screen and (max-width: 375.98px) {
    .tools {
        --tool-card-size: 72px;
        --tool-card-gap: 10px;
    }

    .tools__content {
        column-gap: 10px;
    }

    .tools__content .tools__title {
        font-size: 2rem;
        line-height: 1.15;
    }
}