/* =================== FONTES E VARIÁVEIS =================== */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    --pixel-size: 4px;
    --primary-color: #FF89B4;
    --secondary-color: #AB76FF;  /* Roxo mais feminino */
    --dark-color: #2C2540;       /* Roxo escuro */
    --light-color: #fff4fd;
    --pixel-border-color: #FF89B4;
    --pixel-font: 'VT323', monospace;
    --gray-color: #e0d0e6;       /* Cinza com tom de lilás */
    --background-color: #251d2c;
    --primary-color-hover: #ff9dc2;
    --accent-color: #ffb6d5;
    --star-color: #FFF0B3;       /* Amarelo mais suave para estrelas */
    --pastel-purple: #D8B5FF;    /* Roxo pastel para acentos */
    --pastel-blue: #B5EAEA;      /* Azul pastel para acentos */
    --footer-gradient-start: #2C2540;
    --footer-gradient-end: #FF89B4;
}

body {
    font-family: var(--pixel-font);
    background-color: var(--dark-color);
    color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Isso fará com que o conteúdo principal expanda para preencher o espaço disponível */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* =================== MAIN CONTENT =================== */
.main-content {
  flex: 1 0 auto; /* Faz com que o conteúdo principal ocupe o espaço disponível */
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px); /* Ajustado para ter pelo menos a altura da viewport menos o header e footer */
  position: relative; /* Para posicionamento relativo de elementos filhos */
  z-index: 2; /* Garantir que o conteúdo esteja acima dos elementos decorativos */
}

/* =================== CONTAINERS DE ELEMENTOS DECORATIVOS =================== */
.stars-fixed-container,
.pixel-particles-container,
.hearts-fixed-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 1; /* Abaixo do conteúdo principal */
  overflow: hidden;
}

/* =================== CURSOR PIXEL =================== */
.pixel-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23FF89B4' d='M0,0h8v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1z'/%3E%3Cpath fill='%23AB76FF' d='M1,0v1h1v1h1v1h1v1h1v1h1v1h1v1h1v-7z'/%3E%3C/svg%3E") no-repeat;
    z-index: 100;
    pointer-events: none;
    display: none;
    image-rendering: pixelated;
    transform: translate(-12px, -12px);
    filter: drop-shadow(0 0 3px rgba(255,182,213,0.9));
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, filter 0.3s;
}

.pixel-cursor.cursor-hover {
    width: 32px;
    height: 32px;
    transform: translate(-16px, -16px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffb6d5' d='M3,0h2v1h1v1h1v1h1v2h-1v1h-1v1h-1v1h-2v-1h-1v-1h-1v-1h-1v-2h1v-1h1v-1z'/%3E%3C/svg%3E") no-repeat;
    filter: drop-shadow(0 0 5px rgba(255,182,213,0.9));
    animation: pulse-cursor 1s infinite alternate;
}

@keyframes pulse-cursor {
    0% { transform: translate(-16px, -16px) scale(1); }
    100% { transform: translate(-16px, -16px) scale(1.15); }
}

@media (min-width: 768px) {
    .pixel-cursor {
        display: block;
    }
}

/* =================== MENU DE NAVEGAÇÃO =================== */
.menu-navegacao {
    border-bottom: 4px solid var(--primary-color);
    background-color: rgba(44, 37, 64, 0.95);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 4px 0 var(--accent-color), 0 8px 15px rgba(255, 137, 180, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.5rem 0;
}

/* Estrelas decorativas em pixel art */
.star-decoration {
    position: absolute;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffeb3b' d='M3,0h2v1h1v1h1v1h1v2h-1v1h-1v1h-1v1h-2v-1h-1v-1h-1v-1h-1v-2h1v-1h1v-1z'/%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    image-rendering: pixelated;
    animation: twinkle 3s infinite alternate;
    opacity: 0.8;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.7; transform: scale(1); }
}
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 64px;
    position: relative;
}

.menu-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 12px, var(--secondary-color) 12px, var(--secondary-color) 24px);
}
.logo-principal {
    font-family: var(--pixel-font);
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.logo-principal::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    margin-right: 10px;
    box-shadow: 0 0 0 2px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.logo-principal-nome {
    color: var(--primary-color);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}
.logo-principal-destaque {
    color: var(--secondary-color);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}
.links-navegacao {
    display: none;
}
@media (min-width: 768px) {
    .links-navegacao {
        display: flex;
        gap: 1.5rem;
    }
}
.link-navegacao {
    font-size: 1.25rem;
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    position: relative;
    letter-spacing: 0.5px;
}
.link-navegacao:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.link-navegacao::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.link-navegacao:hover::after {
    transform: scaleX(1);
}
/* Botão do menu mobile */
.mobile-menu-button {
    font-size: 1.8rem;
    background: none;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    cursor: pointer;
    display: block;
    padding: 0.2rem 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--accent-color);
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}
/* Menu mobile customizado */
.mobile-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(44, 37, 64, 0.98);
    border-bottom: 4px solid var(--primary-color);
    border-top: 2px solid var(--secondary-color);
    z-index: 40;
    padding: 1rem 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
}

.mobile-links a {
    font-size: 1.3rem;
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-left: 3px solid transparent;
    width: 80%;
    text-align: center;
    font-family: var(--pixel-font);
}

.mobile-links a:hover {
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* =================== HERO =================== */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-color) 0%, #321e3a 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffb6d5' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        padding: 6rem 1.5rem;
    }
}

.pixel-art-avatar {
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    position: relative;
    box-shadow: inset 0 0 15px rgba(255, 182, 213, 0.5);
    border: 4px solid var(--primary-color);
    overflow: hidden;
}

/* Estilo para o ícone de café pixel art */
.icon-cafe-pixel {
    width: 45px; /* Tamanho ajustado para combinar com o nome */
    height: 45px;
    vertical-align: middle;
    margin-left: 5px;
    margin-bottom: 2px;
    image-rendering: pixelated; /* Mantém a estética pixel art */
    animation: floatAndSpin 4s ease-in-out infinite;
    filter: drop-shadow(0 0 8px var(--primary-color)) brightness(1.3) contrast(1.1);
    position: relative;
    display: inline-block;
    transform-origin: bottom center;
    overflow: visible;
    box-shadow: none;
    margin-top: -3px; /* Ajuste para alinhar perfeitamente com o texto */
}

/* Efeito de brilho ao redor da xícara */
.icon-cafe-pixel::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,137,180,0.4) 0%, rgba(255,137,180,0) 70%);
    z-index: -1;
    animation: pulseBrightness 2s ease-in-out infinite alternate;
}

@keyframes pulseBrightness {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.8;
    }
}

@keyframes floatAndSpin {
    0% {
        transform: translateY(0) rotate(-3deg);
        filter: drop-shadow(0 0 8px var(--primary-color)) brightness(1.3);
    }
    25% {
        transform: translateY(-4px) rotate(0deg);
        filter: drop-shadow(0 0 12px var(--primary-color)) brightness(1.4);
    }
    50% {
        transform: translateY(-6px) rotate(3deg);
        filter: drop-shadow(0 0 14px var(--primary-color)) brightness(1.5);
    }
    75% {
        transform: translateY(-2px) rotate(0deg);
        filter: drop-shadow(0 0 10px var(--primary-color)) brightness(1.4);
    }
    100% {
        transform: translateY(0) rotate(-3deg);
        filter: drop-shadow(0 0 8px var(--primary-color)) brightness(1.3);
    }
}

.hero-content {
    margin-bottom: 3rem;
    width: 100%;
}
@media (min-width: 768px) {
    .hero-content {
        width: 50%;
        margin-bottom: 0;
    }
}
.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}
.hero-name {
    color: var(--primary-color);
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 2.25rem;
    }
}
.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}
/* Botões Pixel Femininos */
.botao-pixel-primario {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 4px 4px 0 var(--accent-color);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}
.botao-pixel-secundario {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 4px 4px 0 var(--primary-color);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}
.botao-pixel {
    padding: 0.8rem 1.8rem;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}
.botao-pixel::after {
    content: '';
    position: absolute;
    height: 10px;
    width: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}
.botao-pixel:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 var(--accent-color);
}
.botao-pixel:hover::after {
    opacity: 1;
    width: 200px;
    height: 200px;
    opacity: 0;
}
.botao-pixel-primario:hover {
    box-shadow: 6px 6px 0 var(--accent-color);
}
.botao-pixel-secundario:hover {
    box-shadow: 6px 6px 0 var(--primary-color);
}

/* =================== AVATAR E ÍCONES DE TECNOLOGIA =================== */
.avatar-container {
    width: 100%;
    display: flex;
    justify-content: center;
}
@media (min-width: 768px) {
    .avatar-container {
        width: 50%;
    }
}
.avatar-frame {
    position: relative;
    width: 16rem;
    height: 16rem;
}
@media (min-width: 768px) {
    .avatar-frame {
        width: 20rem;
        height: 20rem;
    }
}
.tech-icon {
    position: absolute;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
}
.tech-icon-html {
    bottom: -1rem;
    left: -1rem;
    color: #e34f26;
}
.tech-icon-css {
    top: -1rem;
    right: -1rem;
    color: #2965f1;
}
.tech-icon-js {
    top: -1rem;
    left: 25%;
    color: #f7df1e;
}
.tech-icon-react {
    bottom: 25%;
    right: -1rem;
    color: #61dafb;
}

.secao-sobre {
    padding: 5rem 1.5rem;
    background-color: var(--background-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.secao-sobre::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffb6d5' fill-opacity='0.05' d='M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm10 12c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10z'/%3E%3C/svg%3E");
    opacity: 0.7;
    z-index: 0;
}

.container-sobre {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    background-color: rgba(39, 33, 46, 0.8);
    padding: 2.5rem;
    border: 4px solid var(--primary-color);
    box-shadow: 8px 8px 0 var(--secondary-color);
    border-radius: 12px;
}

.titulo-secao {
    font-family: var(--pixel-font);
    font-size: 2.2rem;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    position: relative;
    padding-bottom: 1rem;
}

.titulo-secao::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--accent-color);
    border-radius: 4px;
}

@media (min-width: 640px) {
    .titulo-secao {
        font-size: 2.7rem;
    }
    
    .titulo-secao::after {
        width: 100px;
    }
}

.conteudo-sobre {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
}

.conteudo-sobre::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23FF89B4' d='M16 0l4 8 8 2-6 6 2 8-8-4-8 4 2-8-6-6 8-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.texto-sobre {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-color);
    padding: 0.5rem 1rem;
    border-left: 3px solid var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease, border-left 0.3s ease;
}

.texto-sobre:hover {
    transform: translateX(5px);
    border-left: 5px solid var(--primary-color);
}

/* =================== HERO SECTION PIXEL ART FEMININO =================== */
.secao-hero {
    padding: 5rem 1rem;
    position: relative;
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a2b4d 80%, var(--primary-color) 100%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.secao-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0V0zm19 19h1v1h-1v-1zM2 2h1v1H2V2zm16 16h1v1h-1v-1z' fill='%23ffb6d5' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.container-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container-hero {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .container-hero {
        max-width: 1140px;
    }
}

@media (min-width: 1600px) {
    .container-hero {
        max-width: 1480px;
    }
}

.conteudo-hero {
    width: 100%;
    margin-bottom: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .conteudo-hero {
        width: 50%;
        text-align: left;
        margin-bottom: 0;
        padding-right: 2rem;
    }
}

.titulo-hero {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.titulo-hero::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--accent-color);
}

@media (min-width: 768px) {
    .titulo-hero {
        font-size: 3.5rem;
    }
    
    .titulo-hero::after {
        left: 0;
        transform: none;
    }
}

.destaque-nome {
    color: var(--primary-color);
    position: relative;
    display: inline-flex;
    align-items: center;
    text-shadow: 2px 2px 0 var(--dark-color), 4px 4px 0 var(--secondary-color);
}

.destaque-nome-grande {
    font-size: 130%;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 3px 3px 5px rgba(171, 118, 255, 0.7);
    white-space: nowrap;
}

.destaque-nome::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffb6d5' d='M8 0l2 4 4 1-3 3 1 4-4-2-4 2 1-4-3-3 4-1z'/%3E%3C/svg%3E");
    background-size: contain;
    animation: rotate 3s linear infinite;
    z-index: 2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.descricao-hero {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--gray-color);
}

@media (min-width: 768px) {
    .descricao-hero {
        font-size: 1.3rem;
    }
}

.botoes-hero {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .botoes-hero {
        justify-content: flex-start;
    }
}

.botao {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: var(--pixel-font);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.botao::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.botao:hover::before {
    transform: translateX(100%);
}

.botao-projetos {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0px 4px 0px var(--accent-color), 0px 7px 10px rgba(255, 137, 180, 0.4);
}

.botao-projetos:hover {
    transform: translateY(-3px);
    box-shadow: 0px 7px 0px var(--accent-color), 0px 10px 15px rgba(255, 137, 180, 0.5);
}

.botao-projetos:active {
    transform: translateY(0px);
    box-shadow: 0px 2px 0px var(--accent-color);
}

.botao-contato {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0px 4px 0px var(--pastel-purple), 0px 7px 10px rgba(171, 118, 255, 0.3);
}

.botao-contato:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0px 7px 0px var(--pastel-purple), 0px 10px 15px rgba(171, 118, 255, 0.4);
}

.botao-contato:active {
    transform: translateY(0px);
    box-shadow: 0px 2px 0px var(--pastel-purple);
}

.avatar-hero-container {
    width: 100%;
    max-width: 300px;
    position: relative;
}

@media (min-width: 768px) {
    .avatar-hero-container {
        width: 50%;
        max-width: 400px;
    }
}

.avatar-hero {
    width: 100%;
    height: auto;
    border: 4px solid var(--primary-color);
    border-radius: 16px;
    box-shadow: 8px 8px 0 var(--secondary-color), 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    image-rendering: pixelated;
}

.avatar-hero:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 10px 10px 0 var(--secondary-color), 0 15px 25px rgba(0, 0, 0, 0.4);
}

.avatar-hero-container::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffb6d5' d='M3,0h2v1h1v1h1v1h1v2h-1v1h-1v1h-1v1h-2v-1h-1v-1h-1v-1h-1v-2h1v-1h1v-1z'/%3E%3C/svg%3E");
    background-size: contain;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.avatar-hero-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23AB76FF' d='M2,0h6v2h2v6h-2v2h-6v-2h-2v-2h-2v-2h-2v-2h2v-2h2v-2h2z'/%3E%3Cpath fill='%23251d2c' d='M4,2h2v2h2v2h-2v2h-2v-2h-2v-2h2z'/%3E%3C/svg%3E");
    background-size: contain;
    animation: float 3s ease-in-out infinite alternate;
    animation-delay: 1.5s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* =================== FOOTER PIXEL ART FEMININO =================== */
.footer {
  background: linear-gradient(135deg, var(--dark-color) 40%, #3a2b4d 80%, var(--accent-color) 100%);
  padding: 3rem 1.5rem 2rem 1.5rem;
  color: #fff;
  text-align: center;
  border-top: 6px solid var(--primary-color);
  box-shadow: 0 -8px 0 0 var(--secondary-color);
  position: relative;
  font-family: var(--pixel-font);
  overflow: hidden;
  margin-top: auto; /* Mantém o footer no final do conteúdo */
}

.footer::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='%23ffb6d5' fill-opacity='0.1' d='M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0 4c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zm0 32c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm24-24c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0 4c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zm0 32c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm24-24c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0 4c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zm0 32c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/svg%3E");
  opacity: 0.15;
  z-index: 1;
}

/* Decoração de flores em pixel art */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='12' viewBox='0 0 72 12'%3E%3Cpath fill='%23FF89B4' d='M0,0v4h4v4H0v4h8V8h4V4H8V0H0z M16,0v4h4v4h-4v4h8V8h4V4h-4V0H16z M32,0v4h4v4h-4v4h8V8h4V4h-4V0H32z M48,0v4h4v4h-4v4h8V8h4V4h-4V0H48z M64,0v4h4v4h-4v4h8V8h4V4h-4V0H64z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  z-index: 2;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  position: relative;
  z-index: 3;
}

/* Wrapper para agrupar a foto e o logo */
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Estilo para a foto no footer */
.footer-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: 2px 2px 0 #000, 3px 3px 0 var(--secondary-color);
  object-fit: cover;
}

.footer-logo-pixel {
  font-size: 2.8rem;
  font-family: var(--pixel-font);
  color: var(--primary-color);
  letter-spacing: 3px;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--secondary-color);
  margin-bottom: 0.8rem;
  position: relative;
  padding: 0.5rem 1.5rem;
  display: inline-block;
}

.footer-logo-pixel::before, 
.footer-logo-pixel::after {
  content: '★';
  position: absolute;
  font-size: 1.2rem;
  color: var(--star-color);
  animation: twinkle 2.5s infinite alternate;
}

.footer-logo-pixel::before {
  left: 0;
  top: 0;
}

.footer-logo-pixel::after {
  right: 0;
  bottom: 0;
  animation-delay: 1.2s;
}

.footer-logo-pixel span {
  color: var(--accent-color);
  text-shadow: 2px 2px 0 #000, 3px 3px 0 var(--primary-color);
}

.footer-text {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  color: #ffe0f7;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  line-height: 1.6;
  position: relative;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  width: 100%;
  padding: 0.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-link {
  color: var(--accent-color);
  background: rgba(41, 47, 54, 0.7);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  font-family: var(--pixel-font);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--secondary-color);
  transition: all 0.25s ease;
  font-size: 1.1rem;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  margin: 0.3rem;
  width: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-link::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.5s ease;
}

.footer-link:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 5px 5px 0 var(--accent-color);
  transform: translateY(-3px) scale(1.05);
}

.footer-link:hover::before {
  transform: scale(6);
  opacity: 0;
}

.footer-link i {
  margin-right: 0.4rem;
  vertical-align: middle;
  font-size: 1.2em;
}

.footer-heart {
  color: var(--primary-color);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  font-size: 1.3em;
  vertical-align: middle;
  display: inline-block;
  animation: heartbeat 1.5s infinite alternate;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.25); }
  60% { transform: scale(1); }
}

.footer-code {
  color: var(--secondary-color);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  font-size: 1.2em;
  vertical-align: middle;
  display: inline-block;
  animation: codeAnim 3s infinite alternate;
}

@keyframes codeAnim {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.footer-divider {
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 16px, var(--light-color) 16px, var(--light-color) 32px);
  margin: 1rem 0;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.footer-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

/* Botão de Voltar ao Topo */

/* Botão de Voltar ao Topo (Pixel Style) */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--dark-color);
  color: var(--primary-color);
  border: 4px solid var(--primary-color);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--pixel-font);
  box-shadow: 4px 4px 0 var(--secondary-color);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
  cursor: pointer;
  padding: 0;
  margin: 0;
  text-decoration: none;
  outline: none;
  overflow: hidden;
}

/* Classe para acessibilidade - esconde visualmente mas mantém para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.back-to-top:hover {
  background: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 6px 6px 0 var(--secondary-color);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 3px 3px 0 var(--secondary-color);
}

.back-to-top:focus {
  outline: 2px solid var(--secondary-color);
}

.pixel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.back-to-top:hover .pixel-arrow {
  transform: translateY(-2px);
}

/* =================== SEÇÃO DE PROJETOS PIXEL ART FEMININO =================== */
.section-projects {
  padding: 5rem 1.5rem;
  background-color: var(--background-color);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(45deg, 
    var(--primary-color), var(--primary-color) 12px, 
    var(--accent-color) 12px, var(--accent-color) 24px);
  z-index: 1;
}

.section-projects::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffb6d5' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem;
  background-color: rgba(41, 47, 54, 0.85);
  border: 4px solid var(--primary-color);
  border-radius: 16px;
  box-shadow: 0 8px 0 var(--secondary-color);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

.projects-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-family: var(--pixel-font);
  color: var(--primary-color);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  position: relative;
  padding-bottom: 1rem;
}

.projects-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  box-shadow: 0 2px 4px var(--accent-color);
}

.highlight-primary {
  color: var(--accent-color);
  text-shadow: 1px 1px 0 var(--primary-color);
}

.projects-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: var(--gray-color);
  line-height: 1.6;
  max-width: 800px;
}

.projects-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background-color: rgba(44, 37, 64, 0.8);
  border: 4px solid var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0 var(--secondary-color);
}

/* Adicionar decoração nos cantos dos cartões */
.project-card::before, 
.project-card::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 2;
}

.project-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 3px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(255, 137, 180, 0.3);
}

.project-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.project-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.project-card:hover .project-title::after {
  width: 80px;
}

.project-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: var(--gray-color);
}

.project-links {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 2px dashed rgba(255, 182, 213, 0.3);
}

.project-link {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  font-family: var(--pixel-font);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
  background: rgba(41, 47, 54, 0.5);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}

.project-link:hover {
  color: #fff;
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.project-link::after {
  content: '→';
  opacity: 0;
  margin-left: -10px;
  transition: all 0.2s ease;
}

.project-link:hover::after {
  opacity: 1;
  margin-left: 5px;
}

/* =================== SEÇÃO DE CONTATO PIXEL ART FEMININO =================== */
.section-contact {
  padding: 5rem 1.5rem;
  background-color: var(--background-color);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffb6d5' fill-opacity='0.1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-container {
  max-width: 550px;
  margin: 0 auto;
  background-color: rgba(41, 47, 54, 0.85);
  padding: 2rem 1.8rem;
  border: 3px solid var(--primary-color);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--secondary-color), 0 10px 20px rgba(255, 137, 180, 0.2);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

/* Decoração com corações nos cantos */
.contact-container::before,
.contact-container::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FF89B4' d='M8 3.7c-.2-.4-1.3-2.9-4.3-2.9-2.5 0-3.6 2-3.6 4 0 2.7 2.9 5.4 7.9 9.9 5-4.5 7.9-7.2 7.9-9.9 0-2-1.1-4-3.6-4-3 0-4.1 2.5-4.3 2.9z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.contact-container::before {
  top: -10px;
  left: -10px;
  transform: rotate(-20deg);
}

.contact-container::after {
  bottom: -10px;
  right: -10px;
  transform: rotate(20deg);
}

.contact-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  font-family: var(--pixel-font);
  color: var(--primary-color);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  position: relative;
  padding-bottom: 1rem;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  box-shadow: 0 2px 4px var(--accent-color);
}

.contact-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--gray-color);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  max-width: 450px;
  margin: 0 auto;
  z-index: 2;
}

.contact-input,
.contact-textarea {
  padding: 0.8rem 1rem;
  background-color: rgba(31, 31, 31, 0.6);
  border: 2px solid var(--secondary-color);
  border-radius: 7px;
  color: #fff;
  font-size: 1rem;
  resize: vertical;
  font-family: var(--pixel-font);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(224, 208, 230, 0.5);
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 137, 180, 0.3);
  background-color: rgba(31, 31, 31, 0.8);
}

.contact-button {
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-weight: bold;
  font-family: var(--pixel-font);
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--accent-color);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.contact-button:hover {
  background-color: var(--primary-color-hover);
  box-shadow: 6px 6px 0 var(--accent-color);
  transform: translateY(-3px);
}

.contact-button:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0 var(--accent-color);
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s ease;
}

.contact-button:hover::before {
  left: 100%;
}

/* Decoração de estrelas no formulário */
.contact-form::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFF0B3' d='M8 0l2 5.5 6 .5-4.5 4 1.5 6-5-3-5 3 1.5-6L0 6l6-.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
}

/* =================== HABILIDADES MELHORADAS =================== */
.section-skills {
    position: relative;
    padding: 4rem 1.5rem;
    overflow: hidden;
}

.section-skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 12px, var(--secondary-color) 12px, var(--secondary-color) 24px);
    z-index: 2;
}

.section-skills::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--secondary-color), var(--secondary-color) 12px, var(--primary-color) 12px, var(--primary-color) 24px);
    z-index: 2;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.skills-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    display: inline-block;
}

.skills-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skills-block {
    background-color: rgba(44, 37, 64, 0.7);
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 8px 8px 0 var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skills-block:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--secondary-color);
}

/* Decoração de pixel art nos cantos do bloco */
.skills-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23FF89B4' d='M0,0h8v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1z'/%3E%3C/svg%3E");
    background-size: contain;
    z-index: 1;
}

.skills-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23AB76FF' d='M0,0h8v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1z'/%3E%3C/svg%3E");
    background-size: contain;
    transform: rotate(180deg);
    z-index: 1;
}

.skills-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.skills-subtitle i {
    margin-right: 0.5rem;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
}

.skill-item {
    margin-bottom: 1.2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.skill-bar {
    height: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background-image: repeating-linear-gradient(45deg, 
        rgba(255,255,255,0.1) 0px, 
        rgba(255,255,255,0.1) 5px, 
        transparent 5px, 
        transparent 10px);
    position: relative;
    transition: width 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.skill-fill.animated {
    animation: skill-fill-flash 2s infinite;
}

/* Classe para barras com animação completa - garantem que permaneçam visíveis */
.skill-fill.animated-complete {
    animation: skill-fill-flash 2s infinite;
    transition: none; /* Impede novas transições */
    width: attr(data-original-width); /* Mantém a largura original */
}

@keyframes skill-fill-flash {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 0;
    }
}

.primary-bg {
    background-color: var(--primary-color);
}

.secondary-bg {
    background-color: var(--secondary-color);
}

/* Ferramentas Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    box-shadow: 0 4px 0 var(--pastel-purple);
}

.tool-card i {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
}

.tool-card span {
    font-size: 1rem;
    font-weight: bold;
}

/* =================== TERMINAL SIMULADO =================== */
.terminal {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(40, 42, 54, 0.95);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border: 4px solid #44475a;
    position: relative;
}

.terminal.visible {
    opacity: 1;
    transform: translateY(0);
}

.terminal-header {
    background: #252734;
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #333646;
    position: relative;
}

.terminal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    opacity: 0.4;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.terminal-header .flex {
    display: flex;
    align-items: center;
    width: 100%;
}

.terminal-header .space-x-2 {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-header .rounded-full {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-header .bg-red-500 {
    background-color: #ff5555;
    box-shadow: 0 0 5px rgba(255, 85, 85, 0.5);
}

.terminal-header .bg-yellow-500 {
    background-color: #f1fa8c;
    box-shadow: 0 0 5px rgba(241, 250, 140, 0.5);
}

.terminal-header .bg-green-500 {
    background-color: #50fa7b;
    box-shadow: 0 0 5px rgba(80, 250, 123, 0.5);
}

.terminal-header .font-bold {
    font-weight: bold;
    color: #f8f8f2;
    margin-left: 5px;
}

.terminal-body {
    padding: 20px;
    color: #f8f8f2;
    height: 350px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #282a36;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-track {
    background-color: #282a36;
}

.terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm20 0a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM10 37a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm10-17h20v20H20V20zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14z' fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.terminal-body .mb-1 {
    margin-bottom: 4px;
}

.terminal-body .mb-2 {
    margin-bottom: 8px;
}

.terminal-body .mb-4 {
    margin-bottom: 16px;
}

.terminal-body .text-green-400 {
    color: #50fa7b;
}

.terminal-line {
    position: relative;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    margin-bottom: 8px;
}

.terminal-text {
    opacity: 1;
    transform: translateX(0);
}

/* Cursor piscando */
.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 16px;
    background-color: var(--primary-color);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Estilo para área de input */
.terminal-input-area {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.terminal-prompt {
    color: var(--primary-color);
    margin-right: 8px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #f8f8f2;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    width: 100%;
    padding: 0;
    margin: 0;
    outline: none;
}

/* Container do terminal */
.terminal-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
}

.terminal-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    font-family: var(--pixel-font);
}

.terminal-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background: var(--primary-color);
    margin-top: 10px;
    box-shadow: 0 0 10px var(--primary-color);
}

.terminal-title-decoration {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.terminal-description {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Comando de ajuda */
.terminal-command {
    color: var(--accent-color);
    font-weight: bold;
}

.terminal-output {
    padding-left: 16px;
}

.terminal-command-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    margin-top: 8px;
}

.terminal-command-name {
    color: var(--primary-color);
    font-weight: bold;
}

.terminal-command-description {
    color: #f8f8f2;
}

/* =================== BLOG SECTION APRIMORADA =================== */
.section-blog {
    padding: 5rem 1.5rem;

    background: linear-gradient(to bottom, var(--dark-color), rgba(44, 37, 64, 0.9));
    position: relative;
    overflow: hidden;
}

.section-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF89B4' fill-opacity='0.05' d='M0,0h4v4H0V0z M8,0h4v4H8V0z M16,0h4v4h-4V0z M0,8h4v4H0V8z M16,8h4v4h-4V8z M0,16h4v4H0V16z M8,16h4v4H8V16z M16,16h4v4h-4V16z'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Decoração de pixels nos cantos da seção */
.pixel-corner {
    position: absolute;
    width: 32px;
    height: 32px;
    z-index: 1;
    image-rendering: pixelated;
}

.pixel-corner-top-left {
    top: 12px;
    left: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23FF89B4' d='M0,0h8v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1z'/%3E%3C/svg%3E");
    background-size: contain;
}

.pixel-corner-top-right {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23D8B5FF' d='M8,0h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v-1h8z'/%3E%3C/svg%3E");
    background-size: contain;
}

.pixel-corner-bottom-left {
    bottom: 12px;
    left: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23AB76FF' d='M0,8h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h-8z'/%3E%3C/svg%3E");
    background-size: contain;
}

.pixel-corner-bottom-right {
    bottom: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffb6d5' d='M8,8h-8v-1h1v-1h1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h8z'/%3E%3C/svg%3E");
    background-size: contain;
}

/* Fitas decorativas pixel art */
.pixel-ribbon {
    position: absolute;
    width: 24px;
    height: 80%;
    top: 10%;
    opacity: 0.3;
    z-index: 1;
}

.pixel-ribbon-left {
    left: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='8' width='8' height='24' fill='%23FF89B4' /%3E%3Crect x='0' y='4' width='8' height='4' fill='%23FF89B4' /%3E%3Crect x='16' y='16' width='8' height='4' fill='%23FF89B4' /%3E%3C/svg%3E");
    background-repeat: repeat-y;
}

.pixel-ribbon-right {
    right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='8' width='8' height='24' fill='%23AB76FF' /%3E%3Crect x='16' y='4' width='8' height='4' fill='%23AB76FF' /%3E%3Crect x='0' y='16' width='8' height='4' fill='%23AB76FF' /%3E%3C/svg%3E");
    background-repeat: repeat-y;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    position: relative;
    display: inline-block;
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.blog-title-decoration {
    position: absolute;
    top: -15px;
    right: -30px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffb6d5' d='M8,0 L10,6 L16,8 L10,10 L8,16 L6,10 L0,8 L6,6 Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: rotate 10s linear infinite;
}

.blog-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Filtro do blog */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.blog-filter-btn {
    background-color: rgba(44, 37, 64, 0.8);
    border: 2px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--gray-color);
    font-family: var(--pixel-font);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.blog-filter-btn:hover {
    color: var(--light-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.blog-filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--accent-color);
}

.blog-filter-btn.active::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M0,0 L10,0 L5,10 Z' fill='%23FF89B4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background-color: rgba(44, 37, 64, 0.8);
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 12px 12px 0 var(--secondary-color);
}

/* Efeito de brilho */
.blog-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.blog-card:hover .blog-shine {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Pixel art decorations for each corner of the card */
.blog-card::before,
.blog-card::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    z-index: 5;
    background-size: contain;
    transition: all 0.3s ease;
}

.blog-card::before {
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23FF89B4' d='M0,0h8v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1z'/%3E%3C/svg%3E");
}

.blog-card::after {
    bottom: 0;
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23AB76FF' d='M8,8h-8v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h1v-1h8z'/%3E%3C/svg%3E");
}

.blog-card:hover::before,
.blog-card:hover::after {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.blog-card-header {
    position: relative;
    overflow: hidden;
}

.blog-image-container {
    overflow: hidden;
    border-bottom: 4px solid var(--secondary-color);
}

.blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    image-rendering: auto;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.blog-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-tag {
    background-color: var(--secondary-color);
    transform: translateY(-3px) rotate(5deg);
}

.blog-content {
    padding: 1.7rem;
    position: relative;
}

.blog-post-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--light-color);
    min-height: 2.8em;
    position: relative;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-post-title {
    color: var(--primary-color);
    transform: translateX(5px);
}

.blog-excerpt {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 4.5em;
    transition: all 0.3s ease;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px dashed rgba(171, 118, 255, 0.3);
    padding-top: 1.2rem;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-footer {
    border-top-style: solid;
    border-top-color: var(--primary-color);
}

.blog-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-date i {
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-date i {
    transform: rotate(360deg);
}

.blog-read-more {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}

.blog-read-more:hover {
    color: var(--primary-color);
    background-color: rgba(255, 137, 180, 0.1);
    transform: translateX(5px);
}

.blog-read-more i {
    transition: all 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.blog-more-link {
    text-align: center;
    margin-top: 3rem;
    position: relative;
}

/* Mini estrelas */
.mini-star {
    position: absolute;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23FFF0B3' d='M5,0l1.5,3.5L10,5L6.5,6.5L5,10L3.5,6.5L0,5l3.5-1.5L5,0z'/%3E%3C/svg%3E");
    background-size: contain;
    animation: twinkle-mini 2s infinite alternate;
    opacity: 0.7;
}

@keyframes twinkle-mini {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.pixel-button {
    background: #ff89b4;
    color: #fff !important;
    text-decoration: none !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: inline-block;
    cursor: pointer;
}
.pixel-button:hover {
    background: #ab76ff;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(171,118,255,0.15);
}

/* =================== PIXEL PARTICLES =================== */
.pixel-particle {
  position: absolute;
  display: block;
  animation: float-up 5s ease-in-out forwards;
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-50vh) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Estilos específicos para cada tipo de partícula */
.particle-type-1 {
  background-color: #FF89B4; /* Rosa */
  border-radius: 50%; /* Forma arredondada para corações */
}

.particle-type-2 {
  background-color: #AB76FF; /* Roxo */
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); /* Forma de estrela */
}

.particle-type-3 {
  background-color: #ffb6d5; /* Rosa claro */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* Forma de diamante */
}

/* Efeito Matrix para o terminal */
.matrix-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    pointer-events: none;
}

.matrix-column {
    position: absolute;
    top: -20%;
    width: 40px;
    text-align: center;
    animation: matrix-rain 20s linear infinite;
    opacity: 0;
}

.matrix-column span {
    display: block;
    color: #0f0;
    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 0 0 10px #0f0;
    animation: glow 1.5s ease-in-out infinite alternate;
    transform: translateY(0);
    transition: all 0.2s;
}

@keyframes matrix-rain {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
    }
    to {
        text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0;
    }
}

/* =================== LINK PARA PULAR PARA O CONTEÚDO (ACESSIBILIDADE) =================== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
    text-decoration: none;
    font-size: 1rem;
    border-bottom-right-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.skip-to-content:focus {
    top: 0;
}
