:root {
    --bg-color: #3D8BFF;
    --card-bg: #F0F8FF;
    --text-color: #000000;
    --border-width: 2.5px;
    --shadow-offset: 4px;
    --accent-blue: #3D8BFF;
    --accent-blue-dark: #2A6FD6;
    --accent-red: #FF5A5F;
    --accent-green: #25D366;
    --accent-purple: #8A2BE2;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--card-bg);
    background-image: radial-gradient(#3D8BFF 5%, transparent 6%);
    background-size: 30px 30px;
    min-height: 100vh;
    display: block;
    overflow-x: hidden;
}

/* --- LANDING PAGE STYLES --- */
.landing-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2A6FD6 100%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.landing-bg-pattern i {
    position: absolute;
    font-size: 40px;
    opacity: 0.2;
    animation: floatMusic 5s infinite ease-in-out;
    color: white;
}
.note-1 { top: 10%; left: 10%; animation-delay: 0s; font-size: 60px; }
.note-2 { top: 20%; right: 15%; animation-delay: 1s; transform: rotate(15deg); }
.note-3 { bottom: 15%; left: 20%; animation-delay: 2s; }
.note-4 { bottom: 30%; right: 10%; animation-delay: 0.5s; font-size: 80px; }
.note-5 { top: 50%; left: 5%; animation-delay: 3s; }
.note-6 { top: 5%; right: 40%; animation-delay: 1.5s; }

@keyframes floatMusic {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.landing-content {
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 500px;
}

.landing-title {
    font-family: 'Space Mono', monospace;
    font-size: 60px;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 20px;
    text-shadow: 5px 5px 0 white;
    transform: rotate(-3deg);
    color: black;
}

.landing-card {
    background: white;
    border: var(--border-width) solid black;
    padding: 30px;
    box-shadow: 8px 8px 0 black;
    border-radius: 20px;
    margin-bottom: 40px;
}

.start-btn {
    margin-top: 20px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent-blue);
    border: var(--border-width) solid black;
}

.btn-blue {
    background: var(--accent-blue);
    border: var(--border-width) solid black;
    color: white;
    font-weight: bold;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 4px 4px 0 black;
    transition: transform 0.1s;
    width: 100%;
}

.btn-blue:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
}

.btn-gray {
    background: var(--gray-medium);
    border: var(--border-width) solid black;
    color: black;
    font-weight: bold;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 4px 4px 0 black;
    transition: transform 0.1s;
    width: 100%;
}

.marquee-container {
    position: absolute;
    bottom: 50px;
    width: 100%;
    background: black;
    color: white;
    padding: 10px 0;
    transform: rotate(2deg) scale(1.1);
    white-space: nowrap;
    overflow: hidden;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

.marquee-text {
    font-family: 'Space Mono';
    font-weight: bold;
    animation: scrollText 10s linear infinite;
    display: inline-block;
}

@keyframes scrollText {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* --- MAIN APP STYLES --- */
.app-container {
    width: 100%;
    min-height: 100vh;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 15px 24px;
    background: var(--accent-blue);
    border-bottom: var(--border-width) solid black;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 38px;
    height: 38px;
    border: var(--border-width) solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.user-info h3 {
    font-size: 14px;
    font-weight: 800;
    color: white;
}

.user-info p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.menu-btn {
    background: white;
    border: 2px solid black;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 2px 2px 0 black;
    width: 35px;
    height: 35px;
    transition: 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- VIEWS --- */
.view-section {
    flex: 1;
}

.content-area {
    padding: 20px 20px 100px 20px;
}

.content-limit {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Friends View */
.friends-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border: 2px solid black;
    border-radius: 16px;
    box-shadow: 4px 4px 0 black;
}

.friends-header h2 {
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.friends-header p {
    font-family: 'Space Mono';
    font-size: 12px;
    color: #666;
}

.comments-container {
    margin-top: 20px;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Comment Items */
.comment-item {
    background: white;
    border: var(--border-width) solid black;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 4px 4px 0 #000;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.comment-avatar {
    width: 40px;
    height: 40px;
    border: 2px solid black;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.comment-user-info h4 {
    font-size: 16px;
    font-weight: 800;
}

.comment-user-info .comment-time {
    font-family: 'Space Mono';
    font-size: 11px;
    color: #666;
}

.comment-content {
    padding: 10px 0;
    line-height: 1.5;
    font-size: 15px;
}

.comment-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-medium);
}

.comment-action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 5px;
    transition: 0.2s;
}

.comment-action-btn:hover {
    background: var(--gray-light);
}

.comment-action-btn.liked {
    color: var(--accent-red);
}

/* Comment View */
.comment-form-card {
    background: white;
    border: 2px solid black;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 4px 4px 0 black;
    margin-bottom: 20px;
}

.comment-form-card h2 {
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.name-input-section,
.comment-input-section {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.name-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.name-input-wrapper input {
    flex: 1;
    padding: 12px;
    border: 2px solid black;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
}

.icon-btn-small {
    background: var(--accent-blue);
    border: 2px solid black;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.1s;
}

.icon-btn-small:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 black;
}

.name-char-count,
.comment-char-count {
    text-align: right;
    font-family: 'Space Mono';
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid black;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    resize: vertical;
    min-height: 100px;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Emoji Picker */
.emoji-picker {
    background: white;
    border: 2px solid black;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 3px 3px 0 black;
}

.emoji-category span {
    font-family: 'Space Mono';
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.emoji-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.emoji-list span {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.emoji-list span:hover {
    transform: scale(1.2);
}

/* Recent Comments Preview */
.recent-comments-preview {
    background: white;
    border: 2px solid black;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 4px 4px 0 black;
}

.recent-comments-preview h3 {
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: white;
    border: var(--border-width) solid black;
    border-radius: 50px;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 6px 6px 0 black;
    z-index: 900;
    padding: 0 10px;
}

.nav-item {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: 0.5;
    cursor: pointer;
    padding: 10px;
    transition: 0.2s;
    height: 100%;
    justify-content: center;
}

.nav-item.active {
    opacity: 1;
    background: var(--accent-blue);
    color: black;
    padding: 0 20px;
    height: 45px;
    border-radius: 30px;
    border: 2px solid black;
    transform: rotate(-2deg);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid black;
    box-shadow: 4px 4px 0 black;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translate(-50%, 20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* SIDEBAR (same as before but with blue theme) */
.sidebar-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: flex-end;
}

.sidebar-content {
    width: 80%;
    max-width: 350px;
    background: var(--card-bg);
    height: 100%;
    border-left: var(--border-width) solid black;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 0 rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid black;
}

.sidebar-header h3 {
    font-weight: 800;
    font-size: 24px;
}

.close-sidebar {
    background: var(--accent-red);
    border: 2px solid black;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h4 {
    font-family: 'Space Mono';
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
}

.credit-box {
    background: white;
    border: 2px solid black;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 4px 4px 0 black;
}

.credit-box h3 {
    font-size: 18px;
    margin: 5px 0 10px 0;
    background: var(--accent-blue);
    color: white;
    display: inline-block;
    padding: 5px 10px;
}

.dev-link {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: white;
    background: #25D366;
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    border: 2px solid black;
    font-weight: bold;
    font-size: 12px;
}

.rec-list {
    list-style: none;
}

.rec-list li {
    margin-bottom: 10px;
}

.rec-list a {
    display: block;
    padding: 12px;
    background: white;
    border: 2px solid black;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rec-list a:hover {
    background: var(--accent-blue);
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 black;
}

.sidebar-footer {
    margin-top: auto;
    text-align: center;
    font-family: 'Space Mono';
    font-size: 12px;
    opacity: 0.6;
}

.hidden {
    display: none !important;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    font-family: 'Space Mono';
    font-weight: bold;
}

/* Responsive */
@media (max-width: 480px) {
    .landing-title {
        font-size: 50px;
    }
    
    .bottom-nav {
        bottom: 20px;
        height: 60px;
    }
    
    .nav-item {
        font-size: 12px;
    }
    
    .comment-item {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .desktop-bg-animation {
        display: none;
    }
}

/* ===== DESKTOP STYLES (Min-width 768px) ===== */
@media (min-width: 768px) {
    /* Reset untuk desktop - SESUAI GAMBAR */
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
        background-color: #1A1F3F;
        background-image: none;
        position: relative;
        overflow-x: hidden;
    }

    /* ANIMASI BACKGROUND KANAN KIRI */
    .desktop-bg-animation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }

    .bg-music-note {
        position: absolute;
        color: rgba(255, 255, 255, 0.15);
        font-size: 60px;
        animation: floatNote 15s infinite ease-in-out;
    }

    .bg-music-note.left {
        left: 5%;
    }

    .bg-music-note.right {
        right: 5%;
    }

    .bg-music-note.top {
        top: 20%;
    }

    .bg-music-note.middle {
        top: 50%;
        transform: translateY(-50%);
    }

    .bg-music-note.bottom {
        bottom: 20%;
    }

    .note-1 { animation-delay: 0s; left: 3%; }
    .note-2 { animation-delay: 2s; left: 8%; }
    .note-3 { animation-delay: 4s; left: 12%; font-size: 80px; }
    .note-4 { animation-delay: 1s; right: 3%; }
    .note-5 { animation-delay: 3s; right: 8%; }
    .note-6 { animation-delay: 5s; right: 12%; font-size: 70px; }
    .note-7 { animation-delay: 2.5s; left: 15%; font-size: 50px; }
    .note-8 { animation-delay: 4.5s; right: 15%; font-size: 90px; }
    .note-9 { animation-delay: 1.5s; left: 20%; }
    .note-10 { animation-delay: 3.5s; right: 20%; }

    @keyframes floatNote {
        0%, 100% {
            transform: translateY(0) rotate(0deg) scale(1);
            opacity: 0.15;
        }
        25% {
            transform: translateY(-40px) rotate(15deg) scale(1.1);
            opacity: 0.25;
        }
        50% {
            transform: translateY(20px) rotate(-10deg) scale(0.9);
            opacity: 0.2;
        }
        75% {
            transform: translateY(-20px) rotate(5deg) scale(1.05);
            opacity: 0.25;
        }
    }

    /* App Container - Membuat kartu utama di tengah desktop */
    .app-container {
        width: 100%;
        max-width: 450px;
        min-height: 90vh;
        max-height: 900px;
        border: var(--border-width) solid black;
        border-radius: 30px;
        box-shadow: 
            15px 15px 0 rgba(0, 0, 0, 0.25),
            0 0 30px rgba(26, 31, 63, 0.5);
        position: relative;
        overflow-y: auto;
        overflow-x: hidden;
        background: var(--card-bg);
        z-index: 10;
    }

    /* FIX: HEADER STICKY DI DESKTOP */
    .app-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--accent-blue);
        border-bottom: var(--border-width) solid black;
        border-radius: 30px 30px 0 0;
        width: 100%;
    }

    /* Content area di desktop - HAPUS MAX-HEIGHT */
    .content-area {
        padding: 20px 25px 90px 25px;
        overflow-y: visible;
    }

    /* Comments container - HAPUS MAX-HEIGHT, GUNAKAN AUTO */
    .comments-container {
        overflow-y: visible;
        padding-right: 0;
        max-height: none;
    }

    /* Landing page di desktop */
    .landing-container {
        position: relative;
        height: 90vh;
        max-height: 900px;
        width: 100%;
        max-width: 450px;
        border: var(--border-width) solid black;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 
            15px 15px 0 rgba(0, 0, 0, 0.25),
            0 0 30px rgba(26, 31, 63, 0.5);
        margin: 0 auto;
        background: linear-gradient(135deg, var(--accent-blue) 0%, #2A6FD6 100%);
        z-index: 10;
    }

    /* Sidebar overlay */
    .sidebar-overlay {
        justify-content: flex-end;
        padding-right: calc(50vw - 225px);
        z-index: 1000;
    }
    
    .sidebar-content {
        max-width: 400px;
        border-radius: 20px 0 0 20px;
        box-shadow: -10px 0 0 rgba(0,0,0,0.1);
        background: var(--card-bg);
        overflow-y: auto;
    }

    /* Bottom nav di desktop */
    .bottom-nav {
        bottom: 20px;
        max-width: 380px;
        height: 65px;
        box-shadow: 8px 8px 0 black;
        z-index: 200;
    }

    /* Result item - lebih besar di desktop */
    .comment-item {
        padding: 20px;
        border-radius: 20px;
        transition: all 0.2s ease;
        margin-bottom: 15px;
    }

    /* ANIMASI LOADING KOMEN */
    @keyframes commentPop {
        0% {
            opacity: 0;
            transform: scale(0.9) translateY(20px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .comment-item {
        animation: commentPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
}

/* ===== LAYAR LEBIH BESAR (Min-width 1024px) ===== */
@media (min-width: 1024px) {
    body {
        background-color: #0F1327;
    }
    
    .app-container {
        max-width: 480px;
        max-height: 920px;
        box-shadow: 
            20px 20px 0 rgba(0, 0, 0, 0.25),
            0 0 40px rgba(26, 31, 63, 0.6);
    }
    
    .landing-container {
        max-width: 480px;
        max-height: 920px;
        box-shadow: 
            20px 20px 0 rgba(0, 0, 0, 0.25),
            0 0 40px rgba(26, 31, 63, 0.6);
    }

    /* ANIMASI TAMBAHAN UNTUK NOTE */
    .bg-music-note {
        font-size: 80px;
    }

    .note-3 { font-size: 100px; }
    .note-6 { font-size: 90px; }
    .note-8 { font-size: 110px; }
    .note-10 { font-size: 70px; }
}

/* ===== LAYAR SANGAT BESAR (Min-width 1200px) ===== */
@media (min-width: 1200px) {
    body {
        background-color: #0A0E1F;
    }
    
    .app-container {
        max-width: 500px;
        border-radius: 35px;
        box-shadow: 
            25px 25px 0 rgba(0, 0, 0, 0.3),
            0 0 50px rgba(26, 31, 63, 0.7);
    }
    
    .landing-container {
        max-width: 500px;
        border-radius: 35px;
        box-shadow: 
            25px 25px 0 rgba(0, 0, 0, 0.3),
            0 0 50px rgba(26, 31, 63, 0.7);
    }

    /* ANIMASI ROTASI UNTUK NOTE */
    @keyframes floatNoteLarge {
        0%, 100% {
            transform: translateY(0) rotate(0deg) scale(1);
            opacity: 0.15;
        }
        33% {
            transform: translateY(-50px) rotate(25deg) scale(1.2);
            opacity: 0.3;
        }
        66% {
            transform: translateY(30px) rotate(-20deg) scale(0.85);
            opacity: 0.2;
        }
    }

    .bg-music-note {
        animation: floatNoteLarge 18s infinite ease-in-out;
    }
}

/* ===== ENHANCEMENTS UNTUK DESKTOP ===== */
@media (min-width: 768px) {
    /* Toast notification position untuk desktop */
    .toast {
        bottom: 140px;
        padding: 15px 25px;
        font-size: 15px;
        box-shadow: 6px 6px 0 black;
        z-index: 300;
    }
    
    /* Form actions layout untuk desktop */
    .form-actions {
        gap: 15px;
    }
    
    /* Recent comments preview grid untuk desktop */
    .recent-comments-preview #recentPreview {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    /* Improved emoji picker untuk desktop */
    .emoji-picker {
        padding: 20px;
        box-shadow: 4px 4px 0 black;
        background: white;
    }
    
    .emoji-list {
        gap: 15px;
    }
    
    .emoji-list span {
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
        border-radius: 8px;
        transition: all 0.2s;
    }
    
    .emoji-list span:hover {
        background: var(--accent-blue);
        transform: scale(1.3);
    }
    
    /* Comment actions styling untuk desktop */
    .comment-actions {
        gap: 15px;
        padding-top: 15px;
        margin-top: 15px;
    }
    
    .comment-action-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    /* Loading state untuk desktop */
    .loading {
        padding: 60px;
        font-size: 18px;
    }
    
    /* Empty state untuk desktop */
    .empty-state {
        padding: 80px 30px;
    }
    
    .empty-state i {
        font-size: 80px;
        margin-bottom: 20px;
    }
    
    .empty-state h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .empty-state p {
        font-size: 14px;
    }

    /* HOVER EFFECT UNTUK COMMENT ITEM */
    .comment-item:hover {
        transform: translate(-4px, -4px);
        box-shadow: 8px 8px 0 black;
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
}

/* ===== FIXES UNTUK DESKTOP ===== */
@media (min-width: 768px) {
    /* Pastikan content tidak overflow */
    .content-limit {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Adjust font sizes untuk readability yang lebih baik */
    body {
        font-size: 16px;
    }
    
    /* Touch device optimization - disable hover pada touch devices */
    @media (hover: none) {
        .comment-item:hover,
        .btn-blue:hover,
        .btn-gray:hover,
        .nav-item:hover {
            transform: none;
        }
    }

    /* STICKY HEADER FIX - PASTIN TETAP DI ATAS */
    .app-header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }

    /* CONTENT AREA SCROLLING */
    .app-container {
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-blue) #f1f1f1;
    }

    /* Custom scrollbar */
    .app-container::-webkit-scrollbar {
        width: 8px;
    }

    .app-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
        border: 2px solid black;
    }

    .app-container::-webkit-scrollbar-thumb {
        background: var(--accent-blue);
        border-radius: 10px;
        border: 2px solid black;
    }

    .app-container::-webkit-scrollbar-thumb:hover {
        background: var(--accent-blue-dark);
    }
}

/* ===== DARK MODE SUPPORT - SESUAI DENGAN GAMBAR ===== */
@media (prefers-color-scheme: dark) and (min-width: 768px) {
    body {
        background-color: #1A1F3F;
        background-image: none;
    }
    
    .desktop-bg-animation .bg-music-note {
        color: rgba(255, 255, 255, 0.2);
    }
    
    .app-container {
        background: #F0F8FF;
        color: #000000;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .landing-container,
    .sidebar-overlay,
    .bottom-nav,
    .menu-btn,
    .toast,
    .desktop-bg-animation {
        display: none !important;
    }
    
    body {
        background-color: white !important;
    }
    
    .app-container {
        max-width: 100%;
        max-height: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow-y: visible;
    }
    
    .comment-item {
        break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
        margin-bottom: 20px;
    }
}

/* --- MOBILE HEADER MENU BUTTON --- */
.menu-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid black;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 2px 2px 0 black;
    width: 40px;
    height: 40px;
    transition: 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.menu-btn:active {
    transform: translateY(-50%) translate(2px, 2px);
    box-shadow: 1px 1px 0 black;
}

/* Adjust header untuk mobile */
.app-header {
    padding: 15px 20px;
    background: var(--accent-blue);
    border-bottom: var(--border-width) solid black;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    position: relative; /* Tambahkan ini */
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* --- MEDIA QUERY UNTUK DESKTOP --- */
@media (min-width: 768px) {
    
    /* Tampilkan menu-btn versi desktop */
    .menu-btn {
        display: flex;
        background: white;
        border: 2px solid black;
        font-size: 20px;
        cursor: pointer;
        padding: 5px;
        border-radius: 8px;
        box-shadow: 2px 2px 0 black;
        width: 35px;
        height: 35px;
        transition: 0.1s;
        align-items: center;
        justify-content: center;
    }
    
    /* Reset profile-card alignment untuk desktop */
    .profile-card {
        justify-content: flex-start;
    }
    
    /* Tampilkan header-actions di desktop */
    .header-actions {
        display: flex;
        margin-left: auto;
    }
}