@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .welcome-header h1 {
        font-size: 1.6rem;
    }

    .mod-grid {
        gap: 0.6rem;
    }

    .mod-card {
        padding: 0.7rem 1.2rem;
    }

    .dynamic-header {
        width: calc(100% - 2rem);
        left: 50%;
        transform: translateX(-50%);
    }

    .glass-dropdown {
        left: 8px;
        right: 8px;
        width: auto;
        max-width: calc(100% - 16px);
        padding-right: 1rem;
    }

    .notification-dropdown,
    .profile-dropdown {
        right: 8px;
        left: 8px;
        width: auto;
        max-width: calc(100% - 16px);
    }

    #notificationList {
        max-height: 28vh;
    }
}

.notification-dropdown {
    max-height: 420px;
    overflow-y: auto;
}

.notification-dropdown::-webkit-scrollbar {
    width: 14px;
    background: transparent;
}

.notification-dropdown::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
}

.notification-dropdown::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
    border: 4px solid transparent;
    background-clip: padding-box;
}

.notification-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a67aff;
    border: 4px solid transparent;
    background-clip: padding-box;
}

.notification-dropdown::-webkit-scrollbar-button {
    display: none;
}