* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    height: 100vh;
    overflow: hidden;
    color: white;
    background: black;
    msrgin: 0;
}

.desktop {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===== PARALLAX CAMADAS ===== */

.layer {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    transition: transform 0.08s ease-out;
}


/* FUNDO */
.layer-back {
    background: url("../assets/wallpapers/fjord.png") no-repeat center center;
    background-size: cover;
    transform: scale(1.05); /* leve aumento fixo */
    z-index: 0;
}
}

/* LUZ SUAVE */
.layer-mid {
    background:
        radial-gradient(circle at center,
            rgba(0,0,0,0.15) 0%,
            rgba(0,0,0,0.45) 65%,
            rgba(0,0,0,0.75) 100%
        ),
        linear-gradient(to bottom,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.25) 40%,
            rgba(0,0,0,0.65) 100%
        );
    z-index: 1;
}

/* LUZ PROFUNDA */
.layer-front {
    background: radial-gradient(circle at 30% 30%, rgba(61,169,252,0.12), transparent 70%);
    z-index: 2;
}



/* ===== CLIMA ===== */

.weather {
    position: fixed;
    top: 20px;
    left: 40px;
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    z-index: 20;
}

/* ===== DATA + HORA ===== */

.datetime-area {
    position: fixed;
    top: 20px;
    right: 40px;
    text-align: right;
    z-index: 20;
}

#clock {
    font-size: 1.2rem;
    font-weight: 600;
}

#date {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== BARRA AGENDA ===== */

.calendar-bar {
    margin-top: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.calendar-bar:hover {
    background: rgba(61,169,252,0.5);
}

.calendar-widget {
    width: 340px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(20,20,30,0.95);
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.calendar-widget.active {
    max-height: 400px;
}

.calendar-widget iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== BEM VINDO ===== */

.welcome {
    position: fixed;
    top: 35%;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 3px;
    z-index: 10;
}

/* ===== BARRA LATERAL ===== */

.side-links {
    position: fixed;
    left: 20px;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
}

.side-links a {
    font-size: 1.6rem;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    transition: 0.2s ease;
}

.side-links a:hover {
    transform: scale(1.2);
    background: rgba(61,169,252,0.5);
}

/* ===== DOCK ===== */

/* ===== DOCK BASE ===== */

.dock {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 26px;
    padding: 16px 45px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.35),
        inset 0 0 10px rgba(255,255,255,0.08);
    z-index: 30;
}

/* ===== ITEM DO DOCK ===== */

.dock-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
    transform-origin: center bottom;
}

/* ===== ÍCONES ===== */

.dock-item img {
    width: 50px;              /* tamanho visual padronizado */
    height: 50px;
    object-fit: contain;      /* mantém proporção */
    display: block;
    padding: 6px;             /* equaliza visualmente */
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.45));
}

/* ===== MODO DIA ===== */

body.day .layer-mid {
    background:
        radial-gradient(circle at center,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.25) 70%,
            rgba(0,0,0,0.45) 100%
        );
}

body.day .welcome,
body.day .weather,
body.day .datetime-area {
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ===== MODO NOITE ===== */

body.night .layer-mid {
    background:
        radial-gradient(circle at center,
            rgba(0,0,0,0.25) 0%,
            rgba(0,0,0,0.65) 70%,
            rgba(0,0,0,0.85) 100%
        );
}

body.night .welcome,
body.night .weather,
body.night .datetime-area {
    text-shadow: 0 4px 14px rgba(0,0,0,0.95);
}

/* Transição suave */

.layer-mid,
.welcome,
.weather,
.datetime-area {
    transition: all 0.6s ease;
}


/* ===== SIDE PANEL MODERNO ===== */

.side-panel {
    position: fixed;
    top: 120px;
    left: 20px;
    width: 70px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 25px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(25px);
    transition: width 0.3s ease;
    z-index: 40;
    overflow: hidden;
}

.side-panel:hover {
    width: 220px;
}

.side-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
}

.side-item img {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}

.side-item span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.side-panel:hover .side-item span {
    opacity: 1;
}

.side-item:hover img {
    transform: scale(1.2);
}

.side-item:hover {
    background: rgba(61,169,252,0.25);
    border-radius: 12px;
    padding: 6px;
}

/* ===== SIDE PANEL ARANDA OS ===== */

.side-panel {
    position: fixed;
    top: 140px;
    left: 20px;
    width: 70px;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.35),
        inset 0 0 10px rgba(255,255,255,0.08);
    transition: width 0.35s ease;
    z-index: 50;
    overflow: hidden;
}

/* EXPANSÃO */

.side-panel:hover {
    width: 240px;
}

/* ITEM */

.side-item {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 8px;
    border-radius: 14px;
    transition: 0.2s ease;
}

/* ÍCONES */

.side-item img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.4));
}

/* TEXTO ESCONDIDO */

.side-item span {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.side-panel:hover .side-item span {
    opacity: 1;
}

/* HOVER PREMIUM */

.side-item:hover {
    background: rgba(61,169,252,0.25);
}

.side-item:hover img {
    transform: scale(1.25);
}


/* ===== MINI PLAYER FIXO DIREITA ===== */

.music-player {
    width: 320px;
    margin: 20px auto 0 auto;
    border-radius: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    z-index: 60;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.music-player.active {
    max-height: 300px;
    opacity: 1;
}

.player-expanded {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.player-controls button {
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.player-header {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.7;
    cursor: grab;
}

/* ========================= */
/* ===== RESPONSIVO ======== */
/* ========================= */

@media (max-width: 768px) {

    /* ===== DOCK MOBILE ===== */
    .dock {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
        gap: 16px;
        padding: 12px 20px;
        overflow-x: auto;
        justify-content: center;
    }

    .dock-item {
        width: 50px;
        height: 50px;
    }

    .dock-item img {
        width: 38px;
        height: 38px;
        padding: 4px;
    }

    /* ===== ESCONDER BARRA LATERAL ===== */
    .side-panel {
        display: none;
    }

}
