@font-face {
    font-family: 'Mini';
    src: url('Fonts/mini.otf') format('opentype');
}

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

body {
    font-family: 'Mini', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.screen {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Intro crumple note overlay */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro-overlay.hidden {
    display: none;
}

#intro-frame {
    width: 93%;
    height: 93%;
    object-fit: contain;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.screen.active {
    display: block;
}

#screen1 {
    background-image: url('Images/Back1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.screen1-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scale1, 1));
    width: 1440px;
    height: 900px;
}

#screen1 .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}

.time-display {
    font-size: 96px;
    color: #682428;
}

.enter-text {
    font-size: 32px;
    color: #682428;
    margin-top: 20px;
}

.girl-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: 80vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 10;
}

#screen2 {
    background-image: url('Images/Back2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.items-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scale, 1));
    width: 1440px;
    height: 900px;
}

#screen2 .item {
    position: absolute;
}

#screen2 .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#screen2 .item:not(.bag) {
    cursor: pointer;
}

#screen2 .item:not(.bag):not(.journal):not(.apps) img {
    transition: transform 0.3s ease;
}

#screen2 .item:not(.bag):not(.journal):not(.apps):hover img {
    transform: scale(1.1);
}

.bag {
    top: 20px;
    left: 15px;
    width: 500px;
}

.keys {
    bottom: 70px;
    left: 60px;
    width: 240px;
}

.journal {
    top: 45px;
    left: 50%;
    transform: translateX(-10%);
    width: 480px;
}

.journal img {
    transition: transform 0.3s ease;
}

.journal:hover img {
    transform: scale(1.1);
}

.contacts {
    bottom: 70px;
    left: 330px;
    width: 320px;
}

.apps {
    bottom: 35px;
    left: 50%;
    transform: translateX(15%);
    width: 400px;
}

.apps img {
    transition: transform 0.3s ease;
}

.apps:hover img {
    transform: scale(1.1);
}

.blog {
    display: none;
}

.resume {
    bottom: 350px;
    right: 15px;
    width: 300px;
}

/* Contacts Overlay */
.contacts-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.contacts-overlay.active {
    display: flex;
}

.phone-container {
    position: relative;
    height: 85vh;
    max-height: 750px;
}

.phone-frame {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.phone-content {
    position: absolute;
    top: 3%;
    left: 5%;
    width: 90%;
    height: 94%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow: hidden;
}

.phone-time {
    color: #ffffff;
    font-size: 18px;
    margin-top: 5px;
    margin-left: 20px;
}

/* Widget Styles */
.phone-widget {
    background: #B8B8B8;
    border-radius: 20px;
    padding: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.widget-greeting {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.widget-todo-label {
    font-size: 12px;
    color: #fff;
    margin-bottom: 5px;
}

.widget-todo-box {
    background: #505985;
    border-radius: 12px;
    padding: 10px;
    color: #fff;
}

.todo-item {
    font-size: 11px;
    margin-bottom: 4px;
}

.todo-item.small {
    font-size: 9px;
}

/* Phone Buttons */
.phone-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-start;
    margin-top: 5px;
}

.phone-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.phone-btn:hover {
    transform: scale(1.1);
}

.phone-btn img {
    width: 100px;
    height: auto;
}

.phone-btn span {
    color: #4A4038;
    font-size: 18px;
    margin-top: 15px;
}

/* Phone Stars */
.phone-stars {
    position: relative;
    height: 150px;
    margin: 20px 0;
}

.phone-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.phone-stars .star-1 {
    top: 10px;
    left: 15%;
    font-size: 16px;
}

.phone-stars .star-2 {
    top: 70px;
    left: 30%;
    font-size: 12px;
}

.phone-stars .star-3 {
    top: 25px;
    left: 50%;
    font-size: 18px;
}

.phone-stars .star-4 {
    top: 120px;
    left: 45%;
    font-size: 12px;
}

.phone-stars .star-5 {
    top: 15px;
    left: 70%;
    font-size: 16px;
}

.phone-stars .star-6 {
    top: 100px;
    left: 75%;
    font-size: 14px;
}

/* Phone Navbar */
.phone-navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #D3D3D3;
    border-radius: 25px;
    padding: 12px 20px;
    margin-top: auto;
}

.nav-btn {
    transition: transform 0.3s ease;
}

.nav-btn:hover {
    transform: scale(1.15);
}

.nav-btn img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

#cam-btn img {
    width: 65px;
    height: 65px;
}

/* Phone 2 styles */
.phone2-content {
    display: none;
}

.phone-container.phone2 .phone-content:not(.phone2-content) {
    display: none;
}

.phone-container.phone2 .phone2-content {
    display: flex;
}

.phone2-content .phone-time {
    color: #4A4038;
}

/* Flower Drawing Section */
.flower-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.flower-title {
    font-size: 14px;
    color: #682428;
    margin-bottom: 10px;
}

.flower-draw-area {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.color-palette {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.color-btn:nth-child(1) { background: #2E7D32; }
.color-btn:nth-child(2) { background: #F8BBD9; }
.color-btn:nth-child(3) { background: #E57373; }
.color-btn:nth-child(4) { background: #FFEB3B; }
.color-btn:nth-child(5) { background: #64B5F6; }

.color-btn.active {
    border-color: #682428;
    transform: scale(1.1);
}

.color-btn:hover {
    transform: scale(1.1);
}

.canvas-wrapper {
    position: relative;
}

#flower-canvas {
    width: 200px;
    height: 200px;
    background: #fff;
    border: 2px dashed #682428;
    border-radius: 8px;
    cursor: crosshair;
}

.reset-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #682428;
}

.plant-btn {
    margin-top: 12px;
    padding: 8px 24px;
    background: #f5f5f5;
    border: 2px solid #682428;
    border-radius: 18px;
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    color: #682428;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.plant-btn:hover {
    transform: scale(1.05);
    background: #e8e8e8;
}

.garden-container {
    margin-top: auto;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.garden-wrapper {
    position: relative;
    width: 80%;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.garden-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.flowers-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.planted-flower {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
}

/* Journal Overlay */
.journal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.journal-overlay.active {
    display: flex;
}

.journal-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.journal-page {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.journal-frame {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: none;
    pointer-events: none;
}

.journal-frame.active {
    display: block;
}

.journal-close-btn {
    position: absolute;
    top: 13.5%;
    right: 8.5%;
    width: 5%;
    height: 9%;
    background: transparent;
    border: none;
    cursor: pointer;
}

.journal-next-btn {
    position: absolute;
    bottom: 8%;
    right: 8.5%;
    width: 5%;
    height: 7%;
    background: transparent;
    border: none;
    cursor: pointer;
}

.journal-next-btn.hidden {
    display: none;
}

.journal-prev-btn {
    position: absolute;
    bottom: 14%;
    left: 10%;
    width: 5%;
    height: 7%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
}

.journal-prev-btn.active {
    display: block;
}

/* Apps Overlay */
.apps-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 100;
    justify-content: center;
    align-items: flex-end;
}

.apps-overlay.active {
    display: flex;
}

.laptop-container {
    width: calc(100% - 40px);
    max-width: none;
    margin: 20px 20px 0 20px;
}

.laptop-screen {
    background: #f5f5f5;
    border: 12px solid #1a1a1a;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: calc(100vh - 50px);
    overflow: hidden;
    position: relative;
}

.boot-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.boot-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.apple-logo {
    width: 80px;
    height: 100px;
    background-image: url('Images/apple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.desktop-content {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: #99A7ED;
    position: relative;
    overflow: hidden;
}

/* Decorative Stars */
.decor-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 1;
}

.star-1 {
    top: 15%;
    right: 20%;
    font-size: 18px;
}

.star-2 {
    top: 25%;
    right: 35%;
    font-size: 12px;
}

.star-3 {
    top: 10%;
    right: 50%;
    font-size: 14px;
}

.star-4 {
    top: 35%;
    right: 15%;
    font-size: 10px;
}

.star-5 {
    top: 20%;
    right: 60%;
    font-size: 16px;
}

.star-6 {
    top: 45%;
    right: 25%;
    font-size: 11px;
}

.star-7 {
    top: 8%;
    right: 75%;
    font-size: 13px;
}

.star-8 {
    top: 30%;
    right: 45%;
    font-size: 9px;
}

.desktop-content.visible {
    opacity: 1;
}

/* Menu Bar */
.menu-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 13px;
    color: #333;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.apple-menu {
    width: 14px;
    height: 17px;
    background-image: url('Images/apple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0);
    opacity: 0.8;
}

.menu-item {
    cursor: default;
}

.menu-item.active-app {
    font-weight: 600;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-time {
    font-weight: 500;
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 45px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(2, 110px);
    gap: 12px 35px;
    z-index: 5;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

.desktop-icon:active {
    background: rgba(255, 255, 255, 0.25);
}

.desktop-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 8px;
}

.desktop-icon.icon-large img {
    width: 100px;
    height: 100px;
}

.desktop-icon.icon-blog {
    margin-top: 15px;
}

.desktop-icon.icon-blog img {
    margin-bottom: 23px;
}

.desktop-icon.icon-spaced img {
    margin-bottom: 24px;
}

.desktop-icon[data-app="wildbites"] {
    margin-top: -15px;
}

.desktop-icon[data-app="garden"] {
    margin-top: 15px;
}

.desktop-icon[data-app="garden"] img {
    width: 68px;
    height: 68px;
}

.desktop-icon span {
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 100%;
}

/* Windows Container */
.windows-container {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 50px;
    overflow: hidden;
}

/* Bottom Bar */
.bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
}

.star-btn {
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-btn:hover {
    background: rgba(80, 89, 133, 0.1);
}

/* Minimized Tabs */
.minimized-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.minimized-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #BCBCCB;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.minimized-tab:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.minimized-tab img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.minimized-tab span {
    font-size: 14px;
    font-weight: 500;
    color: #3F3F4F;
}

/* Shutdown Popup */
.shutdown-popup {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 15px;
    background: #F5F0F0;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 200;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shutdown-popup:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.shutdown-popup.active {
    display: block;
}

.shutdown-content {
    display: flex;
    align-items: center;
}

.shutdown-content span {
    font-size: 16px;
    font-weight: 500;
    color: #3F3F4F;
}

/* App Window */
.app-window {
    position: absolute;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: windowOpen 0.3s ease forwards;
    z-index: 10;
    max-width: calc(100% - 20px) !important;
    max-height: calc(100% - 60px) !important;
}

@keyframes windowOpen {
    0% {
        opacity: 0;
        scale: 0.8;
    }
    100% {
        opacity: 1;
        scale: 1;
    }
}

.app-window.closing {
    animation: windowClose 0.2s ease forwards;
}

@keyframes windowClose {
    0% {
        opacity: 1;
        scale: 1;
    }
    100% {
        opacity: 0;
        scale: 0.8;
    }
}

.app-window.focused {
    z-index: 50;
}

.window-titlebar {
    height: 42px;
    background: #3F3F4F;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    cursor: grab;
    flex-shrink: 0;
    border-radius: 10px 10px 0 0;
}

.window-titlebar:active {
    cursor: grabbing;
}

.window-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.window-title-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.window-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.window-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.window-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
}

.window-btn:hover {
    opacity: 0.7;
}

.window-btn.minimize {
    font-size: 20px;
    font-weight: 300;
}

.window-btn.close {
    font-size: 22px;
    font-weight: 300;
}

.window-content {
    flex: 1;
    overflow: auto;
    background: #FAFAFA;
}

.window-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GitHub-style Markdown */
.markdown-content {
    background: #fff;
    padding: 0;
}

.markdown-body {
    padding: 30px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #24292e;
}

.markdown-body .md-banner {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.markdown-body .github-link-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.markdown-body .github-link {
    display: inline-block;
    text-decoration: none;
}

.markdown-body .view-github-btn {
    width: auto;
    height: 70px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.markdown-body .view-github-btn:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.markdown-body h1 {
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaecef;
    margin-top: 24px;
    margin-bottom: 16px;
}

.markdown-body h2 {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaecef;
    margin-top: 24px;
    margin-bottom: 16px;
}

.markdown-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 16px;
}

.markdown-body p {
    margin-bottom: 16px;
}

.markdown-body ul {
    padding-left: 2em;
    margin-bottom: 16px;
}

.markdown-body li {
    margin-bottom: 8px;
}

.markdown-body strong {
    font-weight: 600;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.markdown-body th,
.markdown-body td {
    padding: 10px 14px;
    border: 1px solid #dfe2e5;
    text-align: left;
}

.markdown-body th {
    background: #f6f8fa;
    font-weight: 600;
}

.markdown-body tr:nth-child(even) {
    background: #f6f8fa;
}

.markdown-body .md-icon {
    width: 150px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 16px;
}

.markdown-body .md-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 16px;
}

.markdown-body .md-pair {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 16px;
}

.markdown-body .md-pair .md-screenshot {
    width: calc(50% - 7.5px);
    max-height: none;
}

.markdown-body .md-triple {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 16px;
    max-width: 620px;
}

.markdown-body .md-triple .md-screenshot {
    width: calc((100% - 30px) / 3);
    max-height: none;
}

.markdown-body .md-screenshot {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 350px;
    border-radius: 8px;
    border: 1px solid #dfe2e5;
    object-fit: contain;
}

/* App-specific window content */
.app-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.app-placeholder img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.app-placeholder h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.app-placeholder p {
    font-size: 14px;
    color: #666;
    max-width: 300px;
    line-height: 1.5;
}

.laptop-bottom {
    background: #1a1a1a;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    color: #aaa;
    font-size: 14px;
    font-family: 'Mini', sans-serif;
    letter-spacing: 2px;
}

/* Mobile view */
@media (max-width: 768px) {
    #screen2 {
        background-image: url('Images/Back3.png');
        background-size: cover;
        background-position: center;
    }

    .items-container {
        width: 400px;
        height: 700px;
        transform: translate(-50%, -50%) scale(var(--scale, 1));
    }

    .bag {
        top: 5px;
        left: 20px;
        right: auto;
        bottom: auto;
        width: 220px;
    }

    .journal {
        top: 230px;
        bottom: auto;
        left: 24px;
        right: auto;
        transform: none;
        width: 220px;
    }

    .keys {
        top: auto;
        bottom: 50px;
        left: 220px;
        right: auto;
        transform: none;
        width: 115px;
    }

    .blog {
        top: 302px;
        bottom: auto;
        left: auto;
        right: 8px;
        width: 170px;
    }

    .contacts {
        top: 450px;
        bottom: auto;
        left: 32px;
        right: auto;
        width: 150px;
    }

    .resume {
        top: 310px;
        bottom: auto;
        left: auto;
        right: 40px;
        width: 140px;
    }

    .apps {
        top: 85px;
        bottom: auto;
        left: auto;
        right: 8px;
        transform: none;
        width: 150px;
    }

    /* Screen 1 mobile styles */
    .screen1-container {
        width: 400px;
        height: 700px;
    }

    #screen1 .content {
        padding-top: 80px;
    }

    .time-display {
        font-size: 80px;
    }

    .enter-text {
        font-size: 28px;
    }

    .girl-image {
        width: 250vw;
        max-width: none;
        max-height: none;
        left: 100%;
    }

    /* App window mobile styles */
    .app-window {
        width: 95% !important;
        height: 85% !important;
        max-width: 95% !important;
        max-height: 85% !important;
        left: 2.5% !important;
        top: 5% !important;
    }

    .window-content {
        overflow-y: auto;
    }

    .markdown-content {
        padding: 15px !important;
    }

    .gh-img {
        max-width: 100% !important;
    }

    /* Desktop garden mobile - match contact garden */
    .garden-content {
        overflow-y: auto !important;
    }

    .desktop-garden-container {
        flex-direction: column !important;
        gap: 35px !important;
        padding: 15px;
        min-height: min-content;
    }

    .desktop-garden-left {
        order: 2;
        margin-top: 0 !important;
    }

    .desktop-garden-right {
        order: 1;
        margin-bottom: 0 !important;
    }

    .desktop-garden-display {
        width: 220px !important;
    }

    .desktop-flower-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .desktop-drawing-area {
        gap: 10px;
    }

    .desktop-color-palette {
        flex-direction: column;
        gap: 6px;
    }

    .desktop-color-btn {
        width: 26px !important;
        height: 26px !important;
    }

    .desktop-flower-canvas {
        width: 160px !important;
        height: 160px !important;
    }

    .desktop-plant-btn {
        margin-top: 5px !important;
        margin-bottom: 0 !important;
        padding: 6px 20px;
        font-size: 12px;
    }

    .desktop-planted-flower {
        width: 55px !important;
        height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
    }

    /* Blog mobile styles */
    .blog-post-tag {
        font-size: 0 !important;
    }

    .blog-post-tag::after {
        font-size: 11px !important;
    }

    .blog-post-tag.portfolio::after {
        content: 'P';
    }

    .blog-post-tag.life::after {
        content: 'L';
    }
}

/* Desktop Garden Styles */
.desktop-garden-container {
    display: flex;
    gap: 80px;
    padding: 20px;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.desktop-garden-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.desktop-garden-display {
    position: relative;
    width: 350px;
    animation: bounce 2s ease-in-out infinite;
}

.desktop-garden-bg {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.desktop-flowers-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.desktop-planted-flower {
    position: absolute;
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.desktop-garden-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desktop-flower-title {
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    color: #682428;
    margin-bottom: 10px;
}

.desktop-drawing-area {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.desktop-color-palette {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.desktop-color-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.desktop-color-btn:nth-child(1) { background: #2E7D32; }
.desktop-color-btn:nth-child(2) { background: #F8BBD9; }
.desktop-color-btn:nth-child(3) { background: #E57373; }
.desktop-color-btn:nth-child(4) { background: #FFEB3B; }
.desktop-color-btn:nth-child(5) { background: #64B5F6; }

.desktop-color-btn.active {
    border-color: #682428;
    transform: scale(1.1);
}

.desktop-color-btn:hover {
    transform: scale(1.1);
}

.desktop-canvas-wrapper {
    position: relative;
}

.desktop-flower-canvas {
    width: 200px;
    height: 200px;
    background: #fff;
    border: 2px dashed #682428;
    border-radius: 8px;
    cursor: crosshair;
}

.desktop-reset-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #682428;
}

.desktop-plant-btn {
    margin-top: 12px;
    padding: 8px 24px;
    background: #f5f5f5;
    border: 2px solid #682428;
    border-radius: 18px;
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    color: #682428;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.desktop-plant-btn:hover {
    transform: scale(1.05);
    background: #e8e8e8;
}

.garden-content {
    background: #ffffff;
    height: 100%;
}

/* ========== Blog Styles ========== */
.blog-content {
    background: #F3DEE8;
    height: 100%;
    overflow-y: auto;
}

.blog-container {
    padding: 20px 30px;
    min-height: 100%;
}

.blog-header {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.blog-filters {
    display: flex;
    gap: 10px;
}

.blog-filter-btn {
    padding: 10px 20px;
    border: 2px solid #3F3F4F;
    border-radius: 25px;
    background: #fff;
    font-family: 'Mini', sans-serif;
    font-size: 12px;
    color: #3F3F4F;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-filter-btn:hover {
    background: #f0f0f0;
}

.blog-filter-btn.active {
    background: #3F3F4F;
    color: #fff;
}

.blog-title {
    text-align: center;
    font-family: 'Mini', sans-serif;
    font-size: 28px;
    color: #682428;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-post {
    background: #fff;
    border-radius: 20px;
    padding: 20px 25px;
    position: relative;
    overflow: visible;
}

.blog-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
}

.blog-post-avatar {
    width: 50px !important;
    height: auto !important;
    max-width: 50px !important;
    min-width: 50px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.blog-post-username {
    font-family: 'Mini', sans-serif;
    font-size: 18px;
    color: #3F3F4F;
}

.blog-post-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Mini', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.blog-post-tag.portfolio {
    background: #FFE4EC;
    color: #8B4B6B;
}

.blog-post-tag.life {
    background: #E4F0FF;
    color: #4B6B8B;
}

.blog-post-text {
    font-family: 'Mini', sans-serif;
    font-size: 15px;
    color: #3F3F4F;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-post-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.blog-post-images.double {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px;
    justify-content: start;
}

.blog-post-images img {
    border-radius: 12px;
    object-fit: cover;
    height: auto;
    max-width: 100%;
}

.blog-post-date {
    text-align: right;
    font-family: 'Mini', sans-serif;
    font-size: 13px;
    color: #999;
}

.blog-empty {
    text-align: center;
    padding: 50px 20px;
    font-family: 'Mini', sans-serif;
    font-size: 16px;
    color: #999;
}

/* ========== Blog Admin Panel ========== */
.blog-admin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.blog-admin-overlay.active {
    display: flex;
}

.blog-admin-panel {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.blog-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.blog-admin-title {
    font-family: 'Mini', sans-serif;
    font-size: 22px;
    color: #3F3F4F;
}

.blog-admin-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.blog-admin-close:hover {
    color: #3F3F4F;
}

.blog-admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-admin-label {
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    color: #3F3F4F;
}

.blog-admin-select,
.blog-admin-textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s;
}

.blog-admin-select:focus,
.blog-admin-textarea:focus {
    outline: none;
    border-color: #F3DEE8;
}

.blog-admin-textarea {
    min-height: 120px;
    resize: vertical;
}

.blog-admin-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.blog-admin-image-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.blog-admin-image-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-admin-image-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-admin-image-size {
    font-family: 'Mini', sans-serif;
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100px;
    text-align: center;
    -moz-appearance: textfield;
}

.blog-admin-image-size::-webkit-outer-spin-button,
.blog-admin-image-size::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.blog-admin-add-image {
    padding: 10px 20px;
    background: #F3DEE8;
    border: 2px dashed #d4a5b9;
    border-radius: 12px;
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    color: #8B4B6B;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-admin-add-image:hover {
    background: #f9e8ef;
}

.blog-admin-submit {
    padding: 15px 30px;
    background: #3F3F4F;
    border: none;
    border-radius: 25px;
    font-family: 'Mini', sans-serif;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.blog-admin-submit:hover {
    background: #5a5a6e;
    transform: scale(1.02);
}

/* Admin Tabs */
.blog-admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.blog-admin-tab {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-family: 'Mini', sans-serif;
    font-size: 13px;
    color: #3F3F4F;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-admin-tab:hover {
    background: #f5f5f5;
}

.blog-admin-tab.active {
    background: #3F3F4F;
    color: #fff;
    border-color: #3F3F4F;
}

/* Manage Posts */
.blog-admin-manage {
    max-height: 400px;
    overflow-y: auto;
}

.blog-admin-posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-admin-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 12px;
    gap: 15px;
}

.blog-admin-post-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.blog-admin-post-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Mini', sans-serif;
    font-size: 10px;
    font-weight: 500;
    flex-shrink: 0;
}

.blog-admin-post-tag.portfolio {
    background: #FFE4EC;
    color: #8B4B6B;
}

.blog-admin-post-tag.life {
    background: #E4F0FF;
    color: #4B6B8B;
}

.blog-admin-post-preview {
    font-family: 'Mini', sans-serif;
    font-size: 13px;
    color: #3F3F4F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.blog-admin-post-date {
    font-family: 'Mini', sans-serif;
    font-size: 11px;
    color: #999;
    flex-shrink: 0;
}

.blog-admin-post-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.blog-admin-edit-btn {
    padding: 8px 16px;
    background: #6b9eff;
    border: none;
    border-radius: 8px;
    font-family: 'Mini', sans-serif;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-admin-edit-btn:hover {
    background: #5288e8;
    transform: scale(1.05);
}

.blog-admin-delete-btn {
    padding: 8px 16px;
    background: #ff6b6b;
    border: none;
    border-radius: 8px;
    font-family: 'Mini', sans-serif;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-admin-delete-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.blog-admin-empty {
    text-align: center;
    padding: 30px;
    font-family: 'Mini', sans-serif;
    font-size: 14px;
    color: #999;
}
