/* ============================================================
   MOHDK HUB — DESIGN SYSTEM v3.0
   ============================================================ */

/* --- VARIABLES & RESET --- */
:root {
    --bg-color: #030303;
    --bg-surface: rgba(255, 255, 255, 0.02);
    --text-color: #f1f1f1;
    --text-muted: #777777;
    --accent-color: #555555;
    --text-accent: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-radius: 20px;
    --glass-blur: 24px;
    --grid-gap: 20px;
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--text-accent));
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

body {
    margin: 0;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- BACKGROUND LAYERS --- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Mesh gradient background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 10% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 90% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* --- LOADING SCREEN --- */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #060611;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
    margin-bottom: 24px;
}

.loader::before {
    content: '';
    position: absolute;
    inset: -3px;
    border: 3px solid transparent;
    border-top-color: var(--accent-color);
    border-right-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

#loading-screen p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* --- TOP BAR --- */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    background: rgba(5, 5, 15, 0.75);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-accent);
    opacity: 0.35;
}

#site-title {
    color: var(--text-color);
    margin: 0;
    font-size: 1.4rem;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition-smooth);
    letter-spacing: -0.5px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#site-title:hover {
    filter: brightness(1.3);
}

.topbar-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.topbtn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.topbtn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* --- MAIN LAYOUT --- */
.main-area {
    display: flex;
    padding: 30px;
    gap: 30px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.dashboard {
    flex: 3;
}

/* --- SEARCH BAR --- */
#search-bar {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

#search-bar::placeholder {
    color: var(--text-muted);
}

#search-bar:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.05);
}

/* --- GRID & CARDS --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--grid-gap);
    margin-top: 20px;
}

.game-card {
    position: relative;
    background: rgba(255,255,255,0.025);
    border-radius: var(--card-radius);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 28px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 155px;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

.game-card:hover::after {
    left: 140%;
}

.icon {
    font-size: 40px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.game-card:hover .icon {
    transform: scale(1.18) translateY(-3px);
}

.game-card p {
    margin: 0;
    font-weight: 600;
    font-size: 0.85rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

/* --- ENTRANCE ANIMATION --- */
.card-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SIDEBAR — WHAT'S NEW / LIVE STATUS --- */
.sidebar {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.whats-new,
.live-status {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(var(--glass-blur));
    padding: 24px;
    border-radius: var(--card-radius);
    transition: border-color 0.3s;
}

.whats-new:hover,
.live-status:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.whats-new h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s;
}

.news-list li:hover {
    color: var(--text-color);
}

.news-list li:last-child {
    border-bottom: none;
}

.last-updated {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.live-status h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-status div {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.live-status span {
    color: var(--accent-secondary);
    font-weight: 500;
}

/* Pulsing online indicator */
#live-conn {
    position: relative;
    padding-left: 14px;
}

#live-conn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px #ffffff;
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 2px #ffffff;
    }
}

/* --- RECENTLY PLAYED CUBES --- */
#recently-played h2 {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.recent-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.recent-card {
    width: 72px;
    height: 72px;
    background: var(--card-bg);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.recent-card:hover {
    transform: scale(1.15);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

/* --- SETTINGS SIDEBAR (Glassmorphic) --- */
.sidebar-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 400px;
    height: 100vh;
    background: rgba(6, 6, 18, 0.92);
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 3000;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 28px 28px 40px;
    box-sizing: border-box;
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-drawer.open { right: 0; }

#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 2999;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-icon {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-icon:hover {
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.25);
    color: #ff6b6b;
}

.settings-content { flex: 1; }

.settings-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.settings-section:last-child { border-bottom: none; }

.settings-section h3 {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}

.theme-preset-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.preset-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: var(--preset-acc);
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    position: relative;
}

.preset-btn:hover {
    transform: scale(1.2) translateY(-2px);
    box-shadow: 0 6px 18px var(--preset-acc);
    border-color: rgba(255,255,255,0.5);
}

.picker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.025);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s;
}

.picker-row:hover { border-color: rgba(255, 255, 255, 0.09); }
.picker-row label { font-size: 0.88rem; color: #ccc; }

input[type="color"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    background: none;
    cursor: pointer;
    border-radius: 10px;
    padding: 0;
    transition: border-color 0.3s;
}

input[type="color"]:hover { border-color: var(--accent-color); }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 6px; }

input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    border-radius: 11px;
    outline: none;
    transition: var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
}

input[type="text"]:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
    border-radius: 10px;
    user-select: none;
}

.toggle-row:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
}

/* Custom toggle switch */
.toggle-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 38px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.toggle-row input[type="checkbox"]::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.25s ease;
}

.toggle-row input[type="checkbox"]:checked {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.toggle-row input[type="checkbox"]:checked::after { left: 20px; }

.sidebar-drawer .topbtn {
    width: 100%;
    margin: 4px 0;
    padding: 12px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

#reset-settings {
    background: rgba(255, 77, 77, 0.07);
    color: #ff6b6b;
    border: 1px solid rgba(255, 77, 77, 0.12);
}

#reset-settings:hover {
    background: rgba(255, 77, 77, 0.18);
    border-color: rgba(255, 77, 77, 0.35);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.12);
}

/* --- ANIMATIONS --- */
@keyframes scale-up-center-normal {
    0% {
        transform: scale(0.5);
        text-shadow: 0 0 0px var(--accent-color);
    }

    50% {
        text-shadow: 0 0 40px var(--accent-color);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 20px var(--accent-color);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-once {
    animation: scale-up-center-normal 0.8s ease-in-out forwards;
}

.toast-notif {
    pointer-events: none;
}

/* --- FOOTER --- */
.site-footer {
    text-align: center;
    padding: 24px;
    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(var(--glass-blur));
    color: var(--text-muted);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    letter-spacing: 0.5px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-accent);
    opacity: 0.4;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .main-area {
        flex-direction: column;
        padding: 20px;
    }

    .sidebar {
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .sidebar-drawer {
        width: 100%;
        right: -100%;
    }

    .topbar {
        padding: 12px 16px;
    }

    .topbtn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .game-card {
        height: 140px;
        padding: 20px 16px;
    }
}

/* --- COMPACT MODE --- */
body.compact-mode .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
body.compact-mode .game-card {
    height: 120px;
    padding: 16px 12px;
}
body.compact-mode .icon {
    font-size: 32px;
    margin-bottom: 8px;
}
body.compact-mode .game-card p {
    font-size: 0.8rem;
}
body.compact-mode .main-area {
    padding: 15px;
    gap: 15px;
}

/* --- NO ANIMATIONS MODE --- */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
    animation: none !important;
    transition: none !important;
}

/* --- COMMAND PALETTE --- */
#cmd-palette-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0.2s;
}

#cmd-palette-overlay.cmd-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cmd-palette {
    width: 600px;
    max-width: 90%;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#cmd-palette-overlay.cmd-hidden .cmd-palette {
    transform: translateY(-20px) scale(0.98);
}

#cmd-input {
    width: 100%;
    padding: 20px 24px;
    font-size: 1.1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.cmd-results {
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
}

.cmd-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: var(--text-color);
}

.cmd-item span {
    margin-right: 12px;
    font-size: 1.2rem;
}

.cmd-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --- DECOY CALCULATOR --- */
#decoy-calculator {
    position: fixed;
    inset: 0;
    background: #e8e8e0;
    z-index: 9999999;
    justify-content: center;
    align-items: center;
}

/* --- WIDGETS & DRAGGING --- */
.widgets-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.clock-widget {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.todo-widget {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    max-height: 200px;
}

#todo-input {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 10px;
    width: 100%;
}

#todo-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
}

#todo-list li {
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

#todo-list li.done {
    text-decoration: line-through;
    opacity: 0.5;
}

.game-card.dragging {
    opacity: 0.4;
    transform: scale(0.95);
}

.game-card.drag-over {
    border: 2px dashed var(--accent-color);
}

/* --- V2.1 ENHANCEMENTS --- */
.widget-col {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#dynamic-greeting {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 5px;
    letter-spacing: -0.5px;
}

@media (max-width: 600px) {
    .widget-col {
        gap: 10px;
    }
}

/* --- TOAST --- */
.toast-notif {
    pointer-events: none;
    font-family: 'Poppins', sans-serif !important;
}

/* --- GREETING SECTION --- */
.greeting-bar {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.greeting-bar .greeting-text {
    font-size: 1rem;
    color: var(--text-muted);
}

.greeting-bar .greeting-text strong {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.greeting-bar .cmd-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* --- SECTION LABELS --- */
.section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin: 24px 0 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.05);
}