body {
    background-image: url('./assets/fl3.jpg');
    background-size: cover;       /* Ajusta a imagem para cobrir a tela inteira */
    background-repeat: no-repeat; /* Impede que a imagem se repita */
    background-position: center;  /* Centraliza a imagem na tela */
    background-attachment: fixed; /* Mantém o fundo estático ao rolar a página */

    padding: 70px 0;
    font-family: "Courier New", Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Silkscreen&display=swap');

.widget h3, .about-widget h2 {
    font-family: 'Silkscreen', monospace;
}

body, .widget p {
    font-family: 'Share Tech Mono', monospace;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle,
            transparent 45%,
            rgba(0, 0, 0, .12));
}

.site-window {
    max-width: 1050px;
    background-color: #8ba3869d;
    border: 3px solid #3c530ecb;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    box-sizing: border-box;

    /* --- Efeito de Zoom Out 85% --- */
    transform: scale(0.85);
    transform-origin: top center; /* Garante que a redução seja alinhada pelo topo */
    margin-bottom: -10%; /* Compensação de espaço em branco que o scale gera no fundo */
}

.container {
    margin-top: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 220px 1fr 220px; /* ← Ajustado para 220px nas laterais */
    gap: 15px;
    max-width: 100%;
    position: relative;
}


body{
cursor:url("./assets/leaf.cur"), auto;
}


.widget:hover {

    transform: translateY(-3px);

    box-shadow:
        5px 5px 0 #4c5a31;
}

.nav-widget {
    background-color: #e6e7d4;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-links a {
    display: block;
    padding: 6px 10px;
    background-color: #d6d7c4;
    border: 1px solid #848f6e;
    border-radius: 4px;
    color: #4c5a31;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85em;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #848f6e;
    color: #fff;
}



.widget {
    background-color: #fffef8;
    border: 3px solid #848f6e;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0px #4c5a31;
    position: relative;
}

.widget h3 {
    margin: 0 0 12px 0;
    color: #4c5a31;
    font-size: 1.1em;
    text-align: center;
    text-shadow: 1px 1px #d9d9d9;
    border-bottom: 2px dotted #848f6e;
    padding-bottom: 8px;
    font-family: "Pixel Operator", monospace;
}

.widget p,
.widget li {
    font-size: 0.85em;
    line-height: 1.4;
    color: #333;
    margin-bottom: 8px;
}

.left-sidebar .widget {
    background-color: #e6e7d4;
}

.profile-pic {
    width: 80px;
    height: 80px;
    background-color: #d6d7c4;
    border: 2px solid #848f6e;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.status-bar {
    background-color: #6d7759;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    text-align: center;
    margin: 8px 0;
}

.links list {
    list-style: none;
    padding: 0;
}

.links li {
    background-color: #d6d7c4;
    border: 1px solid #848f6e;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 4px 0;
    text-align: center;
    transition: background 0.2s ease;
}

.links li:hover {
    background-color: #c6c7b4;
}

.links a {
    color: #4c5a31;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8em;
}

.main-content {
    display: flex;
    flex-direction: column;
}

.about-widget {
    background: linear-gradient(135deg, #fffef8, #f5f4e8);
}

.about-widget h2 {
    color: #4c5a31;
    font-size: 1.4em;
    text-align: center;
    margin: 0 0 15px 0;
    text-shadow: 1px 1px #d9d9d9;
    font-family: "Pixel Operator", monospace;
}

.about-widget p {
    font-style: inherit;
    text-align: center;
}



/* --- Container da Nota de Updates --- */
.updates-list {
    background-image: url('./assets/pages3.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: 100%;
    min-height: 290px;
    box-sizing: border-box;

    padding: 45px 25px 30px 25px;

    max-height: 320px;
    overflow-y: auto;

    /* ESSENCIAL: Garante que a fita se posicione exatamente no topo deste papel */
    position: relative;
    margin-top: 25px;
    transform: rotate(-2deg);

}


/* --- Fita Adesiva (Washi Tape) --- */
.updates-list::after {
    content: "";
    width: 85px;
    height: 22px;

    /* Amarelo pastel semi-transparente com efeito de fita */
    background: rgba(239, 230, 167, 0.75);

    /* Bordas suaves e leve textura de fita adesiva */
    border-left: 2px dashed rgba(255, 255, 255, 0.4);
    border-right: 2px dashed rgba(255, 255, 255, 0.4);

    /* Sombra sutil para dar profundidade 3D */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);

    /* Efeito fosco/translúcido estilo durex/washi tape */
    backdrop-filter: blur(1px);

    position: absolute;

    /* Ajuste de posição: Metade dentro do papel, metade fora */
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);

    z-index: 10;
    pointer-events: none;
}


.updates-list:hover {
    transform: scale(1.01);
}

/* --- Itens de Update dentro da Folha --- */
.update-item {
    background-color: transparent;
    border-left: none;
    padding: 0;
    margin-bottom: 12px;
}

.update-date {
    color: #4a5832;
    font-weight: bold;
    font-size: 0.72em;
    letter-spacing: 0.5px;
}

.update-text {
    margin: 1px 0 0 0;
    font-size: 0.80em;
    color: #2b331f;
    line-height: 1.25;
}

.currently-item {
    background-color: #e6e7d4;
    border-radius: 4px;
    padding: 6px 8px;
    margin: 6px 0;
    border-left: 3px solid #4c5a31;
}

.currently-label {
    color: #4c5a31;
    font-weight: bold;
    font-size: 0.75em;
}

.currently-value {
    margin: 2px 0 0 0;
    font-size: 0.8em;
}

footer {
    text-align: center;
    color: #000;
    padding: 20px;
    margin-top: 40px;
    font-size: 15px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #848f6e;
    border-radius: 4px;
}

.notebook-container {
    position: relative;
    background: linear-gradient(135deg, #f5f4e8, #e8e7d8);
    border: 2px solid #848f6e;
    border-radius: 8px;
    padding: 20px 15px;
    margin: 10px 0;
    min-height: 120px;
    background-image:
        linear-gradient(to right, #d4d3c8 1px, transparent 1px),
        linear-gradient(to bottom, #e0dfd4 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: -1px -1px;
}

.notebook-container::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #c44569;
    border-radius: 1px;
}

/* --- Elementos Flutuantes (Stickers) --- */
.floating {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    /* Permite clicar o que estiver atrás do sticker */
    transition: transform 0.3s ease;
}

.floating:hover {
    transform: scale(1.2);
}

/* Posicionamento Fixo dos Stickers ancorados ao Container */
.floating-tomato {
    top: -80px;
    right: 10px;
    width: 100px;
    height: 100px;
}

.floating-workman {
    top: -50px;
    left: -180px;
    width: 200px;
    height: 200px;
}

.floating-cat {
    top: 230px;
    right: -160px;
    width: 120px;
    height: 120px;
}

.floating-lucky {
    top: 380px;
    left: -50px;
    width: 150px;
    height: 150px;
}

.floating-star {
    top: 680px;
    left: 170px;
    width: 80px;
    height: 80px;
}


/* --- Estilo para o Novo Widget de Foto Vintage --- */

/* 1. O contêiner principal (o 'widget') */
.portrait-photo-widget {
    background-color: #f7f7f7;
    /* Cor de fundo off-white do papel da foto */
    border: 1px solid #d3d3d3;
    /* Borda sutil */
    border-radius: 4px;
    /* Cantos levemente arredondados */
    padding: 15px;
    /* Espaçamento interno para a borda branca */
    width: 450px;
    /* Largura fixa para manter o aspecto portrait, ajuste conforme necessário */
    margin: 20px auto;
    /* Centraliza na página e dá margem vertical */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    /* Sombra sutil para profundidade */
    position: relative;
    /* Para posicionar as fitas */
    font-family: 'Courier New', Courier, monospace;
    /* Fonte tipo máquina de escrever */
    text-align: center;
    /* Centraliza o texto */
}

/* 2. A imagem dentro do widget (o Panpour de image_1.png) */
.portrait-photo-widget img {
    width: 100%;
    /* Ocupa toda a largura do contêiner */
    height: auto;
    /* Mantém a proporção */
    border: 3px solid #f0f0f0;
    /* Borda interna branca extra */
    border-radius: 0;
    /* Imagem com cantos retos para o estilo foto */
    display: block;
    /* Remove espaços em branco extras */
    margin-bottom: 15px;
    /* Espaço para o texto abaixo */
}

/* 3. O texto da legenda */
.photo-caption {
    font-size: 14px;
    color: #666;
    /* Cor cinza escuro para o texto */
    padding: 0 10px;
    /* Espaço nas laterais */
    position: relative;
    /* Para posicionar o ícone da folha */
}

/* 4. O ícone da folhinha ao lado do texto */
.photo-caption::after {
    content: "🍃";
    /* O caractere emoji de folha */
    font-size: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.photo-caption::before {
    content: "🍃";
    /* O caractere emoji de folha */
    font-size: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

/* 5. As fitas adesivas (fita crepe) - Usando pseudoelementos */
.portrait-photo-widget::before,
.portrait-photo-widget::after {
    content: "";
    position: absolute;
    width: 70px;
    /* Largura da fita */
    height: 20px;
    /* Altura da fita */
    background-color: rgba(223, 210, 141, 0.6);
    /* Cor creme translúcida */
    transform: rotate(-22deg);
    /* Inclinação */
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    /* Sombra da fita */
    border-radius: 2px;
}

/* Fita superior esquerda */
.portrait-photo-widget::before {
    top: -5px;
    left: 20px;
}

/* Fita superior direita */
.portrait-photo-widget::after {
    top: 5px;
    /* Ligeiramente mais baixa */
    right: 25px;
    transform: rotate(17deg);
    /* Inclinação diferente */
}

/* =========================================
   CONTAINER PRINCIPAL (Prateado)
========================================= */
.retro-player-widget {
    display: flex;
    align-items: center;
    width: 220%;
    max-width: 400px;
    height: 140px;
    margin-left: 55px;
    margin-bottom: 25px;
    padding: 15px;

    background: linear-gradient(to bottom, #f0f0f0, #c8c8c8);
    border-radius: 70px;
    /* Formato de pílula */
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.8),
        /* Brilho superior */
        inset 0 -2px 5px rgba(0, 0, 0, 0.2),
        /* Sombra interna inferior */
        0 10px 15px rgba(0, 0, 0, 0.3);
    /* Sombra externa */

    border: 1px solid #a0a0a0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


/* =========================================
   QUANDO ESTÁ TOCANDO
========================================= */

.retro-player-widget.playing {
    animation: player-breathe 2s ease-in-out infinite;
}

@keyframes player-breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }
}


/* =========================================
   RODA DE CONTROLES
========================================= */

.player-controls {
    flex: 0 0 110px;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background:
        radial-gradient(circle at 40% 30%,
            #ffffff,
            #eeeeee 55%,
            #d8d8d8);

    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, .18),
        inset 0 3px 5px rgba(255, 255, 255, .8),
        0 2px 4px rgba(0, 0, 0, .15);

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    border: 1px solid #ccc;
}


/* =========================================
   CONTROLE CIRCULAR
========================================= */

.control-wheel {
    width: 100%;
    height: 100%;

    position: relative;
}

/* =========================================
   ESTILO BASE PARA OS BOTÕES DA RODA (+, -, «, »)
========================================= */

.control-wheel button {
    position: absolute;
    border: none;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    user-select: none;
    transition: transform .15s ease, color .15s ease;
}

/* =========================================
   POSICIONAMENTO E HOVER INDIVIDUAL
========================================= */

/* Botão + (Topo) */
.btn-top {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-top:hover {
    color: #555;
    transform: translateX(-50%) translateY(-2px);
}

/* Botão - (Base) */
.btn-bottom {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-bottom:hover {
    color: #555;
    transform: translateX(-50%) translateY(2px);
}

/* Botão « (Esquerda) */
.btn-left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-left:hover {
    color: #555;
    transform: translateY(-50%) translateX(-2px);
}

/* Botão » (Direita) */
.btn-right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-right:hover {
    color: #555;
    transform: translateY(-50%) translateX(2px);
}

/* =========================================
   PLAY / PAUSE (BOTÃO CENTRAL)
========================================= */

.btn-center {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #f8f8f8, #d5d5d5);
    border: 1px solid #c0c0c0 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .1);
    color: #888;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-center:hover {
    color: #555;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .15), 0 0 5px rgba(150, 160, 60, .25);
}

.btn-center:active {
    transform: translate(-50%, -50%) scale(.92);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, .25);
}


/* =========================================
   TELA
========================================= */

.player-screen-container {
    flex: 1;
    height: 110px;
    /* mesma altura do player */
    margin-left: 15px;

    border-radius: 40px;
    padding: 3px;

    background: linear-gradient(to bottom, #999, #eee);

    box-sizing: border-box;
}

.player-screen {
    position: relative;

    width: 100%;
    height: 100%;

    border-radius: 37px;

    background: linear-gradient(to bottom,
            #d4e06c,
            #a8c045);

    box-shadow: inset 0 0 10px rgba(0, 0, 0, .3);

    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #334411;
}


/* =========================================
   TELA TOCANDO
========================================= */

.retro-player-widget.playing .player-screen {

    filter: saturate(1.08);

    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, .3),
        0 0 12px rgba(185, 205, 75, .45);
}


/* =========================================
   GLASS
========================================= */

.screen-gloss {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 50%;

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, .65),
            rgba(255, 255, 255, .08));

    border-radius:
        37px 37px 0 0;

    pointer-events: none;

    z-index: 5;
}


/* =========================================
   NOME DA MÚSICA
========================================= */

.song-info {

    width: 82%;

    font-size: 15px;

    font-weight: bold;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    text-align: center;

    margin-bottom: 5px;

    z-index: 2;

    text-shadow:
        0 1px rgba(255, 255, 255, .35);
}


/* =========================================
   EQUALIZADOR
========================================= */

.equalizer {

    height: 18px;

    width: 75%;

    display: flex;

    align-items: end;

    justify-content: center;

    gap: 3px;

    z-index: 2;

    opacity: .7;
}

.equalizer span {

    width: 3px;

    height: 4px;

    border-radius: 2px;

    background: #53651d;

    transition: height .1s ease;
}


/* animação */

.playing .equalizer span:nth-child(1) {
    animation: eq1 .55s infinite alternate;
}

.playing .equalizer span:nth-child(2) {
    animation: eq2 .42s infinite alternate;
}

.playing .equalizer span:nth-child(3) {
    animation: eq3 .7s infinite alternate;
}

.playing .equalizer span:nth-child(4) {
    animation: eq4 .35s infinite alternate;
}

.playing .equalizer span:nth-child(5) {
    animation: eq5 .6s infinite alternate;
}

.playing .equalizer span:nth-child(6) {
    animation: eq6 .4s infinite alternate;
}

.playing .equalizer span:nth-child(7) {
    animation: eq7 .65s infinite alternate;
}

.playing .equalizer span:nth-child(8) {
    animation: eq8 .5s infinite alternate;
}


@keyframes eq1 {
    from {
        height: 4px;
    }

    to {
        height: 15px;
    }
}

@keyframes eq2 {
    from {
        height: 6px;
    }

    to {
        height: 11px;
    }
}

@keyframes eq3 {
    from {
        height: 3px;
    }

    to {
        height: 17px;
    }
}

@keyframes eq4 {
    from {
        height: 7px;
    }

    to {
        height: 13px;
    }
}

@keyframes eq5 {
    from {
        height: 4px;
    }

    to {
        height: 16px;
    }
}

@keyframes eq6 {
    from {
        height: 8px;
    }

    to {
        height: 12px;
    }
}

@keyframes eq7 {
    from {
        height: 3px;
    }

    to {
        height: 14px;
    }
}

@keyframes eq8 {
    from {
        height: 5px;
    }

    to {
        height: 17px;
    }
}


/* =========================================
   PROGRESSO
========================================= */

.progress-bar {

    width: 80%;

    -webkit-appearance: none;
    appearance: none;

    background: transparent;

    z-index: 2;

    cursor: pointer;
}


/* trilho */

.progress-bar::-webkit-slider-runnable-track {

    height: 5px;

    background:
        rgba(0, 0, 0, .15);

    border-radius: 3px;

    border:
        1px solid rgba(255, 255, 255, .3);
}


/* bolinha */

.progress-bar::-webkit-slider-thumb {

    -webkit-appearance: none;

    height: 13px;
    width: 13px;

    margin-top: -5px;

    border-radius: 50%;

    background: #f5f5f5;

    border: 1px solid #888;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .4);

    cursor: pointer;

    transition:
        transform .15s ease;
}

.progress-bar::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}


/* Firefox */

.progress-bar::-moz-range-thumb {

    height: 13px;
    width: 13px;

    border-radius: 50%;

    background: #f5f5f5;

    border: 1px solid #888;

    cursor: pointer;
}


/* =========================================
   TEMPO
========================================= */

.screen-footer {

    display: flex;

    justify-content: space-between;

    width: 80%;

    margin-top: 4px;

    font-size: 11px;

    color: #556622;

    z-index: 2;
}


/* =========================================
   BRILHINHOS
========================================= */

.screen-sparkle {

    position: absolute;

    color: rgba(255, 255, 255, .7);

    pointer-events: none;

    opacity: 0;
}

.playing .screen-sparkle {

    animation:
        sparkle 2s infinite;
}

.sparkle-1 {
    right: 12px;
    top: 20px;
}

.sparkle-2 {
    left: 18px;
    bottom: 15px;

    animation-delay: .8s !important;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(.5);
    }

    50% {
        opacity: .8;
        transform: scale(1);
    }
}

