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

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Nunito Sans', sans-serif;
}

.desktop {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.wallpaper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.wallpaper-deco {
    position: absolute;
    top: 18px;
    right: 28px;
    font-size: 14px;
    color: #def4ff;
    opacity: 0.6;
    text-align: right;
    line-height: 1.6;
    pointer-events: none;
    z-index: 1;
}

.taskbar p {
    font-size: 13px;
    font-weight: 600;
    color: #def4ff;
    opacity: 0.75;
    text-align: center;
    line-height: 1.6;
    pointer-events: none;
    z-index: 1;
}

.desktop-icons {
    position: absolute;
    top: 36px;
    left: 32px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    gap: 15px;
    z-index: 1;
    max-height: calc(100vh - 60px);
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    width: 90px;
}

.icon-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: contain;
    border: 1.5px solid #90c8e8;
    background: rgba(255, 255, 255, 0.55);
    transition: transform 0.1s;
}

.icon:hover .icon-img {
    transform: scale(1.06);
}

.icon-label {
    font-size: 11px;
    font-weight: 700;
    color: #2a5f80;
    text-align: center;
    line-height: 1.3;
}

.window {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid #90c8e8;
    border-radius: 12px;
    min-width: 400px;
    display: none;
    flex-direction: column;
    z-index: 2;
    transform-origin: top left;
    resize: both;
    overflow: hidden;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes windowClose {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.92);
    }
}

.window.open {
    display: flex;
    animation: windowOpen 0.15s ease-out forwards;
}

.window.closing {
    animation: windowClose 0.12s ease-in forwards;
}

.window-titlebar {
    background: #188bc5;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
    cursor: move;
    flex-shrink: 0;
}

.window-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.window-btns {
    display: flex;
    gap: 6px;
}

.wbtn {
    width: 18px;
    height: 18px;
    border-radius: 20%;
    border: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.1s;
}

.wbtn-close {
    background: #f0a8a8;
    color: #8b2020;
}

.wbtn-close:hover {
    opacity: 0.8;
}

.window-body {
    padding: 16px;
    font-size: 15px;
    color: #2a4a5e;
    line-height: 1.7;
    user-select: text;
}

.window-body.scrollable {
    max-height: 500px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.window-body h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: #1a5a7a;
    margin-bottom: 6px;
}

.window-body p {
    margin-bottom: 8px;
}

.hint {
    font-size: 0.75em;
    color: #5a90aa;
    margin-top: 4px;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.about-photo {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #90c8e8;
    flex-shrink: 0;
    background: #ddf0fa;
}

.about-name {
    font-size: 1.07em;
    font-weight: 700;
    color: #1a5a7a;
    margin-bottom: 2px;
}

.about-sub {
    font-size: 0.8em;
    color: #5a90aa;
    line-height: 1.5;
}

.tag {
    display: inline-block;
    background: #ddf0fa;
    border: 1px solid #90c8e8;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.75em;
    font-weight: 600;
    color: #2a6080;
    margin: 2px;
}

.case-card {
    background: #eef7fd;
    border: 1.5px solid #90c8e8;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.case-card .case-title {
    font-size: 0.87em;
    font-weight: 700;
    color: #1a5a7a;
}

.case-card .case-sub {
    font-size: 0.75em;
    color: #5a90aa;
    margin-top: 2px;
}

.tab-bar {
    display: flex;
    border-bottom: 1.5px solid #90c8e8;
    background: #eef7fd;
    flex-shrink: 0;
}

.tab-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #5a90aa;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.tab-btn.active {
    color: #1a5a7a;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid #7ab8d8;
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.tab-content {
    display: flex;
    flex-direction: column;
}

.tab-content.hidden {
    display: none;
}

.art-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.art-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid #90c8e8;
}

.section-label {
    font-size: 0.8em;
    font-weight: 700;
    color: #5a90aa;
    margin-bottom: 8px;
    text-transform: lowercase;
}

.video-card {
    background: #eef7fd;
    border: 1.5px solid #90c8e8;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb {
    background: #c9e8f5;
    padding: 24px 14px;
    font-size: 0.87em;
    font-weight: 700;
    color: #1a5a7a;
    text-align: center;
}

.video-meta {
    padding: 6px 12px;
    font-size: 0.75em;
    color: #5a90aa;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.contact-row a,
.inline-link {
    color: #1a6a9a;
    text-decoration: underline;
    user-select: text;
}

.dl-btn {
    display: inline-block;
    margin-top: 10px;
    background: #188bc5;
    color: #ffffff;
    font-size: 0.87em;
    font-weight: 700;
    border: 1.5px solid #5a9abf;
    border-radius: 8px;
    padding: 6px 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.dl-btn:hover {
    background: #269fd7;
}

.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #188bc5c6;
    border-top: 1.5px solid #5a9abf;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
}

.taskbar-brand {
    font-size: 14px;
    color: #def4ff;
    letter-spacing: 0.5px;
}

.taskbar-clock {
    font-size: 13px;
    color: #def4ff;
}

/* MOBILE VIEWWWW */

.mobile-view {
    display: none;
}

@media (max-width: 768px) {

    .desktop-icons,
    .wallpaper-deco,
    .tagline,
    .taskbar {
        display: none !important;
    }

    .mobile-view {
        display: flex !important;
        z-index: 2;
    }

    body,
    html {
        overflow: auto;
        height: 100%;
    }

    .desktop {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .window {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        min-width: unset !important;
        max-height: 82vh;
        border-radius: 20px 20px 0 0 !important;
        border-top: 2px solid #90c8e8 !important;
        transform: translateY(100%);
        transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1);
        z-index: 300 !important;
    }

    .window.open {
        transform: translateY(0) !important;
        animation: none !important;
    }

    .window.closing {
        transform: translateY(100%) !important;
        animation: none !important;
        transition: transform 0.2s ease-in !important;
    }

    .mobile-overlay {
        display: block;
    }

    .window-body.scrollable {
        max-height: 60vh;
    }

    .window-titlebar {
        cursor: default;
    }
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(100, 170, 210, 0.35);
    z-index: 299;
}

.mobile-view {
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 48px 24px 80px;
    gap: 32px;
}

.mobile-header {
    text-align: center;
}

.mobile-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a5a7a;
    margin-bottom: 6px;
}

.mobile-header p {
    font-size: 14px;
    color: #4a88aa;
    font-weight: 600;
}

.mobile-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 320px;
}

.mobile-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.mobile-icon .icon-img {
    width: 72px;
    height: 72px;
    transition: transform 0.1s;
}

.mobile-icon:active .icon-img {
    transform: scale(0.95);
}

.mobile-tagline {
    font-size: 13px;
    font-weight: 600;
    color: #4a88aa;
    opacity: 0.75;
    text-align: center;
    line-height: 1.7;
}